Re: Problem with cups
Well, the netstat -plant command gave me the following, which shows that
port 631 isn't being used... So why am I getting this "Address already
in use" message? ARGH Is it because I'm binding 631 to both 127.0.0.1
and 10.0.0.3???
netstat -plant
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 0.0.0.0:515 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:32771 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:32772 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:901 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:37 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:9 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:139 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:13 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:79 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:113 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:21 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:23 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:5432 0.0.0.0:*
LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:*
LISTEN -
tcp 0 0 10.0.0.3:32964 66.70.10.254:110
TIME_WAIT -
tcp 0 0 10.0.0.3:32963 65.125.64.135:80
ESTABLISHED 984/mozilla-bin
/var/log/cups/error_log
I [16/Sep/2002:16:40:48 -0600] Listening to 7f000001:80
I [16/Sep/2002:16:40:48 -0600] Listening to 7f000001:631
I [16/Sep/2002:16:40:48 -0600] Listening to a000003:80
I [16/Sep/2002:16:40:48 -0600] Listening to a000003:631
I [16/Sep/2002:16:40:48 -0600] Listening to 0:631
I [16/Sep/2002:16:40:48 -0600] Configured for up to 100 clients.
I [16/Sep/2002:16:40:48 -0600] LoadPPDs: Read "/etc/cups/ppds.dat", 1059
PPDs...
I [16/Sep/2002:16:40:48 -0600] LoadPPDs: No new or changed PPDs...
E [16/Sep/2002:16:40:52 -0600] StartListening: Unable to bind socket -
Address already in use.
On 2002-09-16 at 14:05, Hubert Chan wrote:
> >>>>> "Dave" == Dave Bartmess <dingodave@edingo.net> writes:
>
> [...]
>
> Dave> How can I check which ports are in use? I know there's a command
> Dave> for it, but I can't seem to find it anywhere online.
>
> lsof -i
>
> or
>
> netstat -plant
>
> --
> Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
> PGP/GnuPG key: 1024D/124B61FA
> Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA
> Key available at wwwkeys.pgp.net. Encrypted e-mail preferred.
Reply to: