[cups] CUPS on FreeBSD - Port 631 Web Server Not Working

Viaduct Lists lists at viaduct-productions.com
Fri Jan 8 12:46:13 PST 2016


Nope.  And lsof isn’t installed, won’t let me.  But here’s an alternative that’s built-in:

[Fri Jan 08 03:44:20 rich at shuttle ~]  sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     cupsd      6852  8  tcp6   ::1:631               *:*
root     cupsd      6852  9  tcp4   127.0.0.1:631         *:*
root     cupsd      6852  10 stream /var/run/cups.sock
root     nginx      6117  4  stream -> ??
root     nginx      6117  7  stream -> ??
root     nginx      6117  8  tcp4   *:80                  *:*
root     nginx      6117  9  stream -> ??
root     nginx      6117  10 stream -> ??
root     nginx      6117  11 stream -> ??
root     nginx      6117  12 stream -> ??
root     nginx      6117  20 stream -> ??
root     nginx      6117  21 stream -> ??
root     nginx      6117  22 stream -> ??
root     nginx      6117  23 stream -> ??
root     nginx      6116  4  stream -> ??
root     nginx      6116  5  stream -> ??
root     nginx      6116  8  tcp4   *:80                  *:*
root     nginx      6116  9  stream -> ??
root     nginx      6116  10 stream -> ??
root     nginx      6116  11 stream -> ??
root     nginx      6116  12 stream -> ??
root     nginx      6116  20 stream -> ??
root     nginx      6116  21 stream -> ??
root     nginx      6116  22 stream -> ??
root     nginx      6116  23 stream -> ??
rich     sshd       1966  3  tcp4   192.168.1.20:22       192.168.1.4:62264
rich     sshd       1966  4  stream -> ??
root     sshd       1963  3  tcp4   192.168.1.20:22       192.168.1.4:62264
root     sshd       1963  5  stream -> ??
root     ftpd       710   3  dgram  -> /var/run/logpriv
root     ftpd       710   5  tcp6   *:21                  *:*
root     ftpd       710   6  tcp4   *:21                  *:*
smmsp    sendmail   664   3  dgram  -> /var/run/log
root     sendmail   661   3  tcp4   127.0.0.1:25          *:*
root     sendmail   661   4  dgram  -> /var/run/logpriv
root     sshd       658   3  tcp6   *:22                  *:*
root     sshd       658   4  tcp4   *:22                  *:*
root     nginx      604   4  stream -> ??
root     nginx      604   5  stream -> ??
root     nginx      604   6  stream -> ??
root     nginx      604   7  stream -> ??
root     nginx      604   8  tcp4   *:80                  *:*
root     nginx      604   9  stream -> ??
root     nginx      604   10 stream -> ??
root     nginx      604   11 stream -> ??
root     nginx      604   12 stream -> ??
root     nginx      604   20 stream -> ??
root     nginx      604   21 stream -> ??
root     nginx      604   22 stream -> ??
root     nginx      604   23 stream -> ??
pgsql    postgres   599   8  dgram  -> /var/run/log
pgsql    postgres   599   9  udp6   ::1:45948             ::1:45948
pgsql    postgres   598   8  dgram  -> /var/run/log
pgsql    postgres   598   9  udp6   ::1:45948             ::1:45948
pgsql    postgres   597   8  dgram  -> /var/run/log
pgsql    postgres   597   9  udp6   ::1:45948             ::1:45948
pgsql    postgres   596   8  dgram  -> /var/run/log
pgsql    postgres   596   9  udp6   ::1:45948             ::1:45948
pgsql    postgres   595   8  dgram  -> /var/run/log
pgsql    postgres   595   9  udp6   ::1:45948             ::1:45948
pgsql    postgres   593   3  tcp6   *:5432                *:*
pgsql    postgres   593   4  tcp4   *:5432                *:*
pgsql    postgres   593   5  stream /tmp/.s.PGSQL.5432
pgsql    postgres   593   8  dgram  -> /var/run/log
pgsql    postgres   593   9  udp6   ::1:45948             ::1:45948
root     ntpd       573   3  dgram  -> /var/run/logpriv
root     ntpd       573   20 udp4   *:123                 *:*
root     ntpd       573   21 udp6   *:123                 *:*
root     ntpd       573   22 udp4   192.168.1.20:123      *:*
root     ntpd       573   23 udp6   ::1:123               *:*
root     ntpd       573   24 udp6   fe80:2::1:123         *:*
root     ntpd       573   25 udp4   127.0.0.1:123         *:*
root     syslogd    481   4  dgram  /var/run/log
root     syslogd    481   5  dgram  /var/run/logpriv
root     syslogd    481   6  udp6   *:514                 *:*
root     syslogd    481   7  udp4   *:514                 *:*
root     devd       329   4  stream /var/run/devd.pipe
root     devd       329   7  dgram  -> /var/run/logpriv


> On Jan 8, 2016, at 12:24 PM, Sean Greenslade <sean at seangreenslade.com> wrote:
> 
> lsof | grep LISTEN
> 
> Though I suspect you haven't set your listen setting in the server conf.


_____________
Rich in Toronto @ VP









More information about the cups mailing list