Hallo,
ich habe auf einem RasperryPi (vermutlich Modell 1) einen cups-Server installiert und versuche mit Ubuntu MATE als Client darüber zu drucken.
Der Raspi hat die IP 192.168.178.24
Ich kann über die Administrationsoberfläche https://192.168.178.24:631/printers/Brother_HL-1430_series den Drucker administrieren und auch eine Testseite darüber abschicken.
Am Client wurde mir in der Systemeinstellung der Drucker angeboten und ich habe ihn nur ausgewählt und aktiviert. Als Adresse steht da dnssd://Brother%20HL-1430%20series%20%40%20raspberrypi._ipp._tcp.local/cups?uuid=1885a0a9-95a0-3cad-4676-39073b890a51
Wenn ich vom Client aus drucken will, heißt es in der GUI "Ausführung läuft - Druckerfehler"
Logs am Server:
/var/log/cups/access.log
192.168.178.27 - - [13/Jun/2022:21:03:46 +0100] "POST /printers/Brother_HL-1430_series HTTP/1.1" 200 343 Validate-Job successful-ok 192.168.178.27 - - [13/Jun/2022:21:03:46 +0100] "POST /printers/Brother_HL-1430_series HTTP/1.1" 200 299 Create-Job successful-ok 192.168.178.27 - - [13/Jun/2022:21:03:46 +0100] "POST /printers/Brother_HL-1430_series HTTP/1.1" 200 112349 Send-Document successful-ok
Das error-log deutet auf einen loop hin, es wiederholt sich folgendes die ganze Zeit:
D [13/Jun/2022:21:04:34 +0100] [Client 206] POST /printers/Brother_HL-1430_series HTTP/1.1 D [13/Jun/2022:21:04:34 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [13/Jun/2022:21:04:34 +0100] [Client 206] Read: status=200, state=6 D [13/Jun/2022:21:04:34 +0100] [Client 206] No authentication data provided. D [13/Jun/2022:21:04:34 +0100] [Client 206] 2.0 Get-Printer-Attributes 70 D [13/Jun/2022:21:04:34 +0100] Get-Printer-Attributes ipp://raspberrypi.local:631/printers/Brother_HL-1430_series D [13/Jun/2022:21:04:34 +0100] [Client 206] Returning IPP successful-ok for Get-Printer-Attributes (ipp://raspberrypi.local:631/printers/Brother_HL-1430_series) from 192.168.178.27. D [13/Jun/2022:21:04:34 +0100] [Client 206] Content-Length: 1890 D [13/Jun/2022:21:04:34 +0100] [Client 206] cupsdSendHeader: code=200, type="application/ipp", auth_type=0 D [13/Jun/2022:21:04:34 +0100] [Client 206] con->http=0x8fd8f0 D [13/Jun/2022:21:04:34 +0100] [Client 206] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1890, response=0x8f6430(IPP_STATE_DATA), pipe_pid=0, file=-1 D [13/Jun/2022:21:04:34 +0100] [Client 206] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0 D [13/Jun/2022:21:04:34 +0100] [Client 206] bytes=0, http_state=0, data_remaining=1890 D [13/Jun/2022:21:04:34 +0100] [Client 206] Flushing write buffer. D [13/Jun/2022:21:04:34 +0100] [Client 206] New state is HTTP_STATE_WAITING D [13/Jun/2022:21:04:34 +0100] [Client 206] Waiting for request. D [13/Jun/2022:21:04:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" D [13/Jun/2022:21:04:34 +0100] [Client 206] HTTP_STATE_WAITING Closing for error 32 (Broken pipe) D [13/Jun/2022:21:04:34 +0100] [Client 206] Closing connection. D [13/Jun/2022:21:04:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy" D [13/Jun/2022:21:04:34 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [13/Jun/2022:21:04:34 +0100] [Client 207] Server address is "192.168.178.24". D [13/Jun/2022:21:04:34 +0100] [Client 207] Accepted from 192.168.178.27:38524 (IPv4) D [13/Jun/2022:21:04:34 +0100] [Client 207] Waiting for request. D [13/Jun/2022:21:04:34 +0100] [Client 207] POST /printers/Brother_HL-1430_series HTTP/1.1 D [13/Jun/2022:21:04:34 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients" D [13/Jun/2022:21:04:34 +0100] [Client 207] Read: status=200, state=6 D [13/Jun/2022:21:04:34 +0100] [Client 207] No authentication data provided. D [13/Jun/2022:21:04:34 +0100] [Client 207] 2.0 Get-Job-Attributes 71 D [13/Jun/2022:21:04:34 +0100] Get-Job-Attributes ipp://raspberrypi.local:631/printers/Brother_HL-1430_series D [13/Jun/2022:21:04:34 +0100] [Client 207] Returning IPP successful-ok for Get-Job-Attributes (ipp://raspberrypi.local:631/printers/Brother_HL-1430_series) from 192.168.178.27. D [13/Jun/2022:21:04:34 +0100] [Client 207] Content-Length: 281 D [13/Jun/2022:21:04:34 +0100] [Client 207] cupsdSendHeader: code=200, type="application/ipp", auth_type=0 D [13/Jun/2022:21:04:34 +0100] [Client 207] con->http=0x8fd8f0 D [13/Jun/2022:21:04:34 +0100] [Client 207] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=281, response=0x8f6430(IPP_STATE_DATA), pipe_pid=0, file=-1 D [13/Jun/2022:21:04:34 +0100] [Client 207] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0 D [13/Jun/2022:21:04:34 +0100] [Client 207] bytes=0, http_state=0, data_remaining=281 D [13/Jun/2022:21:04:34 +0100] [Client 207] Flushing write buffer. D [13/Jun/2022:21:04:34 +0100] [Client 207] New state is HTTP_STATE_WAITING D [13/Jun/2022:21:04:34 +0100] [Client 207] Waiting for request. D [13/Jun/2022:21:04:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" ^C root@raspberrypi:/etc/cups# tail -f -n 100 /var/log/cups/error_log D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] 2.0 Get-Printer-Attributes 140 D [13/Jun/2022:21:05:34 +0100] Get-Printer-Attributes ipp://raspberrypi.local:631/printers/Brother_HL-1430_series D [13/Jun/2022:21:05:34 +0100] [Client 190] Returning IPP successful-ok for Get-Printer-Attributes (ipp://raspberrypi.local:631/printers/Brother_HL-1430_series) from 192.168.178.27. D [13/Jun/2022:21:05:34 +0100] [Client 190] Content-Length: 1890 D [13/Jun/2022:21:05:34 +0100] [Client 190] cupsdSendHeader: code=200, type="application/ipp", auth_type=0 D [13/Jun/2022:21:05:34 +0100] [Client 190] con->http=0x904838 D [13/Jun/2022:21:05:34 +0100] [Client 190] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1890, response=0x8f3c80(IPP_STATE_DATA), pipe_pid=0, file=-1 D [13/Jun/2022:21:05:34 +0100] [Client 190] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0 D [13/Jun/2022:21:05:34 +0100] [Client 190] bytes=0, http_state=0, data_remaining=1890 D [13/Jun/2022:21:05:34 +0100] [Client 190] Flushing write buffer. D [13/Jun/2022:21:05:34 +0100] [Client 190] New state is HTTP_STATE_WAITING D [13/Jun/2022:21:05:34 +0100] [Client 190] Waiting for request. D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" D [13/Jun/2022:21:05:34 +0100] [Client 190] POST /printers/Brother_HL-1430_series HTTP/1.1 D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=200, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] No authentication data provided. D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] Read: status=100, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 190] 2.0 Get-Job-Attributes 141 D [13/Jun/2022:21:05:34 +0100] Get-Job-Attributes ipp://raspberrypi.local:631/printers/Brother_HL-1430_series D [13/Jun/2022:21:05:34 +0100] [Client 190] Returning IPP successful-ok for Get-Job-Attributes (ipp://raspberrypi.local:631/printers/Brother_HL-1430_series) from 192.168.178.27. D [13/Jun/2022:21:05:34 +0100] [Client 190] Content-Length: 281 D [13/Jun/2022:21:05:34 +0100] [Client 190] cupsdSendHeader: code=200, type="application/ipp", auth_type=0 D [13/Jun/2022:21:05:34 +0100] [Client 190] con->http=0x904838 D [13/Jun/2022:21:05:34 +0100] [Client 190] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=281, response=0x8f6430(IPP_STATE_DATA), pipe_pid=0, file=-1 D [13/Jun/2022:21:05:34 +0100] [Client 190] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0 D [13/Jun/2022:21:05:34 +0100] [Client 190] bytes=0, http_state=0, data_remaining=281 D [13/Jun/2022:21:05:34 +0100] [Client 190] Flushing write buffer. D [13/Jun/2022:21:05:34 +0100] [Client 190] New state is HTTP_STATE_WAITING D [13/Jun/2022:21:05:34 +0100] [Client 190] Waiting for request. D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" D [13/Jun/2022:21:05:34 +0100] [Client 224] POST /printers/Brother_HL-1430_series HTTP/1.1 D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [13/Jun/2022:21:05:34 +0100] [Client 224] Read: status=200, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 224] No authentication data provided. D [13/Jun/2022:21:05:34 +0100] [Client 224] 2.0 Get-Printer-Attributes 142 D [13/Jun/2022:21:05:34 +0100] Get-Printer-Attributes ipp://raspberrypi.local:631/printers/Brother_HL-1430_series D [13/Jun/2022:21:05:34 +0100] [Client 224] Returning IPP successful-ok for Get-Printer-Attributes (ipp://raspberrypi.local:631/printers/Brother_HL-1430_series) from 192.168.178.27. D [13/Jun/2022:21:05:34 +0100] [Client 224] Content-Length: 1890 D [13/Jun/2022:21:05:34 +0100] [Client 224] cupsdSendHeader: code=200, type="application/ipp", auth_type=0 D [13/Jun/2022:21:05:34 +0100] [Client 224] con->http=0x8fd8f0 D [13/Jun/2022:21:05:34 +0100] [Client 224] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1890, response=0x8f3c80(IPP_STATE_DATA), pipe_pid=0, file=-1 D [13/Jun/2022:21:05:34 +0100] [Client 224] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0 D [13/Jun/2022:21:05:34 +0100] [Client 224] bytes=0, http_state=0, data_remaining=1890 D [13/Jun/2022:21:05:34 +0100] [Client 224] Flushing write buffer. D [13/Jun/2022:21:05:34 +0100] [Client 224] New state is HTTP_STATE_WAITING D [13/Jun/2022:21:05:34 +0100] [Client 224] Waiting for request. D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" D [13/Jun/2022:21:05:34 +0100] [Client 224] HTTP_STATE_WAITING Closing for error 32 (Broken pipe) D [13/Jun/2022:21:05:34 +0100] [Client 224] Closing connection. D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Not busy" D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" D [13/Jun/2022:21:05:34 +0100] [Client 225] Server address is "192.168.178.24". D [13/Jun/2022:21:05:34 +0100] [Client 225] Accepted from 192.168.178.27:38562 (IPv4) D [13/Jun/2022:21:05:34 +0100] [Client 225] Waiting for request. D [13/Jun/2022:21:05:34 +0100] [Client 225] POST /printers/Brother_HL-1430_series HTTP/1.1 D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Active clients" D [13/Jun/2022:21:05:34 +0100] [Client 225] Read: status=200, state=6 D [13/Jun/2022:21:05:34 +0100] [Client 225] No authentication data provided. D [13/Jun/2022:21:05:34 +0100] [Client 225] 2.0 Get-Job-Attributes 143 D [13/Jun/2022:21:05:34 +0100] Get-Job-Attributes ipp://raspberrypi.local:631/printers/Brother_HL-1430_series D [13/Jun/2022:21:05:34 +0100] [Client 225] Returning IPP successful-ok for Get-Job-Attributes (ipp://raspberrypi.local:631/printers/Brother_HL-1430_series) from 192.168.178.27. D [13/Jun/2022:21:05:34 +0100] [Client 225] Content-Length: 281 D [13/Jun/2022:21:05:34 +0100] [Client 225] cupsdSendHeader: code=200, type="application/ipp", auth_type=0 D [13/Jun/2022:21:05:34 +0100] [Client 225] con->http=0x8fd8f0 D [13/Jun/2022:21:05:34 +0100] [Client 225] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=281, response=0x8f3c80(IPP_STATE_DATA), pipe_pid=0, file=-1 D [13/Jun/2022:21:05:34 +0100] [Client 225] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0 D [13/Jun/2022:21:05:34 +0100] [Client 225] bytes=0, http_state=0, data_remaining=281 D [13/Jun/2022:21:05:34 +0100] [Client 225] Flushing write buffer. D [13/Jun/2022:21:05:34 +0100] [Client 225] New state is HTTP_STATE_WAITING D [13/Jun/2022:21:05:34 +0100] [Client 225] Waiting for request. D [13/Jun/2022:21:05:34 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
Ich kann da keinen Fehler entdecken. Hier noch die cupsd.conf
LogLevel debug PageLogFormat MaxLogSize 1m ErrorPolicy retry-job Port 631 #Listen /run/cups/cups.sock Listen 0.0.0.0:631 Browsing On BrowseLocalProtocols dnssd DefaultAuthType Basic WebInterface Yes <Location /> Require valid-user Satisfy any Order deny,allow Allow @LOCAL </Location> <Location /admin> Order deny,allow Allow @LOCAL </Location> <Location /admin/conf> Order deny,allow Allow @LOCAL </Location> <Location /admin/log> Order deny,allow Allow @LOCAL </Location> <Policy default> JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default <Limit Create-Job Print-Job Print-URI Validate-Job> Order deny,allow </Limit> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document> Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices> AuthType Default Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Order deny,allow </Limit> <Limit CUPS-Authenticate-Job> </Limit> <Limit All> Order deny,allow </Limit> </Policy> <Policy authenticated> JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default <Limit Create-Job Print-Job Print-URI Validate-Job> AuthType Default Order deny,allow </Limit> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document> AuthType Default Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Order deny,allow </Limit> <Limit Cancel-Job CUPS-Authenticate-Job> AuthType Default Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> <Policy kerberos> JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default <Limit Create-Job Print-Job Print-URI Validate-Job> AuthType Negotiate Order deny,allow </Limit> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document> AuthType Negotiate Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Order deny,allow </Limit> <Limit Cancel-Job CUPS-Authenticate-Job> AuthType Negotiate Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy>
Wer hat mir einen Hinweis? Danke für eure Hilfe.
Gruß BillMaier
Ps. angehängt noch ein screenshot aus der cups-web-ui