Re: Apache

From: Date: Fri, 05 Jan 2001 01:44:44 +0000
Subject: Re: Apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32792@lists.php.net to get a copy of this message
> Great it installed apache and I checked over > the new httpd.conf file and it seemed to have > all the correct information in it. Then I > tried to stop apache using apachectl stop but > realized the only copy of it was the new one > installed, so I ran it from there, and it said > nothing was running so I ran apachectl start > from the newly installed version and guess > what the old version is still running. So for > the hell of it I tried httpd.restart and > httpd.reload - still no luck. Any ideas?? type: ps -auxww | grep httpd you should see maybe 5 lines with info on the running processes. your original apache is probably someplace like /usr/sbin/httpd, with conf files in /etc/httpd, depending upon what system you're running. do: find / -type d -name apache if you don't mind the load (ie, i hope You're not doing this on a production box). you'll need to modify your /etc/rc.d scripts to remove reerence to your old apache, since it'll just come back on reboot. in the mean time, if you just want to make it go away, look for the process running. kill them (ie, 'kill <pid>' where pid is the process id -- 'man kill' and 'man ps' for details). One of the apache processes will be the master -- that's the one that needs to be killed (probably the lowest process number). best, jeff

« previous php.general (#32792) next »