Probleme bei Installation von Suhosin auf Etch-System

daff

New Member
Hallo zusammen,

ich hab hier nen Debian Etch Server, der nach dem Perfect-Setup-Tutorial eingerichtet wurde und ISPConfig drauf hat. Nun wollte ich das Tutorial "Wie sichert man PHP5 mit Suhosin unter Debian Etch und Ubuntu" anwenden, was auch bis auf den letzten Schritt geklappt hat. Nun kommt aber die Meldung:

Code:
kich03:/usr/src# dpkg -i libapache2-mod-php5_5.2.0-8+etch1_i386.deb php5_5.2.0-8+etch1_all.deb php5-common_5.2.0-8+etch1_i386.deb php5-curl_5.2.0-8+etch1_i386.deb php5-dev_5.2.0-8+etch1_i386.deb php5-gd_5.2.0-8+etch1_i386.deb php5-imap_5.2.0-8+etch1_i386.deb php5-interbase_5.2.0-8+etch1_i386.deb php5-ldap_5.2.0-8+etch1_i386.deb php5-mcrypt_5.2.0-8+etch1_i386.deb php5-mhash_5.2.0-8+etch1_i386.deb php5-mysql_5.2.0-8+etch1_i386.deb php5-odbc_5.2.0-8+etch1_i386.deb php5-pgsql_5.2.0-8+etch1_i386.deb php5-pspell_5.2.0-8+etch1_i386.deb php5-recode_5.2.0-8+etch1_i386.deb php5-snmp_5.2.0-8+etch1_i386.deb php5-sqlite_5.2.0-8+etch1_i386.deb php5-sybase_5.2.0-8+etch1_i386.deb php5-tidy_5.2.0-8+etch1_i386.deb php5-xmlrpc_5.2.0-8+etch1_i386.deb php5-xsl_5.2.0-8+etch1_i386.deb
dpkg: error processing libapache2-mod-php5_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5_5.2.0-8+etch1_all.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-common_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-curl_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-dev_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-gd_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-imap_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-interbase_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-ldap_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-mcrypt_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-mhash_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-mysql_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-odbc_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-pgsql_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-pspell_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-recode_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-snmp_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-sqlite_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-sybase_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-tidy_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-xmlrpc_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
dpkg: error processing php5-xsl_5.2.0-8+etch1_i386.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 libapache2-mod-php5_5.2.0-8+etch1_i386.deb
 php5_5.2.0-8+etch1_all.deb
 php5-common_5.2.0-8+etch1_i386.deb
 php5-curl_5.2.0-8+etch1_i386.deb
 php5-dev_5.2.0-8+etch1_i386.deb
 php5-gd_5.2.0-8+etch1_i386.deb
 php5-imap_5.2.0-8+etch1_i386.deb
 php5-interbase_5.2.0-8+etch1_i386.deb
 php5-ldap_5.2.0-8+etch1_i386.deb
 php5-mcrypt_5.2.0-8+etch1_i386.deb
 php5-mhash_5.2.0-8+etch1_i386.deb
 php5-mysql_5.2.0-8+etch1_i386.deb
 php5-odbc_5.2.0-8+etch1_i386.deb
 php5-pgsql_5.2.0-8+etch1_i386.deb
 php5-pspell_5.2.0-8+etch1_i386.deb
 php5-recode_5.2.0-8+etch1_i386.deb
 php5-snmp_5.2.0-8+etch1_i386.deb
 php5-sqlite_5.2.0-8+etch1_i386.deb
 php5-sybase_5.2.0-8+etch1_i386.deb
 php5-tidy_5.2.0-8+etch1_i386.deb
 php5-xmlrpc_5.2.0-8+etch1_i386.deb
 php5-xsl_5.2.0-8+etch1_i386.deb
woran liegt das ?

Es fehlen also Dateien. Aber warum hat der Server die nicht angelegt?

daff
 
Zuletzt bearbeitet:

daff

New Member
Code:
total 8660
drwxrwsr-x  3 root src     4096 Dec  4 16:18 .
drwxr-xr-x 11 root root    4096 Nov 26 22:58 ..
-rw-r--r--  1 root src     1351 Jul  5  2005 hardened-php-signature-key.asc
drwxr-xr-x 15 root root    4096 Dec  4 16:18 php5-5.2.0
-rw-r--r--  1 root src   138803 Dec  4 16:18 php5_5.2.0-8+etch7.diff.gz
-rw-r--r--  1 root src     1739 Dec  4 16:18 php5_5.2.0-8+etch7.dsc
-rw-r--r--  1 root src  8583491 Apr 29  2007 php5_5.2.0.orig.tar.gz
-rw-r--r--  1 root src    95588 Jun  1  2007 suhosin-patch-5.2.0-0.9.6.2.patch

Ich weiß da fehlen die Dateien aber wie krieg ich die ran ?
 

daff

New Member
Es gab tatsächlich n Fehler:

Code:
Hunk #1 FAILED at 383.
Hunk #2 succeeded at 1156 (offset 70 lines).
Hunk #3 succeeded at 1259 (offset 75 lines).
Hunk #4 succeeded at 1270 (offset 75 lines).
Hunk #5 succeeded at 1291 (offset 75 lines).
Hunk #6 succeeded at 1486 (offset 87 lines).
Hunk #7 succeeded at 1583 (offset 97 lines).
Hunk #8 succeeded at 1592 (offset 97 lines).
Hunk #9 succeeded at 1606 (offset 97 lines).
1 out of 9 hunks FAILED -- saving rejects to file Zend/zend_alloc.c.rej
make: *** [patch-stamp] Error 1
ich hab auch schon geschaut ob es die Datei "Zend/zend_alloc.c.rej" gibt - negativ.

EDIT: ich hab übrigens PHP Version 5.2.0-8+etch7 auf dem Server laufen und hab daher die Datei suhosin-patch-5.2.0-0.9.6.2.patch.gz genommen. Ist das richtig ?
 
Zuletzt bearbeitet:

Werbung

Top