baxleyb
asked on
Apache will not start Linux RedHat ES 3.0
Hello,
Apache will not start. Here is what I have done:
1. There were 2 network interfaces (eth0 and eth0:1) I reduced this down to just one eth0
2. I ran a apachectl configtest and the syntax is ok
3. The apache error log contains the following and this is when the errors began to surface:
[Mon Mar 27 12:01:08 2006] [warn] child process 2300 still did not exit, sending a SIGTERM
[Mon Mar 27 12:01:08 2006] [notice] caught SIGTERM, shutting down
[Mon Mar 27 13:01:48 2006] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address of "RedDot"
Configuration Failed!
[Mon Mar 27 13:14:24 2006] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 27 13:14:24 2006] [notice] Digest: done
PHP Warning: Unknown(): Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './odbc.so' - ./odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './pgsql.so' - ./pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Mon Mar 27 13:14:25 2006] [notice] Apache/2.0.46 (Red Hat) configured -- resuming normal operations
[Mon Mar 27 13:14:39 2006] [error] [client 10.70.19.100] File does not exist: /var/www/html/infor
[Mon Mar 27 13:15:29 2006] [error] [client 10.70.19.100] Directory index forbidden by rule: /var/www/html/
[Mon Mar 27 13:24:16 2006] [warn] child process 2569 still did not exit, sending a SIGTERM
[Mon Mar 27 13:24:17 2006] [notice] caught SIGTERM, shutting down
[Mon Mar 27 14:02:05 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 27 14:02:26 2006] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address of "us-cos-rdw1"
Configuration Failed!
[Tue Mar 28 05:31:12 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
Any assistance with this is greatly appreciated!
BB
Apache will not start. Here is what I have done:
1. There were 2 network interfaces (eth0 and eth0:1) I reduced this down to just one eth0
2. I ran a apachectl configtest and the syntax is ok
3. The apache error log contains the following and this is when the errors began to surface:
[Mon Mar 27 12:01:08 2006] [warn] child process 2300 still did not exit, sending a SIGTERM
[Mon Mar 27 12:01:08 2006] [notice] caught SIGTERM, shutting down
[Mon Mar 27 13:01:48 2006] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address of "RedDot"
Configuration Failed!
[Mon Mar 27 13:14:24 2006] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 27 13:14:24 2006] [notice] Digest: done
PHP Warning: Unknown(): Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './odbc.so' - ./odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './pgsql.so' - ./pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Mon Mar 27 13:14:25 2006] [notice] Apache/2.0.46 (Red Hat) configured -- resuming normal operations
[Mon Mar 27 13:14:39 2006] [error] [client 10.70.19.100] File does not exist: /var/www/html/infor
[Mon Mar 27 13:15:29 2006] [error] [client 10.70.19.100] Directory index forbidden by rule: /var/www/html/
[Mon Mar 27 13:24:16 2006] [warn] child process 2569 still did not exit, sending a SIGTERM
[Mon Mar 27 13:24:17 2006] [notice] caught SIGTERM, shutting down
[Mon Mar 27 14:02:05 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 27 14:02:26 2006] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address of "us-cos-rdw1"
Configuration Failed!
[Tue Mar 28 05:31:12 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
Any assistance with this is greatly appreciated!
BB
ASKER
Well I commented out a couple of SSL references and now it seems like the service is running.
The problem now is that the pages are not being served out of port 80. Do you know how to test that?
Thanks,
BB
The problem now is that the pages are not being served out of port 80. Do you know how to test that?
Thanks,
BB
ASKER
Well I got everything working, figured out there was an issue with the etc/hosts file.
I would like to start 2 services automatically once the server is rebooted.
Do you know how and where I can make this happen?
I would like to start 2 services automatically once the server is rebooted.
Do you know how and where I can make this happen?
in the httpd.conf
set
StartServers 5
or 8 or what ever you want.. however the defualt is 5 so I would be suprised if you are only starting 1.. my guess is you are already starting 5
Listen 80
is the line you are looking for to check the port but unless someone messed with the sys the defualt is 80 and thats what it should be
to check sun the command
grep "Listen" /$pathto$/httpd.conf
grep "StartServers" /$pathto$/httpd.conf
set
StartServers 5
or 8 or what ever you want.. however the defualt is 5 so I would be suprised if you are only starting 1.. my guess is you are already starting 5
Listen 80
is the line you are looking for to check the port but unless someone messed with the sys the defualt is 80 and thats what it should be
to check sun the command
grep "Listen" /$pathto$/httpd.conf
grep "StartServers" /$pathto$/httpd.conf
ASKER
andy_thedestoyer,
these commands were helpful but my question is relalted to starting 2 services OUTSIDE of apach on boot. Apache alreay starts on boot but I need to start tomcat and another service as well.
Thanks in advance.
BB
these commands were helpful but my question is relalted to starting 2 services OUTSIDE of apach on boot. Apache alreay starts on boot but I need to start tomcat and another service as well.
Thanks in advance.
BB
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
as root
/etc/init.d/apache2 start
the apache deamon might be called httpd in which case you would run
/etc/init.d/httpd start
apache 2 deamon is usually callled apache2 though.
if these don't work.. what is the error message that gets printed to the screen(not the log)?
also .. is the deamon running and nothing can connect to it or everytime your try to start it it fails?