Click to See Complete Forum and Search --> : How do I find where a service is starting?
Dru Lee Parsec
01-16-2001, 02:22 PM
If I look at /etc/services I see webcache running on port 8080. I need to get rid of that process. But I can't find a PID on webcache.
More importantly, I can't find where it's being started so I can stop it there when I reboot.
How would I go about finding where this webcache service is starting?
check /etc/init.d
In Debian you would remove the service with:
update-rc.d -f <service> remove
(substitute <service> for the script name in /etc/init.d )
------------------
"I have five dollars for each (http://www.ipass.net/~robfrank/gpgkey) of you."
--Bernhard Goetz
Dru Lee Parsec
01-16-2001, 07:10 PM
Nope, it doesn't look like it's there. I even did a grep 8080 * inthat directory and couldn't find anything that refered to a port 8080 (which is where webcache is running).
I could do a brute force grep -r 8080 / but that will take all night.
osnap
01-16-2001, 07:16 PM
Try a "cat * | grep 8080" in that directory instead.
If you just do a "grep 8080 *" then it won't search through each file, it will just look for a file with 8080 in the name.