Deutsch| English
  #1  
Alt 04.12.2007, 16:11
Benutzer
 
Registriert seit: 17.11.2007
Beiträge: 44
Standard Probleme bei Installation von Suhosin auf Etch-System

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

Geändert von daff (04.12.2007 um 16:21 Uhr).
Mit Zitat antworten
  #2  
Alt 05.12.2007, 09:26
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.818
Standard

Poste bitte mal den Output von:

ls -la /usr/src/
Mit Zitat antworten
  #3  
Alt 05.12.2007, 11:40
Benutzer
 
Registriert seit: 17.11.2007
Beiträge: 44
Standard

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 ?
Mit Zitat antworten
  #4  
Alt 05.12.2007, 16:05
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.818
Standard

Mach bitte den kompletten Schritt 4 des Howtos nochmal und achte auf Fehlermeldungen.
Mit Zitat antworten
  #5  
Alt 05.12.2007, 16:26
Benutzer
 
Registriert seit: 17.11.2007
Beiträge: 44
Standard

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 ?

Geändert von daff (05.12.2007 um 16:28 Uhr).
Mit Zitat antworten
  #6  
Alt 18.12.2007, 16:41
Neuer Benutzer
 
Registriert seit: 17.12.2007
Ort: Hannover
Beiträge: 11
Standard

Schau mal was bei der englischen Howto als Kommentar darunter stand...
Ich habe ebenfalls versucht Suhosin zu installieren.


Zitat:
Due to updates in the PHP5 packages and heavily modified source code.
Please see
http://forum.hardened-php.net/viewtopic.php?pid=1101
Ich bin mittlerweile total verwirrt was diese ganzen Upgrades für PHP / Apache und Co angeht.

Geändert von Damian (18.12.2007 um 16:45 Uhr).
Mit Zitat antworten
Antwort


Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an



Alle Zeitangaben in WEZ +2. Es ist jetzt 05:00 Uhr.


Powered by vBulletin® Version 3.8.1 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0