Forum Moderators: phranque

Message Too Old, No Replies

httpd doesnt want to die

         

apachenoob

9:30 pm on Mar 31, 2010 (gmt 0)

10+ Year Member



Hi I use solaris and i type:

./apachectl stop

it says successful then i try starting and it says:

httpd (pid 14288) already running


So I do a ps -ef on it and i find:

webservd 7564 7018 0 17:01:43 ?   0:00 /usr/apache2/bin/httpd -k start
webservd 7029 7018 0 16:59:49 ? 0:00 /usr/apache2/bin/httpd -k start
root 7018 1146 0 16:59:48 ? 0:00 /usr/apache2/bin/httpd -k start
root 8452 1818 0 17:04:44 pts/21 0:00 grep httpd
webservd 7558 7018 0 17:01:42 ? 0:00 /usr/apache2/bin/httpd -k start
webservd 7030 7018 0 16:59:49 ? 0:00 /usr/apache2/bin/httpd -k start
webservd 7027 7018 0 16:59:49 ? 0:00 /usr/apache2/bin/httpd -k start
webservd 7563 7018 0 17:01:43 ? 0:00 /usr/apache2/bin/httpd -k start
webservd 7028 7018 0 16:59:49 ? 0:00 /usr/apache2/bin/httpd -k start
webservd 7031 7018 0 16:59:49 ? 0:00 /usr/apache2/bin/httpd -k start


I tried killing the process but it just restarts right away! heck I even rebooted the server and still doesnt work! how am i supposed to start apachectl then, help please.

jdMorgan

3:29 pm on Apr 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, something somewhere is re-starting Apache. It may be failing to stop, but it can't re-start itself.

Was there an option at install time to add a cron job to keep Apache running?

Jim

apachenoob

6:20 pm on Apr 1, 2010 (gmt 0)

10+ Year Member



Thanks for the response.

No there are no cron jobs setup. After the process has been killed (and a successful message is displayed) you see them there again with a new PID right away, how it is doing it? I have no clue but i'd just like them all to stop so i can start it properly =/

Thanks,

jdMorgan

6:50 pm on Apr 1, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Re-boot the machine. Does Apache auto-start? maybe that's what's doing it.

However, programs, by definition cannot start themselves, so I'm just as baffled as you are.

Jim