Current time: 05-17-2024, 12:25 AM Hello There, Guest! (LoginRegister)


Post Reply 
openSUSE: Fehler beim Start von Apache
Author Message
JackBack Offline
Newbie
*

Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #1
openSUSE: Fehler beim Start von Apache
Hallo,

ich habe gerade auf einem Suse Server 11.2
das ispCP 1.0.4 installiert.

Wenn ich jetzt versuche Apache zu starten um an die Admin-Öberfläche zu kommen gibt es folgendes Problem:
apache2ctl start
[Fri Mar 19 ] [warn] module cgi_module is already loaded, skipping
Syntax error on line 63 of /etc/apache2/vhosts.d/00_master.conf:
can't get fastcgi file info: /srv/www/fcgi/master/php5-fcgi-starter(/srv/www/fcgi/master/php5-fcgi-starter), errno: 2

wenn ich unter:srv/www/fcgi/ und srv/www/fcgi/master/ schau sind die Verzeichnisse leer.

Hat jemand eine Idee ?
(This post was last modified: 03-19-2010 10:48 PM by JackBack.)
03-19-2010 09:32 PM
Find all posts by this user Quote this message in a reply
JackBack Offline
Newbie
*

Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #2
RE: openSUSE: Fehler beim Start von Apache
Ich habe schließlich eine Neuinstallation gemacht allerdings gibt es jetzt folgende Fehlermeldung :
apache2ctl restart
[Fri Mar 19 ] [warn] module cgi_module is already loaded, skipping
httpd2: apr_sockaddr_info_get() failed for Servername
httpd2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Wie genau muss da die Hostdatei aussehen bzw muss der Servername.de noch irgendwo eingetragen werden ?
03-20-2010 12:37 AM
Find all posts by this user Quote this message in a reply
einherjer Offline
Junior Member
*

Posts: 69
Joined: Mar 2008
Reputation: 0
Post: #3
RE: openSUSE: Fehler beim Start von Apache
(03-20-2010 12:37 AM)JackBack Wrote:  apache2ctl restart
[Fri Mar 19 ] [warn] module cgi_module is already loaded, skipping

Editiere mal die /etc/sysconfig/apache2 und nimm das erste cgi Modul raus, da steht wohl eins zuviel.
Die Zeile sollte so aussehen:
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex dir env expires include log_config mime negotiation setenvif ssl userdir cgid rewrite suexec fastcgi"


Dann nochmal rcapache2 restart und die Meldung sollte weg sein.

(03-20-2010 12:37 AM)JackBack Wrote:  httpd2: apr_sockaddr_info_get() failed for Servername
httpd2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Wie genau muss da die Hostdatei aussehen bzw muss der Servername.de noch irgendwo eingetragen werden ?

Eigentlich wird das alles erledigt, sieht so aus als wär da was nicht eingetragen worden.

Was sagt ein hostname -f, was hast Du bei der Installation eingetragen, sind die Dateien unter /etc/apache2/vhosts.d/ vollständig?

Hatte das Problem mal auf einem vServer mit zu wenig Speicher, könnte das der Fall sein?
03-21-2010 12:58 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: openSUSE: Fehler beim Start von Apache
mach mal "cat /etc/hosts" und poste hier (ggf. anonymisieren...)

/J
03-21-2010 06:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
JackBack Offline
Newbie
*

Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #5
RE: openSUSE: Fehler beim Start von Apache
in der hosts steht :
127.0.0.1 abc.domain.de localhost
192.168.121.120 abc.domain.de
::ffff:192.168.121.120
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


bei hostname -v -f kommt folgendes heraus:
gethostname()=`XHostnameX'
Resolving `XHostnameX'

Da sollte vermutlicht "abc.domain.de" drin stehen ?

@einherjer
Danke die Fehlermeldung mit dem cgi_modul hat sich damit erledigt Smile

Nach einem rcapache2 restart gibt es weiterhin folgende Meldungen:

httpd2-prefork: apr_sockaddr_info_get() failed for XHostnameX
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) httpd2-prefork: apr_sockaddr_info_get() failed for XHostnameX
httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Auch das ändern der HOSTNAME Datei in abc.domain.de
bringt nichts.
(This post was last modified: 03-22-2010 07:08 PM by JackBack.)
03-22-2010 06:41 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: openSUSE: Fehler beim Start von Apache
such mal nach xhostnamex im /etc

grep -ri xhostnamex /etc

/J
03-22-2010 07:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
JackBack Offline
Newbie
*

Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #7
RE: openSUSE: Fehler beim Start von Apache
grep -ri xhostnamex /etc
/etc/proftpd/proftpd.conf:ServerName "ProFTPD on xhostnamex "
/etc/hosts.YaST2save:127.0.0.2 xhostnamex.de xhostnamex

Binary file /etc/postfix/helo_access.db matches
/etc/postfix/helo_access:xhostnamex.de REJECT "Liar! That's our HOSTNAME!"

Muss ich dann in der /etc/hosts.YaST2save:127.0.0.2 auch auf entsprechend neuen Hostnamen ändern?
(This post was last modified: 03-22-2010 08:28 PM by JackBack.)
03-22-2010 08:27 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: openSUSE: Fehler beim Start von Apache
ne, die Yast2save nicht - das ist ein Backup.

Vielleicht mal ein Neustart, nachdem man den Hostnamen geändert hat.

später auch die proftpd (aber zuerst muss apache gut laufen).

/J
03-23-2010 12:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
JackBack Offline
Newbie
*

Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #9
RE: openSUSE: Fehler beim Start von Apache
Reboot hab ich schon paar mal gemacht. Hilft leider nicht.
Am Speicher kann es auch nicht liegen sind 2 GB drin und gut 1,6 Frei.
03-23-2010 01:50 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: openSUSE: Fehler beim Start von Apache
Hm.

Mal ne frage: startet Apache trotz Fehler - es heisst ja, dass halt 127.0.0.1 als Servername benutzt wird...

Oder versuch mal diesen Inhalt in die hosts Datei zu nehmen:

Code:
127.0.0.1 localhost
127.0.0.2 abc.domain.de abc
192.168.121.120 abc.domain.de abc

::ffff:192.168.121.120
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

wie's scheint hat suse was mit 127.0.0.2, der 127.0.0.1 ist nur localhost.

/J
03-23-2010 01:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)