Jarle Thorsen
2007-Feb-21 23:17 UTC
[Samba] allocate_print_jobid: failed to allocate a print job for queue
I have a printer connected to a linuxbox running Samba and Cups. I have followed the instructions in the Samba-HOWTO to export the printerdriver a a machine running Windows XP. When I try to print to the printer Windows says "Access denied", and in /var/log/samba/log.xp I get: [2007/02/21 18:24:20, 1] smbd/service.c:make_connection_snum(693) xp (192.168.1.101) connect to service Canon_i965 initially as user jarle (uid=1000, gid=1000) (pid 18102) [2007/02/21 18:24:20, 0] printing/printing.c:allocate_print_jobid(2241) allocate_print_jobid: failed to allocate a print job for queue Canon_i965
Gerald (Jerry) Carter
2007-Mar-02 13:49 UTC
[Samba] allocate_print_jobid: failed to allocate a print job for queue
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jarle Thorsen wrote:> I have a printer connected to a linuxbox running Samba and Cups. I have > followed the instructions in the Samba-HOWTO to export the printerdriver a > a machine running Windows XP. When I try to print to the printer Windows > says "Access denied", and in /var/log/samba/log.xp I get: > > [2007/02/21 18:24:20, 1] smbd/service.c:make_connection_snum(693) > xp (192.168.1.101) connect to service Canon_i965 initially as user jarle > (uid=1000, gid=1000) (pid 18102) > [2007/02/21 18:24:20, 0] printing/printing.c:allocate_print_jobid(2241) > allocate_print_jobid: failed to allocate a print job for queue Canon_i965Corrupt tdb in $lockdir/printing/ ? Try removing the Canon_i965.tdb file. cheers, jerry ====================================================================Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF6CtKIR7qMdg1EfYRAsjuAJ9p8MNgr60O1ozVjc5R8cFI3xZiOwCcDaHm 8lKdxHNldENU+dc6BL7/uGM=UooB -----END PGP SIGNATURE-----
Jarle Thorsen
2007-Mar-02 20:17 UTC
[Samba] allocate_print_jobid: failed to allocate a print job for queue
On Friday 02 March 2007 14:48, you wrote:> Jarle Thorsen wrote: > > I have a printer connected to a linuxbox running Samba and Cups. I have > > followed the instructions in the Samba-HOWTO to export the printerdriver > > a a machine running Windows XP. When I try to print to the printer > > Windows says "Access denied", and in /var/log/samba/log.xp I get: > > > > [2007/02/21 18:24:20, 1] smbd/service.c:make_connection_snum(693) > > xp (192.168.1.101) connect to service Canon_i965 initially as user > > jarle (uid=1000, gid=1000) (pid 18102) > > [2007/02/21 18:24:20, 0] printing/printing.c:allocate_print_jobid(2241) > > allocate_print_jobid: failed to allocate a print job for queue > > Canon_i965 > > Corrupt tdb in $lockdir/printing/ ? Try removing the > Canon_i965.tdb file.This did the trick! Now everything seems to work like a charm. (I had to restart samba after deleting the .tdb file though..) Maybe something should be done to improve the error checking? When logging in log-level 10 I was told that there was not enough free space... And it turns out that my problem did not have anything to do with storagespace....