Click to See Complete Forum and Search --> : apache after crash


Harvey
12-11-2000, 11:06 PM
okay guys power went out blah blah. Having trouble getting my webserver back up. When I do
apachectl start
it tells me that it has started okay, but it doesn't. ps -aux shows that the httpd instance I tried to run is notrunning, and the server isn't up. If I do apachectl stop
then it says that it's not running...

has anyone seen this before?

tko fx
12-12-2000, 12:10 AM
Check to see if there is a PID file, I'm a newbie myself so I'm not sure if you have it setup to have one or not, but I'm just throwing out ideas so that you can possibly fix your problem.

Harvey
12-12-2000, 01:37 AM
hey I got it working. The thing was I had to start it as root... so it's running as root and all the child processes are running as nobody.

in the config file it says
# ports < 1023, you will need httpd to be run as root initially.

but mine is running on port 8080, which is higher than 1023 right? so it should work as a non-root user? hrm. Maybe since it's the special proxy port it acts like it's just port 80 or something not sure.

Does anyone know? thanks http://www.linuxnewbie.org/ubb/smile.gif

Harvey
12-12-2000, 01:53 AM
hey I got it working. The thing was I had to start it as root... so it's running as root and all the child processes are running as nobody.

in the config file it says
# ports < 1023, you will need httpd to be run as root initially.

but mine is running on port 8080, which is higher than 1023 right? so it should work as a non-root user? hrm. Maybe since it's the special proxy port it acts like it's just port 80 or something not sure.

Does anyone know? thanks http://www.linuxnewbie.org/ubb/smile.gif

goozey
12-12-2000, 04:06 PM
If you look at the process's running...you should be able to determine what user it's runing under...

TOP is your buddy.