localhost:631 printer problem (SOLVED)

For completeness: it is documented in "Shell Patterns" in the sh(1) man page.
If you use csh, you need to escape the relevant characters:
Code:
tingo@kg-core2:~ % ps aux | grep cups
root         679    0.0  0.0    82684    4708  -  Is   15Feb21      0:00.23 /usr/local/sbin/cupsd -
tingo      67469    0.0  0.0     6652    2296 39  S+   13:29        0:00.00 grep cups

tingo@kg-core2:~ % ps aux | grep \[c\]ups
root         679    0.0  0.0    82684    4708  -  Is   15Feb21      0:00.23 /usr/local/sbin/cupsd -
I'm using csh. How do I escape the relevant characters? How might this solve my problem? Thanks.
 
@root
Code:
 command not found

Hui. That's no command to execute - a "URL" is something you can f.e. use to feed a webbrowser with. Also note that "localhost" could mean you have to replace it by the IP address of that computer, and/or you might have to add "http://" in front of it (whoever knows what you're using as webbrowser); You've been asked to open the website of the computer cups is running on, and that in toplevel and port 631.
 
you might have to add "http://" in front of it (whoever knows what you're using as webbrowser); You've been asked to open the website of the computer cups is running on, and that in toplevel and port 631.

That would be:

Code:
http://127.0.0.1:631
 
If that is your output then cupsd is not running. You need to start it after adding more logging to it. See cupsctl(8) cupsctl --debug-logging

Also, if you read the ps(1) manual page, it states under -u option:

I apologise if I assumed you knew this.
So, yes, the 2nd field is the PID.
This is my cups error log file (part 1/2). Is there anything here that would have a bearing on my problem withlocalhost 631.
Code:
I [31/Mar/2021:00:25:36 +1030] Listening to [v1.::1]:631 (IPv6)
I [31/Mar/2021:00:25:36 +1030] Listening to 127.0.0.1:631 (IPv4)
I [31/Mar/2021:00:25:36 +1030] Listening to /var/run/cups/cups.sock (Domain)
I [31/Mar/2021:00:25:36 +1030] Remote access is disabled.
D [31/Mar/2021:00:25:36 +1030] Added auto ServerAlias Mistletoe
I [31/Mar/2021:00:25:36 +1030] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
D [31/Mar/2021:00:25:36 +1030] Using keychain "/usr/local/etc/cups/ssl" for server name "Mistletoe".
I [31/Mar/2021:00:25:36 +1030] Configured for up to 100 clients.
I [31/Mar/2021:00:25:36 +1030] Allowing up to 100 client connections per host.
I [31/Mar/2021:00:25:36 +1030] Using policy "default" as the default.
D [31/Mar/2021:00:25:36 +1030] cupsdMarkDirty(--p--)
D [31/Mar/2021:00:25:36 +1030] cupsdSetBusyState: newbusy="Dirty files", busy="Not busy"
I [31/Mar/2021:00:25:36 +1030] Partial reload complete.
I [31/Mar/2021:00:25:36 +1030] Listening to [v1.::1]:631 on fd 5...
I [31/Mar/2021:00:25:36 +1030] Listening to 127.0.0.1:631 on fd 7...
I [31/Mar/2021:00:25:36 +1030] Listening to /var/run/cups/cups.sock on fd 8...
I [31/Mar/2021:00:25:36 +1030] Resuming new connection processing...
D [31/Mar/2021:00:25:36 +1030] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [31/Mar/2021:00:25:36 +1030] Discarding unused server-restarted event...
D [31/Mar/2021:00:25:37 +1030] Report: clients=0
D [31/Mar/2021:00:25:37 +1030] Report: jobs=0
D [31/Mar/2021:00:25:37 +1030] Report: jobs-active=0
D [31/Mar/2021:00:25:37 +1030] Report: printers=0
D [31/Mar/2021:00:25:37 +1030] Report: stringpool-string-count=470
D [31/Mar/2021:00:25:37 +1030] Report: stringpool-alloc-bytes=3240
D [31/Mar/2021:00:25:37 +1030] Report: stringpool-total-bytes=5400
I [31/Mar/2021:00:26:07 +1030] Generating printcap /usr/local/etc/printcap...
D [31/Mar/2021:00:26:07 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
I [31/Mar/2021:01:18:52 +1030] Listening to [v1.::1]:631 (IPv6)
I [31/Mar/2021:01:18:52 +1030] Listening to 127.0.0.1:631 (IPv4)
I [31/Mar/2021:01:18:52 +1030] Listening to /var/run/cups/cups.sock (Domain)
I [31/Mar/2021:01:18:52 +1030] Remote access is disabled.
D [31/Mar/2021:01:18:52 +1030] Added auto ServerAlias Mistletoe
I [31/Mar/2021:01:18:52 +1030] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
D [31/Mar/2021:01:18:52 +1030] Using keychain "/usr/local/etc/cups/ssl" for server name "Mistletoe".
I [31/Mar/2021:01:18:52 +1030] Using default TempDir of /var/spool/cups/tmp...
I [31/Mar/2021:01:18:52 +1030] Configured for up to 100 clients.
I [31/Mar/2021:01:18:52 +1030] Allowing up to 100 client connections per host.
I [31/Mar/2021:01:18:52 +1030] Using policy "default" as the default.
I [31/Mar/2021:01:18:52 +1030] Full reload is required.
I [31/Mar/2021:01:18:52 +1030] Loaded MIME database from "/usr/local/share/cups/mime" and "/usr/local/etc/cups": 40 types, 56 filters...
I [31/Mar/2021:01:18:52 +1030] Loading job cache file "/var/cache/cups/job.cache"...
I [31/Mar/2021:01:18:52 +1030] Full reload complete.
D [31/Mar/2021:01:18:52 +1030] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [31/Mar/2021:01:18:52 +1030] Cleaning out old files in "/var/spool/cups/tmp".
D [31/Mar/2021:01:18:52 +1030] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [31/Mar/2021:01:18:52 +1030] Cleaning out old files in "/var/cache/cups".
D [31/Mar/2021:01:18:52 +1030] service_checkin: pid=1301
D [31/Mar/2021:01:18:52 +1030] Creating KeepAlive/PID file "/var/run/cups/cupsd.pid".
I [31/Mar/2021:01:18:52 +1030] Listening to [v1.::1]:631 on fd 6...
I [31/Mar/2021:01:18:52 +1030] Listening to 127.0.0.1:631 on fd 7...
I [31/Mar/2021:01:18:52 +1030] Listening to /var/run/cups/cups.sock on fd 8...
I [31/Mar/2021:01:18:52 +1030] Resuming new connection processing...
D [31/Mar/2021:01:18:52 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [31/Mar/2021:01:18:52 +1030] cupsdAddCert: Adding certificate for PID 0
D [31/Mar/2021:01:18:52 +1030] Discarding unused server-started event...
D [31/Mar/2021:01:18:52 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [31/Mar/2021:01:18:54 +1030] Report: clients=0
D [31/Mar/2021:01:18:54 +1030] Report: jobs=0
D [31/Mar/2021:01:18:54 +1030] Report: jobs-active=0
D [31/Mar/2021:01:18:54 +1030] Report: printers=0
D [31/Mar/2021:01:18:54 +1030] Report: stringpool-string-count=294
D [31/Mar/2021:01:18:54 +1030] Report: stringpool-alloc-bytes=3240
D [31/Mar/2021:01:18:54 +1030] Report: stringpool-total-bytes=3992
I [31/Mar/2021:01:21:42 +1030] Scheduler shutting down normally.
D [31/Mar/2021:01:21:42 +1030] Discarding unused server-stopped event...
D [31/Mar/2021:01:21:42 +1030] Removing KeepAlive/PID file "/var/run/cups/cupsd.pid".
I [31/Mar/2021:01:21:42 +1030] Saving job.cache...
D [31/Mar/2021:01:21:42 +1030] cupsdStopSelect()
I [31/Mar/2021:01:25:49 +1030] Listening to [v1.::1]:631 (IPv6)
I [31/Mar/2021:01:25:49 +1030] Listening to 127.0.0.1:631 (IPv4)
I [31/Mar/2021:01:25:49 +1030] Listening to /var/run/cups/cups.sock (Domain)
I [31/Mar/2021:01:25:49 +1030] Remote access is disabled.
D [31/Mar/2021:01:25:49 +1030] Added auto ServerAlias Mistletoe
I [31/Mar/2021:01:25:49 +1030] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
D [31/Mar/2021:01:25:49 +1030] Using keychain "/usr/local/etc/cups/ssl" for server name "Mistletoe".
I [31/Mar/2021:01:25:49 +1030] Using default TempDir of /var/spool/cups/tmp...
I [31/Mar/2021:01:25:49 +1030] Configured for up to 100 clients.
I [31/Mar/2021:01:25:49 +1030] Allowing up to 100 client connections per host.
I [31/Mar/2021:01:25:49 +1030] Using policy "default" as the default.
I [31/Mar/2021:01:25:49 +1030] Full reload is required.
I [31/Mar/2021:01:25:50 +1030] Loaded MIME database from "/usr/local/share/cups/mime" and "/usr/local/etc/cups": 40 types, 56 filters...
I [31/Mar/2021:01:25:50 +1030] Loading job cache file "/var/cache/cups/job.cache"...
I [31/Mar/2021:01:25:50 +1030] Full reload complete.
D [31/Mar/2021:01:25:50 +1030] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [31/Mar/2021:01:25:50 +1030] Cleaning out old files in "/var/spool/cups/tmp".
D [31/Mar/2021:01:25:50 +1030] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [31/Mar/2021:01:25:50 +1030] Cleaning out old files in "/var/cache/cups".
D [31/Mar/2021:01:25:50 +1030] service_checkin: pid=1285
D [31/Mar/2021:01:25:50 +1030] Creating KeepAlive/PID file "/var/run/cups/cupsd.pid".
I [31/Mar/2021:01:25:50 +1030] Listening to [v1.::1]:631 on fd 6...
I [31/Mar/2021:01:25:50 +1030] Listening to 127.0.0.1:631 on fd 7...
I [31/Mar/2021:01:25:50 +1030] Listening to /var/run/cups/cups.sock on fd 8...
I [31/Mar/2021:01:25:50 +1030] Resuming new connection processing...
D [31/Mar/2021:01:25:50 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [31/Mar/2021:01:25:50 +1030] cupsdAddCert: Adding certificate for PID 0
D [31/Mar/2021:01:25:50 +1030] Discarding unused server-started event...
D [31/Mar/2021:01:25:50 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [31/Mar/2021:01:25:51 +1030] Report: clients=0
D [31/Mar/2021:01:25:51 +1030] Report: jobs=0
D [31/Mar/2021:01:25:51 +1030] Report: jobs-active=0
D [31/Mar/2021:01:25:51 +1030] Report: printers=0
D [31/Mar/2021:01:25:51 +1030] Report: stringpool-string-count=294
D [31/Mar/2021:01:25:51 +1030] Report: stringpool-alloc-bytes=3240
D [31/Mar/2021:01:25:51 +1030] Report: stringpool-total-bytes=3992
D [31/Mar/2021:01:29:14 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [31/Mar/2021:01:29:14 +1030] [Client 1] Server address is "/var/run/cups/cups.sock".
D [31/Mar/2021:01:29:14 +1030] [Client 1] Accepted from localhost (Domain)
D [31/Mar/2021:01:29:14 +1030] [Client 1] Waiting for request.
D [31/Mar/2021:01:29:14 +1030] Report: clients=1
D [31/Mar/2021:01:29:14 +1030] Report: jobs=0
D [31/Mar/2021:01:29:14 +1030] Report: jobs-active=0
D [31/Mar/2021:01:29:14 +1030] Report: printers=0
D [31/Mar/2021:01:29:14 +1030] Report: stringpool-string-count=294
D [31/Mar/2021:01:29:14 +1030] Report: stringpool-alloc-bytes=3240
D [31/Mar/2021:01:29:14 +1030] Report: stringpool-total-bytes=3992
D [31/Mar/2021:01:29:14 +1030] [Client 1] POST / HTTP/1.1
D [31/Mar/2021:01:29:14 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [31/Mar/2021:01:29:14 +1030] [Client 1] Read: status=200, state=6
D [31/Mar/2021:01:29:14 +1030] [Client 1] No authentication data provided.
D [31/Mar/2021:01:29:14 +1030] [Client 1] 2.0 CUPS-Get-Printers 1
D [31/Mar/2021:01:29:14 +1030] CUPS-Get-Printers
D [31/Mar/2021:01:29:14 +1030] CUPS-Get-Printers client-error-not-found: No destinations added.
D [31/Mar/2021:01:29:14 +1030] [Client 1] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost.
D [31/Mar/2021:01:29:14 +1030] [Client 1] Content-Length: 113
D [31/Mar/2021:01:29:14 +1030] [Client 1] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [31/Mar/2021:01:29:14 +1030] [Client 1] con->http=0x219ae800
D [31/Mar/2021:01:29:14 +1030] [Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=113, response=0x22013300(IPP_STATE_DATA), pipe_pid=0, file=-1
D [31/Mar/2021:01:29:14 +1030] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [31/Mar/2021:01:29:14 +1030] [Client 1] bytes=0, http_state=0, data_remaining=113
D [31/Mar/2021:01:29:14 +1030] [Client 1] Flushing write buffer.
D [31/Mar/2021:01:29:14 +1030] [Client 1] New state is HTTP_STATE_WAITING
D [31/Mar/2021:01:29:14 +1030] [Client 1] Waiting for request.
D [31/Mar/2021:01:29:14 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [31/Mar/2021:01:29:49 +1030] [Client 2] Server address is "/var/run/cups/cups.sock".
D [31/Mar/2021:01:29:49 +1030] [Client 2] Accepted from localhost (Domain)
D [31/Mar/2021:01:29:49 +1030] [Client 2] Waiting for request.
D [31/Mar/2021:01:29:49 +1030] [Client 2] POST / HTTP/1.1
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [31/Mar/2021:01:29:49 +1030] [Client 2] Read: status=200, state=6
D [31/Mar/2021:01:29:49 +1030] [Client 2] No authentication data provided.
D [31/Mar/2021:01:29:49 +1030] [Client 2] Read: status=100, state=6
D [31/Mar/2021:01:29:49 +1030] [Client 2] Read: status=100, state=6
D [31/Mar/2021:01:29:49 +1030] [Client 2] Read: status=100, state=6
D [31/Mar/2021:01:29:49 +1030] [Client 2] 2.0 CUPS-Get-Default 1
D [31/Mar/2021:01:29:49 +1030] CUPS-Get-Default
D [31/Mar/2021:01:29:49 +1030] CUPS-Get-Default client-error-not-found: No default printer.
D [31/Mar/2021:01:29:49 +1030] [Client 2] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost.
D [31/Mar/2021:01:29:49 +1030] [Client 2] Content-Length: 113
D [31/Mar/2021:01:29:49 +1030] [Client 2] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [31/Mar/2021:01:29:49 +1030] [Client 2] con->http=0x22024000
D [31/Mar/2021:01:29:49 +1030] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=113, response=0x22013270(IPP_STATE_DATA), pipe_pid=0, file=-1
D [31/Mar/2021:01:29:49 +1030] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [31/Mar/2021:01:29:49 +1030] [Client 2] bytes=0, http_state=0, data_remaining=113
D [31/Mar/2021:01:29:49 +1030] [Client 2] Flushing write buffer.
D [31/Mar/2021:01:29:49 +1030] [Client 2] New state is HTTP_STATE_WAITING
D [31/Mar/2021:01:29:49 +1030] [Client 2] Waiting for request.
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [31/Mar/2021:01:29:49 +1030] [Client 2] POST / HTTP/1.1
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [31/Mar/2021:01:29:49 +1030] [Client 2] Read: status=200, state=6
D [31/Mar/2021:01:29:49 +1030] [Client 2] No authentication data provided.
D [31/Mar/2021:01:29:49 +1030] [Client 2] 2.0 CUPS-Get-Printers 2
D [31/Mar/2021:01:29:49 +1030] CUPS-Get-Printers
D [31/Mar/2021:01:29:49 +1030] CUPS-Get-Printers client-error-not-found: No destinations added.
D [31/Mar/2021:01:29:49 +1030] [Client 2] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost.
D [31/Mar/2021:01:29:49 +1030] [Client 2] Content-Length: 116
D [31/Mar/2021:01:29:49 +1030] [Client 2] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [31/Mar/2021:01:29:49 +1030] [Client 2] con->http=0x22024000
D [31/Mar/2021:01:29:49 +1030] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=116, response=0x22098ae0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [31/Mar/2021:01:29:49 +1030] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [31/Mar/2021:01:29:49 +1030] [Client 2] bytes=0, http_state=0, data_remaining=116
D [31/Mar/2021:01:29:49 +1030] [Client 2] Flushing write buffer.
D [31/Mar/2021:01:29:49 +1030] [Client 2] New state is HTTP_STATE_WAITING
D [31/Mar/2021:01:29:49 +1030] [Client 2] Waiting for request.
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [31/Mar/2021:01:29:49 +1030] [Client 3] Server address is "/var/run/cups/cups.sock".
D [31/Mar/2021:01:29:49 +1030] [Client 3] Accepted from localhost (Domain)
D [31/Mar/2021:01:29:49 +1030] [Client 3] Waiting for request.
D [31/Mar/2021:01:29:49 +1030] [Client 3] POST / HTTP/1.1
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [31/Mar/2021:01:29:49 +1030] [Client 3] Read: status=200, state=6
D [31/Mar/2021:01:29:49 +1030] [Client 3] No authentication data provided.
D [31/Mar/2021:01:29:49 +1030] [Client 3] 2.0 CUPS-Get-Default 3
D [31/Mar/2021:01:29:49 +1030] CUPS-Get-Default
D [31/Mar/2021:01:29:49 +1030] CUPS-Get-Default client-error-not-found: No default printer.
D [31/Mar/2021:01:29:49 +1030] [Client 3] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost.
D [31/Mar/2021:01:29:49 +1030] [Client 3] Content-Length: 113
D [31/Mar/2021:01:29:49 +1030] [Client 3] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [31/Mar/2021:01:29:49 +1030] [Client 3] con->http=0x22027800
D [31/Mar/2021:01:29:49 +1030] [Client 3] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=113, response=0x22013300(IPP_STATE_DATA), pipe_pid=0, file=-1
D [31/Mar/2021:01:29:49 +1030] [Client 3] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [31/Mar/2021:01:29:49 +1030] [Client 3] bytes=0, http_state=0, data_remaining=113
D [31/Mar/2021:01:29:49 +1030] [Client 3] Flushing write buffer.
D [31/Mar/2021:01:29:49 +1030] [Client 3] New state is HTTP_STATE_WAITING
D [31/Mar/2021:01:29:49 +1030] [Client 3] Waiting for request.
D [31/Mar/2021:01:29:49 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [31/Mar/2021:01:36:08 +1030] [Client 2] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [31/Mar/2021:01:36:08 +1030] [Client 2] Closing connection.
D [31/Mar/2021:01:36:08 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [31/Mar/2021:01:36:08 +1030] cupsdAddCert: Adding certificate for PID 0
D [31/Mar/2021:01:36:08 +1030] Report: clients=2
D [31/Mar/2021:01:36:08 +1030] Report: jobs=0
D [31/Mar/2021:01:36:08 +1030] Report: jobs-active=0
D [31/Mar/2021:01:36:08 +1030] Report: printers=0
D [31/Mar/2021:01:36:08 +1030] Report: stringpool-string-count=294
D [31/Mar/2021:01:36:08 +1030] Report: stringpool-alloc-bytes=3240
D [31/Mar/2021:01:36:08 +1030] Report: stringpool-total-bytes=3992
D [31/Mar/2021:01:36:08 +1030] [Client 3] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [31/Mar/2021:01:36:08 +1030] [Client 3] Closing connection.
D [31/Mar/2021:01:36:08 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
I [31/Mar/2021:01:36:38 +1030] Scheduler shutting down normally.
D [31/Mar/2021:01:36:38 +1030] Discarding unused server-stopped event...
D [31/Mar/2021:01:36:38 +1030] [Client 1] Closing connection.
D [31/Mar/2021:01:36:38 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [31/Mar/2021:01:36:38 +1030] Removing KeepAlive/PID file "/var/run/cups/cupsd.pid".
I [31/Mar/2021:01:36:38 +1030] Saving job.cache...
D [31/Mar/2021:01:36:38 +1030] cupsdStopSelect()
I [31/Mar/2021:01:37:59 +1030] Listening to [v1.::1]:631 (IPv6)
I [31/Mar/2021:01:37:59 +1030] Listening to 127.0.0.1:631 (IPv4)
I [31/Mar/2021:01:37:59 +1030] Listening to /var/run/cups/cups.sock (Domain)
I [31/Mar/2021:01:37:59 +1030] Remote access is disabled.
D [31/Mar/2021:01:37:59 +1030] Added auto ServerAlias Mistletoe
I [31/Mar/2021:01:37:59 +1030] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
D [31/Mar/2021:01:37:59 +1030] Using keychain "/usr/local/etc/cups/ssl" for server name "Mistletoe".
I [31/Mar/2021:01:37:59 +1030] Using default TempDir of /var/spool/cups/tmp...
I [31/Mar/2021:01:37:59 +1030] Configured for up to 100 clients.
I [31/Mar/2021:01:37:59 +1030] Allowing up to 100 client connections per host.
I [31/Mar/2021:01:37:59 +1030] Using policy "default" as the default.
I [31/Mar/2021:01:37:59 +1030] Full reload is required.
I [31/Mar/2021:01:37:59 +1030] Loaded MIME database from "/usr/local/share/cups/mime" and "/usr/local/etc/cups": 40 types, 56 filters...
I [31/Mar/2021:01:37:59 +1030] Loading job cache file "/var/cache/cups/job.cache"...
I [31/Mar/2021:01:37:59 +1030] Full reload complete.
D [31/Mar/2021:01:37:59 +1030] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [31/Mar/2021:01:37:59 +1030] Cleaning out old files in "/var/spool/cups/tmp".
D [31/Mar/2021:01:37:59 +1030] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [31/Mar/2021:01:37:59 +1030] Cleaning out old files in "/var/cache/cups".
D [31/Mar/2021:01:37:59 +1030] service_checkin: pid=1287
D [31/Mar/2021:01:37:59 +1030] Creating KeepAlive/PID file "/var/run/cups/cupsd.pid".
I [31/Mar/2021:01:37:59 +1030] Listening to [v1.::1]:631 on fd 6...
I [31/Mar/2021:01:37:59 +1030] Listening to 127.0.0.1:631 on fd 7...
I [31/Mar/2021:01:37:59 +1030] Listening to /var/run/cups/cups.sock on fd 8...
I [31/Mar/2021:01:37:59 +1030] Resuming new connection processing...
D [31/Mar/2021:01:37:59 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [31/Mar/2021:01:37:59 +1030] cupsdAddCert: Adding certificate for PID 0
D [31/Mar/2021:01:37:59 +1030] Discarding unused server-started event...
D [31/Mar/2021:01:37:59 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
 
mark j;
This is my cups error log file (part 2/2). Is there anything here that would have a bearing on my problem withlocalhost 631.
Code:
D [31/Mar/2021:01:37:59 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [31/Mar/2021:01:37:59 +1030] cupsdAddCert: Adding certificate for PID 0

D [31/Mar/2021:01:37:59 +1030] Discarding unused server-started event...

D [31/Mar/2021:01:37:59 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

D [31/Mar/2021:01:38:00 +1030] Report: clients=0

D [31/Mar/2021:01:38:00 +1030] Report: jobs=0

D [31/Mar/2021:01:38:00 +1030] Report: jobs-active=0

D [31/Mar/2021:01:38:00 +1030] Report: printers=0

D [31/Mar/2021:01:38:00 +1030] Report: stringpool-string-count=294

D [31/Mar/2021:01:38:00 +1030] Report: stringpool-alloc-bytes=3240

D [31/Mar/2021:01:38:00 +1030] Report: stringpool-total-bytes=3992

I [01/Apr/2021:21:01:05 +1030] Listening to [v1.::1]:631 (IPv6)

I [01/Apr/2021:21:01:05 +1030] Listening to 127.0.0.1:631 (IPv4)

I [01/Apr/2021:21:01:05 +1030] Listening to /var/run/cups/cups.sock (Domain)

I [01/Apr/2021:21:01:05 +1030] Remote access is disabled.

D [01/Apr/2021:21:01:05 +1030] Added auto ServerAlias Mistletoe

I [01/Apr/2021:21:01:05 +1030] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"

D [01/Apr/2021:21:01:05 +1030] Using keychain "/usr/local/etc/cups/ssl" for server name "Mistletoe".

I [01/Apr/2021:21:01:05 +1030] Using default TempDir of /var/spool/cups/tmp...

I [01/Apr/2021:21:01:05 +1030] Configured for up to 100 clients.

I [01/Apr/2021:21:01:05 +1030] Allowing up to 100 client connections per host.

I [01/Apr/2021:21:01:05 +1030] Using policy "default" as the default.

I [01/Apr/2021:21:01:05 +1030] Full reload is required.

I [01/Apr/2021:21:01:05 +1030] Loaded MIME database from "/usr/local/share/cups/mime" and "/usr/local/etc/cups": 40 types, 56 filters...

I [01/Apr/2021:21:01:05 +1030] Loading job cache file "/var/cache/cups/job.cache"...

I [01/Apr/2021:21:01:05 +1030] Full reload complete.

D [01/Apr/2021:21:01:05 +1030] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")

I [01/Apr/2021:21:01:05 +1030] Cleaning out old files in "/var/spool/cups/tmp".

D [01/Apr/2021:21:01:05 +1030] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")

I [01/Apr/2021:21:01:05 +1030] Cleaning out old files in "/var/cache/cups".

D [01/Apr/2021:21:01:05 +1030] service_checkin: pid=1037

D [01/Apr/2021:21:01:05 +1030] Creating KeepAlive/PID file "/var/run/cups/cupsd.pid".

I [01/Apr/2021:21:01:05 +1030] Listening to [v1.::1]:631 on fd 6...

I [01/Apr/2021:21:01:05 +1030] Listening to 127.0.0.1:631 on fd 7...

I [01/Apr/2021:21:01:05 +1030] Listening to /var/run/cups/cups.sock on fd 8...

I [01/Apr/2021:21:01:05 +1030] Resuming new connection processing...

D [01/Apr/2021:21:01:05 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:21:01:05 +1030] cupsdAddCert: Adding certificate for PID 0

D [01/Apr/2021:21:01:05 +1030] Discarding unused server-started event...

D [01/Apr/2021:21:01:05 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

D [01/Apr/2021:21:01:06 +1030] Report: clients=0

D [01/Apr/2021:21:01:06 +1030] Report: jobs=0

D [01/Apr/2021:21:01:06 +1030] Report: jobs-active=0

D [01/Apr/2021:21:01:06 +1030] Report: printers=0

D [01/Apr/2021:21:01:06 +1030] Report: stringpool-string-count=294

D [01/Apr/2021:21:01:06 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:21:01:06 +1030] Report: stringpool-total-bytes=3992

D [01/Apr/2021:21:04:04 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:21:04:04 +1030] [Client 1] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:21:04:04 +1030] [Client 1] Accepted from localhost (Domain)

D [01/Apr/2021:21:04:04 +1030] [Client 1] Waiting for request.

D [01/Apr/2021:21:04:04 +1030] Report: clients=1

D [01/Apr/2021:21:04:04 +1030] Report: jobs=0

D [01/Apr/2021:21:04:04 +1030] Report: jobs-active=0

D [01/Apr/2021:21:04:04 +1030] Report: printers=0

D [01/Apr/2021:21:04:04 +1030] Report: stringpool-string-count=294

D [01/Apr/2021:21:04:04 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:21:04:04 +1030] Report: stringpool-total-bytes=3992

D [01/Apr/2021:21:04:04 +1030] [Client 1] POST / HTTP/1.1

D [01/Apr/2021:21:04:04 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=200, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] No authentication data provided.

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:04:04 +1030] [Client 1] 2.0 CUPS-Get-Printers 1

D [01/Apr/2021:21:04:04 +1030] CUPS-Get-Printers

D [01/Apr/2021:21:04:04 +1030] CUPS-Get-Printers client-error-not-found: No destinations added.

D [01/Apr/2021:21:04:04 +1030] [Client 1] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost.

D [01/Apr/2021:21:04:04 +1030] [Client 1] Content-Length: 113

D [01/Apr/2021:21:04:04 +1030] [Client 1] cupsdSendHeader: code=200, type="application/ipp", auth_type=0

D [01/Apr/2021:21:04:04 +1030] [Client 1] con->http=0x219ae800

D [01/Apr/2021:21:04:04 +1030] [Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=113, response=0x22013300(IPP_STATE_DATA), pipe_pid=0, file=-1

D [01/Apr/2021:21:04:04 +1030] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0

D [01/Apr/2021:21:04:04 +1030] [Client 1] bytes=0, http_state=0, data_remaining=113

D [01/Apr/2021:21:04:04 +1030] [Client 1] Flushing write buffer.

D [01/Apr/2021:21:04:04 +1030] [Client 1] New state is HTTP_STATE_WAITING

D [01/Apr/2021:21:04:04 +1030] [Client 1] Waiting for request.

D [01/Apr/2021:21:04:04 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:21:15:44 +1030] [Client 1] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

D [01/Apr/2021:21:15:44 +1030] [Client 1] Closing connection.

D [01/Apr/2021:21:15:44 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

D [01/Apr/2021:21:15:44 +1030] Report: clients=0

D [01/Apr/2021:21:15:44 +1030] Report: jobs=0

D [01/Apr/2021:21:15:44 +1030] Report: jobs-active=0

D [01/Apr/2021:21:15:44 +1030] Report: printers=0

D [01/Apr/2021:21:15:44 +1030] Report: stringpool-string-count=294

D [01/Apr/2021:21:15:44 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:21:15:44 +1030] Report: stringpool-total-bytes=3992

I [01/Apr/2021:21:17:57 +1030] Scheduler shutting down normally.

D [01/Apr/2021:21:17:57 +1030] Discarding unused server-stopped event...

D [01/Apr/2021:21:17:57 +1030] Removing KeepAlive/PID file "/var/run/cups/cupsd.pid".

I [01/Apr/2021:21:17:57 +1030] Saving job.cache...

D [01/Apr/2021:21:17:57 +1030] cupsdStopSelect()

I [01/Apr/2021:21:18:56 +1030] Listening to [v1.::1]:631 (IPv6)

I [01/Apr/2021:21:18:56 +1030] Listening to 127.0.0.1:631 (IPv4)

I [01/Apr/2021:21:18:56 +1030] Listening to /var/run/cups/cups.sock (Domain)

I [01/Apr/2021:21:18:56 +1030] Remote access is disabled.

D [01/Apr/2021:21:18:56 +1030] Added auto ServerAlias Mistletoe

I [01/Apr/2021:21:18:56 +1030] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"

D [01/Apr/2021:21:18:56 +1030] Using keychain "/usr/local/etc/cups/ssl" for server name "Mistletoe".

I [01/Apr/2021:21:18:56 +1030] Using default TempDir of /var/spool/cups/tmp...

I [01/Apr/2021:21:18:56 +1030] Configured for up to 100 clients.

I [01/Apr/2021:21:18:56 +1030] Allowing up to 100 client connections per host.

I [01/Apr/2021:21:18:56 +1030] Using policy "default" as the default.

I [01/Apr/2021:21:18:56 +1030] Full reload is required.

I [01/Apr/2021:21:18:56 +1030] Loaded MIME database from "/usr/local/share/cups/mime" and "/usr/local/etc/cups": 40 types, 56 filters...

I [01/Apr/2021:21:18:56 +1030] Loading job cache file "/var/cache/cups/job.cache"...

I [01/Apr/2021:21:18:57 +1030] Full reload complete.

D [01/Apr/2021:21:18:57 +1030] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")

I [01/Apr/2021:21:18:57 +1030] Cleaning out old files in "/var/spool/cups/tmp".

D [01/Apr/2021:21:18:57 +1030] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")

I [01/Apr/2021:21:18:57 +1030] Cleaning out old files in "/var/cache/cups".

D [01/Apr/2021:21:18:57 +1030] service_checkin: pid=1134

D [01/Apr/2021:21:18:57 +1030] Creating KeepAlive/PID file "/var/run/cups/cupsd.pid".

I [01/Apr/2021:21:18:57 +1030] Listening to [v1.::1]:631 on fd 6...

I [01/Apr/2021:21:18:57 +1030] Listening to 127.0.0.1:631 on fd 7...

I [01/Apr/2021:21:18:57 +1030] Listening to /var/run/cups/cups.sock on fd 8...

I [01/Apr/2021:21:18:57 +1030] Resuming new connection processing...

D [01/Apr/2021:21:18:57 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:21:18:57 +1030] cupsdAddCert: Adding certificate for PID 0

D [01/Apr/2021:21:18:57 +1030] Discarding unused server-started event...

D [01/Apr/2021:21:18:57 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

D [01/Apr/2021:21:18:58 +1030] Report: clients=0

D [01/Apr/2021:21:18:58 +1030] Report: jobs=0

D [01/Apr/2021:21:18:58 +1030] Report: jobs-active=0

D [01/Apr/2021:21:18:58 +1030] Report: printers=0

D [01/Apr/2021:21:18:58 +1030] Report: stringpool-string-count=294

D [01/Apr/2021:21:18:58 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:21:18:58 +1030] Report: stringpool-total-bytes=3992

D [01/Apr/2021:21:19:48 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:21:19:48 +1030] [Client 1] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:21:19:48 +1030] [Client 1] Accepted from localhost (Domain)

D [01/Apr/2021:21:19:48 +1030] [Client 1] Waiting for request.

D [01/Apr/2021:21:19:48 +1030] [Client 1] POST / HTTP/1.1

D [01/Apr/2021:21:19:48 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=200, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] No authentication data provided.

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] Read: status=100, state=6

D [01/Apr/2021:21:19:48 +1030] [Client 1] 2.0 CUPS-Get-Printers 1

D [01/Apr/2021:21:19:48 +1030] CUPS-Get-Printers

D [01/Apr/2021:21:19:48 +1030] CUPS-Get-Printers client-error-not-found: No destinations added.

D [01/Apr/2021:21:19:48 +1030] [Client 1] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost.

D [01/Apr/2021:21:19:48 +1030] [Client 1] Content-Length: 113

D [01/Apr/2021:21:19:48 +1030] [Client 1] cupsdSendHeader: code=200, type="application/ipp", auth_type=0

D [01/Apr/2021:21:19:48 +1030] [Client 1] con->http=0x219ae800

D [01/Apr/2021:21:19:48 +1030] [Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=113, response=0x22013300(IPP_STATE_DATA), pipe_pid=0, file=-1

D [01/Apr/2021:21:19:48 +1030] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0

D [01/Apr/2021:21:19:48 +1030] [Client 1] bytes=0, http_state=0, data_remaining=113

D [01/Apr/2021:21:19:48 +1030] [Client 1] Flushing write buffer.

D [01/Apr/2021:21:19:48 +1030] [Client 1] New state is HTTP_STATE_WAITING

D [01/Apr/2021:21:19:48 +1030] [Client 1] Waiting for request.

D [01/Apr/2021:21:19:48 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:21:34:49 +1030] cupsdAddCert: Adding certificate for PID 0

D [01/Apr/2021:21:34:49 +1030] Closing client 1 after 900 seconds of inactivity.

D [01/Apr/2021:21:34:49 +1030] [Client 1] Closing connection.

D [01/Apr/2021:21:34:49 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

D [01/Apr/2021:21:34:49 +1030] Report: clients=0

D [01/Apr/2021:21:34:49 +1030] Report: jobs=0

D [01/Apr/2021:21:34:49 +1030] Report: jobs-active=0

D [01/Apr/2021:21:34:49 +1030] Report: printers=0

D [01/Apr/2021:21:34:49 +1030] Report: stringpool-string-count=294

D [01/Apr/2021:21:34:49 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:21:34:49 +1030] Report: stringpool-total-bytes=3992

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:23:03:55 +1030] [Client 2] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:23:03:55 +1030] [Client 2] Accepted from localhost (Domain)

D [01/Apr/2021:23:03:55 +1030] [Client 2] Waiting for request.

D [01/Apr/2021:23:03:55 +1030] cupsdAddCert: Adding certificate for PID 0

D [01/Apr/2021:23:03:55 +1030] Report: clients=1

D [01/Apr/2021:23:03:55 +1030] Report: jobs=0

D [01/Apr/2021:23:03:55 +1030] Report: jobs-active=0

D [01/Apr/2021:23:03:55 +1030] Report: printers=0

D [01/Apr/2021:23:03:55 +1030] Report: stringpool-string-count=294

D [01/Apr/2021:23:03:55 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:23:03:55 +1030] Report: stringpool-total-bytes=3992

D [01/Apr/2021:23:03:55 +1030] [Client 2] PUT /admin/conf/cupsd.conf HTTP/1.1

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"

D [01/Apr/2021:23:03:55 +1030] [Client 2] Read: status=200, state=9

D [01/Apr/2021:23:03:55 +1030] [Client 2] No authentication data provided.

D [01/Apr/2021:23:03:55 +1030] cupsdIsAuthorized: username=""

D [01/Apr/2021:23:03:55 +1030] [Client 2] cupsdSendHeader: code=401, type="text/html", auth_type=0

D [01/Apr/2021:23:03:55 +1030] [Client 2] WWW-Authenticate: Basic realm=\"CUPS\", PeerCred, Local trc=\"y\"

D [01/Apr/2021:23:03:55 +1030] [Client 2] Closing connection.

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:23:03:55 +1030] [Client 3] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:23:03:55 +1030] [Client 3] Accepted from localhost (Domain)

D [01/Apr/2021:23:03:55 +1030] [Client 3] Waiting for request.

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"

D [01/Apr/2021:23:03:55 +1030] [Client 4] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:23:03:55 +1030] [Client 4] Accepted from localhost (Domain)

D [01/Apr/2021:23:03:55 +1030] [Client 4] Waiting for request.

D [01/Apr/2021:23:03:55 +1030] [Client 3] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

D [01/Apr/2021:23:03:55 +1030] [Client 3] Closing connection.

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:23:03:55 +1030] [Client 5] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:23:03:55 +1030] [Client 5] Accepted from localhost (Domain)

D [01/Apr/2021:23:03:55 +1030] [Client 5] Waiting for request.

D [01/Apr/2021:23:03:55 +1030] [Client 4] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

D [01/Apr/2021:23:03:55 +1030] [Client 4] Closing connection.

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:23:03:55 +1030] [Client 5] PUT /admin/conf/cupsd.conf HTTP/1.1

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:23:03:55 +1030] [Client 5] Read: status=200, state=9

D [01/Apr/2021:23:03:55 +1030] [Client 5] Authorized as root using PeerCred.

D [01/Apr/2021:23:03:55 +1030] cupsdIsAuthorized: username="root"

D [01/Apr/2021:23:03:55 +1030] [Client 5] Read: status=100, state=9

I [01/Apr/2021:23:03:55 +1030] [Client 5] Installing config file "/usr/local/etc/cups/cupsd.conf"...

D [01/Apr/2021:23:03:55 +1030] [Client 5] cupsdSendHeader: code=201, type="(null)", auth_type=0

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:23:03:55 +1030] [Client 5] Closing connection.

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

I [01/Apr/2021:23:03:55 +1030] Listening to [v1.::1]:631 (IPv6)

I [01/Apr/2021:23:03:55 +1030] Listening to 127.0.0.1:631 (IPv4)

I [01/Apr/2021:23:03:55 +1030] Listening to /var/run/cups/cups.sock (Domain)

I [01/Apr/2021:23:03:55 +1030] Remote access is disabled.

D [01/Apr/2021:23:03:55 +1030] Added auto ServerAlias Mistletoe

I [01/Apr/2021:23:03:55 +1030] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"

D [01/Apr/2021:23:03:55 +1030] Using keychain "/usr/local/etc/cups/ssl" for server name "Mistletoe".

I [01/Apr/2021:23:03:55 +1030] Configured for up to 100 clients.

I [01/Apr/2021:23:03:55 +1030] Allowing up to 100 client connections per host.

I [01/Apr/2021:23:03:55 +1030] Using policy "default" as the default.

D [01/Apr/2021:23:03:55 +1030] cupsdMarkDirty(--p--)

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Dirty files", busy="Not busy"

I [01/Apr/2021:23:03:55 +1030] Partial reload complete.

I [01/Apr/2021:23:03:55 +1030] Listening to [v1.::1]:631 on fd 5...

I [01/Apr/2021:23:03:55 +1030] Listening to 127.0.0.1:631 on fd 7...

I [01/Apr/2021:23:03:55 +1030] Listening to /var/run/cups/cups.sock on fd 8...

I [01/Apr/2021:23:03:55 +1030] Resuming new connection processing...

D [01/Apr/2021:23:03:55 +1030] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"

D [01/Apr/2021:23:03:55 +1030] Discarding unused server-restarted event...

I [01/Apr/2021:23:04:26 +1030] Generating printcap /usr/local/etc/printcap...

D [01/Apr/2021:23:04:26 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"

D [01/Apr/2021:23:07:29 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:23:07:29 +1030] [Client 6] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:23:07:29 +1030] [Client 6] Accepted from localhost (Domain)

D [01/Apr/2021:23:07:29 +1030] [Client 6] Waiting for request.

D [01/Apr/2021:23:07:29 +1030] cupsdAddCert: Adding certificate for PID 0

D [01/Apr/2021:23:07:29 +1030] Report: clients=1

D [01/Apr/2021:23:07:29 +1030] Report: jobs=0

D [01/Apr/2021:23:07:29 +1030] Report: jobs-active=0

D [01/Apr/2021:23:07:29 +1030] Report: printers=0

D [01/Apr/2021:23:07:29 +1030] Report: stringpool-string-count=470

D [01/Apr/2021:23:07:29 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:23:07:29 +1030] Report: stringpool-total-bytes=5400

D [01/Apr/2021:23:07:29 +1030] [Client 6] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

D [01/Apr/2021:23:07:29 +1030] [Client 6] Closing connection.

D [01/Apr/2021:23:07:29 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"

D [01/Apr/2021:23:10:08 +1030] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"

D [01/Apr/2021:23:10:08 +1030] [Client 7] Server address is "/var/run/cups/cups.sock".

D [01/Apr/2021:23:10:08 +1030] [Client 7] Accepted from localhost (Domain)

D [01/Apr/2021:23:10:08 +1030] [Client 7] Waiting for request.

D [01/Apr/2021:23:10:08 +1030] Report: clients=1

D [01/Apr/2021:23:10:08 +1030] Report: jobs=0

D [01/Apr/2021:23:10:08 +1030] Report: jobs-active=0

D [01/Apr/2021:23:10:08 +1030] Report: printers=0

D [01/Apr/2021:23:10:08 +1030] Report: stringpool-string-count=470

D [01/Apr/2021:23:10:08 +1030] Report: stringpool-alloc-bytes=3240

D [01/Apr/2021:23:10:08 +1030] Report: stringpool-total-bytes=5400

D [01/Apr/2021:23:10:08 +1030] [Client 7] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

D [01/Apr/2021:23:10:08 +1030] [Client 7] Closing connection.

D [01/Apr/2021:23:10:08 +1030] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
 
Hui. That's no command to execute - a "URL" is something you can f.e. use to feed a webbrowser with. Also note that "localhost" could mean you have to replace it by the IP address of that computer, and/or you might have to add "http://" in front of it (whoever knows what you're using as webbrowser); You've been asked to open the website of the computer cups is running on, and that in toplevel and port 631.
tried http & https-both timed out!
If the problem is the IP address of the computer does it matter if it is a fixed or temp address. I am in a home hobby situation, using temporary addresses provided by my ISP for each new connection .
 
mark;
This is my cupsctl access log file;
Code:
localhost - - [31/Mar/2021:00:25:36 +1030] "PUT /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -

localhost - root [31/Mar/2021:00:25:36 +1030] "PUT /admin/conf/cupsd.conf HTTP/1.1" 201 4611 - -

localhost - - [01/Apr/2021:23:03:55 +1030] "PUT /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -

localhost - root [01/Apr/2021:23:03:55 +1030] "PUT /admin/conf/cupsd.conf HTTP/1.1" 201 4562 - -
[code]
 
Keep in mind this "quirk" is shell dependent. bash and sh will be fine. You might not get what you expect using csh/tcsh. Try it! :)
I'm using csh. If so, is there any way I can change to bash etc., on the fly without damaging my system, or any other helpful suggestion?
 
Let's see your ruleset. Because if you're using my normal pf ruleset you will not be using CUPS.
Unless you use the one I made for people who use CUPS.
Let's see your ruleset. Because if you're using my normal pf ruleset you will not be using CUPS.
Unless you use the one I made for people who use CUPS.
My rc.conf file has a number of references to pf that I did not put there. What initiated those entries? They are;
Code:
pf_enable="YES"
pf_rules="/etc/pc.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="var/log/pflog"
pflog_flags="YES"
 
My rc.conf file has a number of references to pf that I did not put there. What initiated those entries? They are;
Code:
pf_enable="YES"
pf_rules="/etc/pc.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="var/log/pflog"
pflog_flags="YES"
Trihexagonal;
Do you think your rule set might be of help towards solving my problem? Are there any preliminary cautionary measures that I should take to preserve my system if I should take that route?
I am having trouble finding your ruleset in a digestible form for a relative newcomer.
 
My rc.conf file has a number of references to pf that I did not put there. What initiated those entries? They are;
Code:
pf_enable="YES"
pf_rules="/etc/pc.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="var/log/pflog"
pflog_flags="YES"
If you didn't put them there, who did? Not me...

You have a spelling error in line 2:
Code:
pf_rules="/etc/pf.conf"

Trihexagonal;
Do you think your rule set might be of help towards solving my problem? Are there any preliminary cautionary measures that I should take to preserve my system if I should take that route?
I am having trouble finding your ruleset in a digestible form for a relative newcomer.
Here it is. Your network interface may be different. Run this to find out what it is:

jitte@bakemono:~ $ ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=81249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER>
ether b0:0b:de:ad:b0:0b
inet 192.168.1.34 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33160
groups: pflog
jitte@bakemono:~ $


Mine is em0. What's yours? Whatever it is use that on the 4th line of the following pf ruleset where it says:

Code:
ext_if = "em0"

Where mine shows:
Code:
inet 192.168.1.34

Use what yours shows in the table instead of 192.168.1.34

Fix your spelling error first. Then open your ruleset, save it as pf.conf.old somewhere of your choosing and replace it with this:

/etc/pf.conf
Code:
### CUPS_pf_rules_included
### Macro name for external interface
ext_if = "em0"
netbios_tcp = "{ 22, 23, 25, 110, 111, 123, 512, 513, 514, 515, 6000, 6010 }"
netbios_udp = "{ 123, 512, 513, 514, 515, 5353, 6000, 6010 }"

### Allow CUPS to use tcp ports 80 and udp port 631
cups_tcp = "{ 80, 631 }"
cups_udp = "{ 631 }"

### Allow CUPS to be accessible (change to your other machines ifconfig -a LAN designation )
table <local> { 192.168.1.104 }

### Reassemble fragmented packets
scrub in on $ext_if all fragment reassemble

### Default deny everything
block log all

### Pass loopback
set skip on lo0

### Allow LAN to talk to CUPS on your machine
pass in log quick from <local> to any keep state

### Block spooks
antispoof for lo0
antispoof for $ext_if inet
block in from no-route to any
block in from urpf-failed to any
block in quick on $ext_if from any to 255.255.255.255
block in log quick on $ext_if from { 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 255.255.255.255/32 } to any

### Block all IPv6
block in quick inet6 all
block out quick inet6 all

### Block to and from port 0
block quick proto { tcp, udp } from any port = 0 to any
block quick proto { tcp, udp } from any to any port = 0

### Block specific ports
block in quick log on $ext_if proto tcp from any to any port $netbios_tcp
block in quick log on $ext_if proto udp from any to any port $netbios_udp

### Allow CUPS to talk to clients on LAN
pass out log on $ext_if proto tcp to any port $cups_tcp keep state
pass out log on $ext_if proto udp to any port $cups_udp keep state

### Keep and modulate state of outbound tcp, udp and icmp traffic
pass out on $ext_if proto { tcp, udp, icmp } from any to any modulate state

Then save that as /etc/pf.conf, reboot and tell us what happens next time you try.
 
To change to bash on the fly, if you have bash installed, just typing the word bash at the command prompt will change your shell to bash. (If you don't have it installed, you can quickly install it with pkg install bash.

As for pf lines in your /etc/rc.conf, I dont recollect them being there on a default install, but perhaps you chose something during installation that I'm not thinking about. To see what your rules are doing, you can type, pfctl -sa. (If you aren't doing any NAT with your rules, pfctl -s rules might show you all you need.).
But just pasting the contents of /etc/pf.conf might also tell us what we want to know. As for Trihexagonal's ruleset, you can see things he has to allow port 631 (and he has comments above, telling you which sections are for cups), Part of it depends upon what you already have, but you might be able to just paste his rules towards the bottom of your /etc/pf.conf (as pf uses last match). Before getting into pf, assuming you have cups running, you can see if it is accessible from the local host with
telnet localhost 631
If cups *is* running, and accessible, you'll see something like
Code:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
The ^] at the end just means you can hit ctl and right bracket. That gives you a > prompt and you can type quit at the prompt to get out of the session.

Also, have you installed cups-filters? Depending upon the printer, that might be necessary.
 
...but you might be able to just paste his rules towards the bottom of your /etc/pf.conf (as pf uses last match).
He'd probably end up with my complete ruleset below his and everything would go to Hell in a handbag.

Not that you can't do what you said if you did it right. ;)
 
How is that relevant to this OP? Thanks
BTW: I'm trying to steer clear of ports & only use packages as I believe mixing the two can have serious repercussions for major OS upgrades. My concern, though, is that that view may introduce admin limitations.
Which point of view do you agree with?
It's relevant because in the very next message you post nmap not found, because nmap is not in base it's in ports.
 
I still haven't seen the output of ps aux|grep cups. I guess it got lost in the noise?
Once you have that, the line with cupsd in it is the one you want. The second column on the left is the pid. Take that pid, run truss -p {pidofcupsd}. Then fire up your web browser on the same host & go to http://localhost:631. If text spews out from truss, then it's connecting and cupsd is broken. If not it's your firewall.
 
It's relevant because in the very next message you post nmap not found, because nmap is not in base it's in ports.
How would I ever know that?🙃 Is this a fairly common occurence? Is so, it defeats any attempt to avoid the mixed problem.
 
Ok, here's a suggestion:
A

This will change directory to your home, run script with output to output.txt and then run the ps command searching for cups in the output of ps.
Finally we exit the script program.

Then post the file output.txt to this forum.
Then we will move onto the next step in the solution.
What is the command for output to output.txt & the command for ps ?
Sorry if I'm a pain. I'm still in early stage learning!
 
/bin/sh: nmap not found

lsof: WARNING: access/root/.sof: no such file or directory
lsof; WARNING: created device cache files: /root/.lsof_Mistletoe
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cupsd 1134 root 6u IPv6 0x1cce85d0 0t0 TCP localhost:ipp (LISTEN)
cupsd 1134 root 7u IPv4 0x1cce82e8 0t0 TCP localhost:ipp (LISTEN)
The "nmap not found" diagnostic can't happen if the instructions provided above (become root, install the packages, execute /bin/sh, set PATH) were followed.

In any event, that's of no particular consequence, because lsof(8) has identified that cupsd(8) is running, and listening on port 631.

You must now determine why your web browser can't connect to the URL "http://localhost:631".

The impact of packet filtering must be addressed. I would not normally expect to see packet filtering without a really good reason. I suggest you follow the suggestions made by Trihexagonal, though you may wish to consider removing the packet filtering completely as they may impact your network connections in ways that will be confounding.
 
The "nmap not found" diagnostic can't happen if the instructions provided above (become root, install the packages, execute /bin/sh, set PATH) were followed.
Unfortunately you missed including the "install the packages" portion.
It's also wise to put a link to those packages so the OP can easily obtain/observe them. :)
 
Back
Top