VMware Communities
mykmelez
Enthusiast
Enthusiast

"stopping job because the scheduler could not execute the backend" printing error

When I try to print something to a printer configured in my Mac OS X host and made available to my Ubuntu 9.10 guest via Virtual Machine > Settings > Printers > Enable, Ubuntu tells me: There was a problem printing 'DOCUMENT-NAME' (job JOB-ID): 'stopping job because the scheduler could not execute the backend.'.

Printing to the printer in Mac OS X works fine, however, as does configuring the printer in Ubuntu and printing to it directly. I see the same behavior with two different printers. Does anyone know what's wrong and how to fix it?

Reply
0 Kudos
2 Replies
mykmelez
Enthusiast
Enthusiast

Make that three different printers, including both USB and networked printers.

Reply
0 Kudos
mykmelez
Enthusiast
Enthusiast

Further investigation reveals that CUPS in my guest OS was reporting cups-insecure-filter, which was because tpvmgp and tpvmlp were setuid root:

myk@myk:/var/log/cups$ cd /usr/lib/cups/backend/
myk@myk:/usr/lib/cups/backend$ ll
...
-rwsr-xr-x 3 root dialout 568844 2009-12-11 13:23 tpvmgp
-rwsr-xr-x 3 root dialout 568844 2009-12-11 13:23 tpvmlp

Clearing those bits resolves that problem, but printing still fails, with the following written to /var/log/cups/error_log on the guest OS:

D [17/Dec/2009:07:20:20 -0800] [Job 497] Wrote 1 pages...
D [17/Dec/2009:07:20:20 -0800] [Job 497] Backend returned status 1 (failed)
D [17/Dec/2009:07:20:20 -0800] [Job 497] End of messages
D [17/Dec/2009:07:20:20 -0800] [Job 497] printer-state=3(idle)
D [17/Dec/2009:07:20:20 -0800] [Job 497] printer-state-message="/usr/lib/cups/backend/tpvmgp failed"
D [17/Dec/2009:07:20:20 -0800] [Job 497] printer-state-reasons=none

Nothing gets written to the CUPS, VMware Fusion, or system logs on the host OS, however.

Reply
0 Kudos