[Samba] pdf printing queue never empties out

David Schlenk david-schlenk at bethel.edu
Tue Feb 15 21:10:34 GMT 2005


3.0.11 and deleting the printing/*.tdb files seemed to fix that 
behavior for many people on the list, including myself. Does this 
happen on regular queues or just the pdf queues?

On Feb 15, 2005, at 2:15 PM, Kevin Fenzi wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Greetings.
>
> I'm seeing an odd problem with 3.0.10 and 3.0.11 here.
>
> We have some pdf printers defined:
>
> [Accounting pdf printer]
>   printer admin = "DOMAIN+Domain Users"
>   browseable = yes
>   path = /pdfdropbox/Accounting
>   printable = yes
>   writeable = no
>   print command = /usr/bin/preprintpdf %s -r
>   lpq command =
>   lprm command =
>
> The /usr/bin/preprintpdf just passes the job on:
>
> #! /bin/sh
> OUTDIR=/pdfdropbox
> /usr/bin/printpdf -dCompatibilityLevel=1.4 "$1"
> rm $1
>
> The /usr/bin/printpdf converts the file to a pdf with ghostscript.
>
> With 3.0.7 everything worked fine. Jobs could be printed, the pdf's
> showed up and the queue was fine.
>
> With 3.0.10 or 3.0.11, the pdf's show up fine, but the queue never
> shows the jobs as completed. They continue to show up in the queue
> until samba is restarted. Note that the spool files are removed fine,
> so it's some internal samba state thats still reporting the jobs in
> the queue.
>
> With debug = 10, We see in the logs:
>
> [2005/02/11 18:01:53, 0] tdb/tdbutil.c:tdb_log(725)
>   tdb(/var/lib/samba/printing/IT pdf printer.tdb): tdb_lock failed on 
> list 1717 ltype=1 (Bad file descriptor)
> [2005/02/11 18:01:53, 0] tdb/tdbutil.c:tdb_log(725)
>   tdb(/var/lib/samba/printing/IT pdf printer.tdb): tdb_lock failed on 
> list 480 ltype=1 (Bad file descriptor)
> [2005/02/11 18:01:53, 0] 
> printing/printing.c:print_queue_update_internal(1201)
>   print_queue_update: failed to store MSG_PENDING flag for [IT pdf 
> printer]!
>
> We have tried removing the tdb files and restarting, but that seems to
> have no effect.
>
> Any ideas? Happy to provide any further information.
>
> kevin
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8 
> <http://mailcrypt.sourceforge.net/>
>
> iD4DBQFCElhM3imCezTjY0ERAp24AJ0SaWj6IBi3KszYfzFcRxvTE1EJfgCXaRKF
> 3W3bOtB8OoSmk8u/KYZ8YQ==
> =a1/M
> -----END PGP SIGNATURE-----
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
--
David Schlenk
Operating Systems Analyst
Bethel University
Saint Paul, Minnesota
david-schlenk at bethel.edu



More information about the samba mailing list