Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache no longer starts

Status
Not open for further replies.
Feb 1, 2001
116
US
We are running Apache v1.3.27 on Solaris 8. It used to run fine and then out of the blue when we rebooted, it would no longer start. I checked the /etc/rc3.d directory and the start file is there. When I try and start it manually, I get the following error:

Warning: User directive in <VirtualHost> requires SUEXEC wrapper.
Warning: Group directive in <VirtualHost> requires SUEXEC wrapper.

I'm not an Apache guru or such, I just use the basic server. Anyone know what this might be and why we are getting this error all of a sudden?

Thanks
 
Sounds like the execute permissions ar screwed on the file ... in most *ix OS's apache binds to port 80 which requires root priviledges to run. Can you run it as root manually ?
 
By default apache starts as root but runs as User apache and Group apache. On some distros the User and group are nobody instead of apache. This is usually defined in the global (main) section of httpd.conf. However, this error sems to indicate the the directives User and Group are difined inside a vhost container and are assigned to a user that doesn't have the correct permissions. Someone may have added a changed a vhost container in the recent past but did not restart apache. When apache was restarted (with the reboot), The new configs were read and lead to the error you are just now getting.
 
RhythmAce - Thank you, this is exactly what I found. Someone within our group must have been messing around and they added a VirtualHost. Once I removed it, the server kicked right up.

Thanks again everyone!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top