[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 111 and 765th ports problem



E&Erdem wrote:
after an upgrade, 111 and 765th ports have been opening at startup, i
couldn't find which services use this, because netstat -tanp couldn't
get package name, in according to /etc/services sunrpc using 111, but i
removed it from startup and also sunrpc line #'ed in my /etc/services
file.

How can i find which packages use this ports, and why they start at boot
time?

[command-name] is the command you get from "netstat -tanp" or "lsof -i".

Try this:
$ man dpkg-query
$ dpkg -S [command-name]

I think this should list the package the file [command-name] is in.

If that doesn't work, you could copy the list the output of:
$ ls /etc/rc*

And someone will probably realize right off what is starting it.

dircha



Reply to: