Apache problem
When I start Apache on Suse 10.1, it's running just for a few seconds, and then immediately stops. Why is this happening, and what can I do to solve the problem?
Thanks in advance. |
Have you looked in the Apache logs (probably /var/log/httpd) to see what the access and error logs contain? Can you post information relating to the problem here?
|
Error log content:
[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [alert] (EAI 2) Name or service not known: mod_unique_id: unable to find IPv4 address of "dceran" Configuration Failed |
mod_unique_id uses the IP address of a box and the process id to generate a unique token (unique under specific circumstances). It looks like it can't resolve dceran to an IP address on your box. Is dceran the hostname? What do the following return?
Code:
dig dceran |
dceran is not hostname. i think it's superuser. i got that name by default, after install suse.
results of commands are: dceran:~ # dig dceran ; <<>> DiG 9.3.2 <<>> dceran ;; global options: printcmd ;; got ansver: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 45814 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION; ;dceran. IN A ;; Query time: 2 sec ;; SERVER: 192.168.0.2#53(192.168.0.2) ;; WHEN Mon, Aug 21, 12:30:25 2006 ;; MSG SIZE rcvd: 24 dceran:~ # host dceran Host dceran not found: 2(SERVFAIL) dceran:~ # ping dceran ping: unknown host dceran |
Problem solved.
dceran wasn't host - there wasn't an entry for it in /etc/hosts file. I don't know what is dceran - i got it as a default root user when installing suse. After su root and restarting Apache everything works fine. Thank you. |
I'm glad you for it working - and thanks for posting the solution :)
|
All times are GMT -5. The time now is 06:32 PM. |