CUPS Error log quickly filling up

Issues related to applications and software problems
Post Reply
supmethods
Posts: 55
Joined: 2011/07/15 08:24:11

CUPS Error log quickly filling up

Post by supmethods » 2022/07/17 11:57:20

The CUPS error log is quickly filling up. In a few days, it has filled up to 1.8GB.

I need help identifying the reason why the log has filled up so quickly. Here's a snippet of the error log:

Code: Select all

D [15/Jul/2022:09:08:05 +1000] [Job 1741429] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:87f14fd8-e2c1-3c85-660b-2ac816cdd376 job-originating-host-name=localhost time-at-creation=1657840033 time-at-processing=1657840075 time-at-completed=time-at-completed"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] argv[6]="/var/spool/cups/d1741429-001"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[8]="HOME=/var/spool/cups/tmp"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[9]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[10]="SERVER_ADMIN=root@pmdsn40.macarthur.local"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[11]="SOFTWARE=CUPS/1.4.2"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[13]="USER=root"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[16]="IPP_PORT=631"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[17]="CHARSET=utf-8"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[18]="LANG=en_US.UTF-8"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[19]="PPD=/etc/cups/ppd/mzpay1.ppd"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[20]="RIP_MAX_CACHE=128m"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[21]="CONTENT_TYPE=text/plain"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[22]="DEVICE_URI=lpd://mzpay1/raw?timeout=10"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[23]="PRINTER_INFO=mzpay1"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[24]="PRINTER_LOCATION="
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[25]="PRINTER=mzpay1"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] envp[26]="CUPS_FILETYPE=document"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Started backend /usr/lib/cups/backend/lpd (PID 5903) D [15/Jul/2022:09:08:05 +1000] [Job 1741429] STATE: +connecting-to-device D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Looking up "mzpay1"...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Connecting to mzpay1:515 for printer raw D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Connecting to printer...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] STATE: -connecting-to-device D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Connected to printer...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Connected to 172.29.51.44:515 (IPv4) (local port 1020)...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] lpd_command 02 raw D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Sending command string (5 bytes)...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Reading command status...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] lpd_command returning 0 D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Control file is:
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Hpmdsn40.macarthur.local D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Ppick D [15/Jul/2022:09:08:05 +1000] [Job 1741429] J_stdin_ D [15/Jul/2022:09:08:05 +1000] [Job 1741429] ldfA903pmdsn40.macarth D [15/Jul/2022:09:08:05 +1000] [Job 1741429] UdfA903pmdsn40.macarth D [15/Jul/2022:09:08:05 +1000] [Job 1741429] N_stdin_ D [15/Jul/2022:09:08:05 +1000] [Job 1741429] lpd_command 02 95 cfA903pmdsn40.macarth D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Sending command string (26 bytes)...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Reading command status...
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Set job-printer-state-message to "Remote host did not respond with command status byte after 10 seconds!", current level=WARN D [15/Jul/2022:09:08:05 +1000] [Job 1741429] lpd_command returning 4 D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Backend returned status 1 (failed) D [15/Jul/2022:09:08:05 +1000] [Job 1741429] Retrying job on same printer.
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] End of messages D [15/Jul/2022:09:08:05 +1000] [Job 1741429] printer-state=3(idle) D [15/Jul/2022:09:08:05 +1000] [Job 1741429] printer-state-message="/usr/lib/cups/backend/lpd failed"
D [15/Jul/2022:09:08:05 +1000] [Job 1741429] printer-state-reasons=none

BShT
Posts: 584
Joined: 2019/10/09 12:31:40

Re: CUPS Error log quickly filling up

Post by BShT » 2022/07/20 12:16:20

looks like a printer error

cables?

the stupid correction is to rotate logs daily...

ps: i like to set "abort job" at printer policy

Post Reply