apache problem

Description of the problem:

The server was rebooted and subsequently httpd could no
longer successfully be started.

This webserver is using Apache to host


/------------------------------ Some helpful information
------------------------

# rm /usr/local/etc/httpd/logs/error_log
# /usr/local/etc/httpd/httpd -f /usr/local/etc/httpd/conf.httpd.conf
# tac /usr/local/etc/httpd/logs/error_log
[Thu Jan  6 03:37:52 2000] - unable to set groups
[Thu Jan  6 03:37:52 2000] initgroups: Invalid argument

--------------------------------------------------------------------------------\


The server was rebooted (cold boot). A look at the process table indicated
the following entries (which were still there last time I checked):

/--------------------------------------------------------------------------------

# ps wwwwwwwwwwwwwx | grep rc
   65  ?  S    0:00 bash /etc/rc.d/rc 3
  291  ?  S    0:00 sh /etc/rc.d/rc3.d/S99local start

--------------------------------------------------------------------------------\

Obviously there is some problem with executing rc.local at RunLevel 3 but
what, if any, relation that has to me Apache problem, I don't know.

duwackyduAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
tknayakConnect With a Mentor Commented:
I feel you have compiled  apache from source.. in that case u must be having a binary called apachectl somewherein the dir /usr/local/etc/httpd/ directory  .. may be in the bin directory of that dir ..
just do /usr/local/etc/httpd/bin/apachectl start

it shoud start as there is no other interferences.. or check if the user and group defined in the httpd.conf file exist or not ..
respective files are
/etc/passwd
/etc/group

Things should work
0
All Courses

From novice to tech pro — start learning today.