Brecht Samyn
2005-Sep-06 15:48 UTC
[Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20
A few weeks ago, I upgraded Samba 3.0.1x to 3.0.14a . After the upgrade, all completed printjobs on all 40 printers stayed in samba's print queue (they were removed from the unix-printqueue). When I installed 3.0.20rc2, everything back to normal. But since the upgrade this weekend to 3.0.20, the same thing happens again: no jobs were removed from the samba printerqueue's. Removing the .tdb files clears the queue, but doesn't solve the problem... Any hints? brecht A sample printer definition from smb.conf. We use lprng to spool the jobs to our lprng printserver. [poco] comment = Kleurprinter path=/var/spool/lp/samba printable = yes browseable = yes writeable = no create mode = 0700 printing = lprng print command = /usr/bin/lpr -r -P%p@linus -J '%J' %s lpq command = /usr/bin/lpq -P%p@linus lprm command = /usr/bin/lprm -P%p@linus %j lppause command = /usr/sbin/lpc -P%p@linus hold printer %j lpresume command = /usr/sbin/lpc -P%p@linus release printer %j -- Brecht Samyn, Systeemgroep Katholieke Universiteit Leuven Campus Kortrijk (KULAK) tel. ++32 56 246 264 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Brecht Samyn
2005-Sep-08 15:15 UTC
[Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20
Yesterday evening, I installed the old 3.0.20rc2 files again (make revert). When I first tested, printjobs were removed just fine from the windows queue. But this morning, printerqueues were filling up again. I don't see anything related in the logfiles. Should I remove all the printer tdb files before restarting samba? Am I the only one with this problem (in this version of Samba)? Brecht Brecht Samyn schreef:> A few weeks ago, I upgraded Samba 3.0.1x to 3.0.14a . After the > upgrade, all completed printjobs on all 40 printers stayed in samba's > print queue (they were removed from the unix-printqueue). When I > installed 3.0.20rc2, everything back to normal. > > But since the upgrade this weekend to 3.0.20, the same thing happens > again: no jobs were removed from the samba printerqueue's. > > Removing the .tdb files clears the queue, but doesn't solve the > problem... > > Any hints? > > brecht > > A sample printer definition from smb.conf. We use lprng to spool the > jobs to our lprng printserver. > > [poco] > comment = Kleurprinter > path=/var/spool/lp/samba > printable = yes > browseable = yes > writeable = no > create mode = 0700 > printing = lprng > print command = /usr/bin/lpr -r -P%p@linus -J '%J' %s > lpq command = /usr/bin/lpq -P%p@linus > lprm command = /usr/bin/lprm -P%p@linus %j > lppause command = /usr/sbin/lpc -P%p@linus hold printer %j > lpresume command = /usr/sbin/lpc -P%p@linus release printer %j > >-- Brecht Samyn, Systeemgroep Katholieke Universiteit Leuven Campus Kortrijk (KULAK) tel. ++32 56 246 264 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Gerald (Jerry) Carter
2005-Sep-22 01:51 UTC
[Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brecht Samyn wrote:> A few weeks ago, I upgraded Samba 3.0.1x to 3.0.14a . > After the upgrade, all completed printjobs on all 40 > printers stayed in samba's print queue (they were removed > from the unix-printqueue). When I installed 3.0.20rc2, > everything back to normal. > > But since the upgrade this weekend to 3.0.20, the same > thing happens again: no jobs were removed from the > samba printerqueue's. > > Removing the .tdb files clears the queue, but doesn't solve > the problem...I just combed through the diff between 3.0.20rc2 and 3.0.20. I don't see anything that would cause the problem to re-emerge. Is is possible that you just didn't see it on 3.0.20rc2 because of network conditions? And once 3.0.20 was running long enough the problem popped back up?> A sample printer definition from smb.conf. We use lprng > to spool the jobs to our lprng printserver. > > [poco] > comment = Kleurprinter > path=/var/spool/lp/samba > printable = yes > browseable = yes > writeable = no > create mode = 0700 > printing = lprng > print command = /usr/bin/lpr -r -P%p@linus -J '%J' %s > lpq command = /usr/bin/lpq -P%p@linus > lprm command = /usr/bin/lprm -P%p@linus %j > lppause command = /usr/sbin/lpc -P%p@linus hold printer %j > lpresume command = /usr/sbin/lpc -P%p@linus release printer %jI'll try to setup an LPRng server tomorrow and track this down. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDMg3SIR7qMdg1EfYRAnFKAJ9E+3MS2CvBmELfqYkfylnSCImxvwCcCTGR I/aiikihHHab0eqXmKdDEFc=eGfy -----END PGP SIGNATURE-----
Gerald (Jerry) Carter
2005-Sep-23 17:19 UTC
[Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brecht Samyn wrote: | A sample printer definition from smb.conf. We use lprng to spool the | jobs to our lprng printserver. | | [poco] | comment = Kleurprinter | path=/var/spool/lp/samba | printable = yes | browseable = yes | writeable = no | create mode = 0700 | printing = lprng | print command = /usr/bin/lpr -r -P%p@linus -J '%J' %s | lpq command = /usr/bin/lpq -P%p@linus Brecht, Just out of curiousity, try setting the lpq command to "/usr/bin/lpq -s -P%p@linus". LPRng has a way of reporting completed jobs. I'm still looking to this though. $ lpq -Pq1 Printer: q1@tornado ~ Queue: no printable jobs in queue ~ Server: no server active ~ Status: job 'root@tornado+250' saved at 12:13:51.055 ~ Rank Owner/ID Pr/Class Job Files Size Time done root@tornado+250 A 250 smbprn.00000005.5Pa 112115 12:13:50 $ lpq -s -Pq1 q1@tornado 0 jobs cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDNDj4IR7qMdg1EfYRAvTyAKDvnYGSUZiAR9U7RIIxYFArrl3ErACgkjGc 5863vnp1YXde6M53kacpSkM=npvy -----END PGP SIGNATURE-----
Gerald (Jerry) Carter
2005-Sep-23 17:23 UTC
[Samba] completed printjobs stay in queue after "upgrade" 3.0.20rc2 -> 3.0.20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brecht Samyn wrote: | A few weeks ago, I upgraded Samba 3.0.1x to 3.0.14a | . After the upgrade, all completed printjobs on all | 40 printers stayed in samba's print queue (they were removed | from the unix-printqueue). When I installed 3.0.20rc2, | everything back to normal. Scratch that last idea. Could you send me a screen shot of the windows print queu window showing the completed jobs ? cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDNDn8IR7qMdg1EfYRAoSbAJ4lLztoVpPDCWqwRwbKIu23QOCyEgCg3HpP cijkDmU8hSs+C1PuY6fMI2E=VRq3 -----END PGP SIGNATURE-----