[Samba] allocate_print_jobid: failed to allocate a print job for queue

Jarle Thorsen jarle at genbukan.no
Fri Mar 2 19:29:29 GMT 2007


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.... 


More information about the samba mailing list