cups, filter failed

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Hopestation
Level 2
Level 2
Posts: 68
Joined: Sun Oct 18, 2015 11:47 am

cups, filter failed

Post by Hopestation »

Hi.
I have been using a Dell 1320CN laser printer on a network for a long time with previous versions of Mint but now that I have installed Mint 20 Cinnamon I can't get the printer working.

I have copied the files that I used previously into /usr/lib/cups/ and checked that they are all owned by root and have "Allow executing file as program" set.

When I try to print a test page I get the message that the printer stopped with the message: "processing since Sun 27 Sep 2020 15:48:09 BST "Filter Failed".

I've looked in the error_log file and found the following lines:

D [27/Sep/2020:15:48:09 +0100] Print-Job ipp://localhost:631/printers/Dell1320C
D [27/Sep/2020:15:48:09 +0100] [Job ???] Auto-typing file...
I [27/Sep/2020:15:48:09 +0100] [Job ???] Request file type is application/vnd.cups-pdf-banner.
D [27/Sep/2020:15:48:09 +0100] cupsdMarkDirty(---J-)
D [27/Sep/2020:15:48:09 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [27/Sep/2020:15:48:09 +0100] [Job 15] Applying default options...
D [27/Sep/2020:15:48:09 +0100] Adding default job-sheets values "none,none"...
I [27/Sep/2020:15:48:09 +0100] [Job 15] Adding start banner page "none".
D [27/Sep/2020:15:48:09 +0100] cupsdMarkDirty(----S)
D [27/Sep/2020:15:48:09 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [27/Sep/2020:15:48:09 +0100] cupsdMarkDirty(---J-)
D [27/Sep/2020:15:48:09 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [27/Sep/2020:15:48:09 +0100] [Job 15] Adding end banner page "none".
I [27/Sep/2020:15:48:09 +0100] [Job 15] File of type application/vnd.cups-pdf-banner queued by "anonymous".
D [27/Sep/2020:15:48:09 +0100] [Job 15] hold_until=0
I [27/Sep/2020:15:48:09 +0100] [Job 15] Queued on "Dell1320C" by "anonymous".
D [27/Sep/2020:15:48:09 +0100] [Job 15] time-at-processing=1601218089
D [27/Sep/2020:15:48:09 +0100] cupsdMarkDirty(---J-)
D [27/Sep/2020:15:48:09 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [27/Sep/2020:15:48:09 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [27/Sep/2020:15:48:09 +0100] cupsdMarkDirty(----S)
D [27/Sep/2020:15:48:09 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [27/Sep/2020:15:48:09 +0100] [Job 15] 4 filters for job:
D [27/Sep/2020:15:48:09 +0100] [Job 15] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [27/Sep/2020:15:48:09 +0100] [Job 15] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [27/Sep/2020:15:48:09 +0100] [Job 15] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [27/Sep/2020:15:48:09 +0100] [Job 15] /usr/lib/cups/filter/FXM_PF (application/vnd.cups-postscript to printer/Dell1320C, cost 0)
D [27/Sep/2020:15:48:09 +0100] [Job 15] job-sheets=none,none
D [27/Sep/2020:15:48:09 +0100] [Job 15] argv[0]="Dell1320C"
D [27/Sep/2020:15:48:09 +0100] [Job 15] argv[1]="15"
D [27/Sep/2020:15:48:09 +0100] [Job 15] argv[2]="anonymous"
D [27/Sep/2020:15:48:09 +0100] [Job 15] argv[3]="Test Page"
D [27/Sep/2020:15:48:09 +0100] [Job 15] argv[4]="1"
D [27/Sep/2020:15:48:09 +0100] [Job 15] argv[5]="job-uuid=urn:uuid:97641a2c-fb1d-3b04-7e82-796ae63220b2 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1601218089 time-at-processing=1601218089"
D [27/Sep/2020:15:48:09 +0100] [Job 15] argv[6]="/var/spool/cups/d00015-001"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[7]="CUPS_STATEDIR=/run/cups"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[8]="HOME=/var/spool/cups/tmp"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[10]="SERVER_ADMIN=root@roger-7200-3015A"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[11]="SOFTWARE=CUPS/2.3.1"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[13]="USER=root"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[14]="CUPS_MAX_MESSAGE=2047"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[17]="IPP_PORT=631"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[18]="CHARSET=utf-8"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[19]="LANG=en_GB.UTF-8"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[20]="PPD=/etc/cups/ppd/Dell1320C.ppd"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[21]="RIP_MAX_CACHE=128m"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[23]="DEVICE_URI=socket://192.168.0.4:9100"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[24]="PRINTER_INFO=FX DocuPrint C525 A-AP"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[25]="PRINTER_LOCATION=192.168.0.4"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[26]="PRINTER=Dell1320C"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[27]="PRINTER_STATE_REASONS=none"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[28]="CUPS_FILETYPE=document"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [27/Sep/2020:15:48:09 +0100] [Job 15] envp[30]="AUTH_I****"
I [27/Sep/2020:15:48:09 +0100] [Job 15] Started filter /usr/lib/cups/filter/bannertopdf (PID 2905)
I [27/Sep/2020:15:48:09 +0100] [Job 15] Started filter /usr/lib/cups/filter/pdftopdf (PID 2906)
I [27/Sep/2020:15:48:09 +0100] [Job 15] Started filter /usr/lib/cups/filter/pdftops (PID 2907)
I [27/Sep/2020:15:48:09 +0100] [Job 15] Started filter /usr/lib/cups/filter/FXM_PF (PID 2908)
I [27/Sep/2020:15:48:09 +0100] [Job 15] Started backend /usr/lib/cups/backend/socket (PID 2909)
D [27/Sep/2020:15:48:09 +0100] cupsdMarkDirty(----S)
D [27/Sep/2020:15:48:09 +0100] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients and dirty files"
D [27/Sep/2020:15:48:09 +0100] [Client 55] Returning IPP successful-ok for Print-Job (ipp://localhost:631/printers/Dell1320C) from localhost.
D [27/Sep/2020:15:48:09 +0100] [Client 55] Content-Length: 192
D [27/Sep/2020:15:48:09 +0100] [Client 55] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [27/Sep/2020:15:48:09 +0100] [Job 15] PID 2908 (/usr/lib/cups/filter/FXM_PF) stopped with status 102 (No such file or directory)

I've compared the settings for the files in PID 2905, 2906, 2907 and 2909 with 2908 and I can't see any differences.

These show that PID 2908 failed stopped due to No such file or directory, but as I said at the start, this file exists with the correct permissions.

I've seen that there have been similar problems with the changes from Mint 18 to 19. Is this a repeat of the same problem?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: cups, filter failed

Post by brian_p »

D [27/Sep/2020:15:48:09 +0100] [Job 15] PID 2908 (/usr/lib/cups/filter/FXM_PF) stopped with status 102 (No such file or directory)
No such file or directory often means that the filter cannot find something it is looking for, not that the filter itself does not exist. A link to the package it is in would be useful.
--
Brian.
Hopestation
Level 2
Level 2
Posts: 68
Joined: Sun Oct 18, 2015 11:47 am

Re: cups, filter failed

Post by Hopestation »

Hi Brian. Thanks for your reply.
I've finally had time to get back to the problem. Here is what's in the folder:

Name size Type Date Modified Permissions
Fuji_Xerox-DocuPrint_C525_A_AP-1.0-1.386.rpm
314.8kB Archive Thu14 Jul 2005 08:45:30 BST -rwxrwxrwx

usr 2 items Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
lib 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
cups 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
filter 9 items Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
FXM_ALC 221.0kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_cc 52.4kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_HBPL 58.5kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_MF 15.8kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_PF 17.1kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_PM2FXR 19.5kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_PR 22.6kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_PS2PM 753b Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x
FXM_SBP 43.7kB Program Wed01 Jun 2005 03:32:54 BST -rwxr-xr-x

share 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
cups 2 items Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
Fujxerox 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
dlut 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
FX_DocuPrint_C525_A_AP.dlut
265.9kB Binary Wed01 Jun 2005 03:32:54 BST -rw-r-r--

model 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
Fujxerox 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
en 1 item Folder Sun04 Oct 2020 11:20:04 BST drwxrwxr-x
FX_DocuPrint_C525_A_AP.ppd
65.3kB Text Wed01 Jun 2005 03:32:54 BST -rw-r-r--

fxprefilter-1.0.0.tar.gz
11.0kB Archive Thu14 Jul 2005 08:45:24 BST -rwxrwxrwx

filter 6 items Folder Fri20 May 2005 12:10:00 BST drwxr-xr-x
buflist.c 2.7kB Text Fri20 May 2005 12:10:00 BST -rw-r-r--
buflist.h 1.3kB Text Fri20 May 2005 12:10:00 BST -rw-r-r--
frprefilter.c 8.6kB Text Fri20 May 2005 12:10:00 BST -rw-r-r--
Makefile 586b Text Fri20 May 2005 12:10:00 BST -rw-r-r--
paramlist.c 2.7kB Text Fri20 May 2005 12:10:19 BST -rw-r-r--
paramlist.h 1.4kB Text Fri20 May 2005 12:10:28 BST -rw-r-r--
changelog 0b Text Fri20 May 2005 12:10:00 BST -rw-r-r--
copying 18.0kB Text Tue16 Sep 2003 21:51:03 BST -rw-r-r--

I've copied all the files in the Fuji_Xerox-DocuPrint_C525_A_AP-1.0-1.386.rpm file to the appropriate folders in File System.
I've tried to Make the Makefile in fxprefilter-1.0.0.tar.gz and it fails because it cannot find "makedefs", so I don't know if the prefilter is relevant.

I have used the .rpm files to get the printer working on 2 laptops, one running mint 8, many years ago and another that I now use, running Mint 18.
Before I upgraded my desktop from Mint 19.1 to Mint 20, that also worked, so I'm inclined to think that it is not the .rpm files that are at fault, but the change to Mint 20.
I tried inspecting the file FXM_PF in a HEX editor and there is some recognisable text but it didn't make any sense to me.
Any other suggestions would be welcome.
Locked

Return to “Printers & Scanners”