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
baxleybAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

andy_thedestroyerCommented:
Is this a new instillation or an upgrade from an earlier version of apache. Anyways here are a couple of easy tests you can try before you start messing with your config files.

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?
0
baxleybAuthor Commented:
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
0
baxleybAuthor Commented:
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?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

andy_thedestroyerCommented:
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
0
baxleybAuthor Commented:
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
0
andy_thedestroyerCommented:
Oh.. sorry I misunderstood

you will need to create a symbolic link in
/etc/rc3.d
to the service you want started

The name of the link is important
It starts with S which tells the system that you want the service started.

Followed by this are two letters that indicate the order of the processes.
look for the highest number in the directory and add one.

then the rest of the name i.e. jsvc for tomcat

the line should look something like this when done

lrwxrwxrwx  1 root  root     18 Jan 14 11:59 S81jsvc -> /etc/init.d/jsvc
This is an example for tomcat assuming that it resideds in /etc/init.d

Here is a good like with some more info.
http://www.linux.com/howtos/HighQuality-Apps-HOWTO/boot.shtml
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.