LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   APACHE - HTTPD will not stay running (https://www.linuxquestions.org/questions/linux-software-2/apache-httpd-will-not-stay-running-19562/)

thePod 04-26-2002 06:40 PM

APACHE - HTTPD will not stay running
 
I have installed apache 2.0.35 on a slackware system (latest slak
release)...

i try starting apache by using the command /usr/local/apache2/apachectl start

and it appears to run fine..

./apachectl start: httpd started

but then i check all processes running on the system (ps -Aef) and nothing is there about httpd!

I get this error in the error_log file:

[emerg] (22)Invalid argument: Couldn't set permissions on cross-process lock

so then i added AcceptMutex flock to the httpd.conf file

this seems to work:

[notice] Apache 2.0.35 (Unix) configured -- resuming normal operations

but then spits out this error msg:

[alert] (22) Invalid Argument: setgid: unable to set group id to Group
4294967295
[alert] (22) Invalid Argument: setgid: unable to set group id to Group
4294967295
[alert] (22) Invalid Argument: setgid: unable to set group id to Group
4294967295
[alert] (22) Invalid Argument: setgid: unable to set group id to Group
4294967295
[alert] (22) Child 3267 returned a fatal error...
Apache is exiting!


??? any ideas??

thanks

thePod 04-26-2002 06:44 PM

never mind i figured it out

changed group #-1 to group nogroup in the httpd.conf and it worked!

amazing what using the search function does

xanderp123 04-15-2004 10:27 PM

HTTPD will not stay running: Change group #-1 to group nogroup
 
I just want to say that I had the exact same problem and couldn't figure out what was wrong until I came across this post - Thanks! It worked!


All times are GMT -5. The time now is 03:39 PM.