[Samba] Printing Problem with Samba ' Failed to allocate a print
job'
Misty Stanley-Jones
misty at borkholder.com
Tue Apr 8 16:48:20 GMT 2008
I=92m using Samba 3.0.24 on Ubuntu Feisty. I=92m managing my printers =
with
CUPS. =20
=20
Just yesterday, one printer stopped being able to print through Samba. =
This
printer still prints fine directly from CUPS. When I try to send any =
print
job to the print via Samba, I get this:
=20
[2008/04/08 11:15:58, 0] printing/printing.c:allocate_print_jobid(2262)
allocate_print_jobid: failed to allocate a print job for queue
truss_hp4050_2
[2008/04/08 11:15:58, 3] printing/printing.c:print_job_start(2431)
print_job_start: returning fail. Error =3D No space left on device
=20
At first glance, I would think the disk was full. It=92s actually not:
root at oink:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdf1 106G 41G 60G 41% /
varrun 1006M 844K 1005M 1% /var/run
varlock 1006M 4.0K 1006M 1% /var/lock
procbususb 1006M 140K 1006M 1% /proc/bus/usb
udev 1006M 140K 1006M 1% /dev
devshm 1006M 0 1006M 0% /dev/shm
/dev/sda1 1.4T 293G 1014G 23% /data
/dev/md0 1.2T 770G 380G 67% /backup
/data/home 1.4T 293G 1014G 23% /home
=20
Then I checked to make sure the permissions on the spool directory were =
OK:
root at oink:~# ls -ld /data/samba/spool
drwxrwxrwt 3 root Domain Users 49152 2008-04-08 11:17 /data/samba/spool
=20
I don=92t use /var/spool/samba but here are its permissions anyway:
root at oink:~# ls -ld /var/spool/samba
drwxrwxrwt 2 root root 4096 2007-05-22 13:53 /var/spool/samba
=20
Thinking it might just be a temporary thing with Samba, I restarted it =
last
night after everyone left. The problem still persists. I have not
restarted the entire server yet. There are no errors in dmesg or
/var/log/messages.
=20
I checked this morning to see if there was a newer Samba version for =
Feisty,
but there isn=92t. I found a few instances of this type of problem on =
Google,
but no real answers. Plus, they all seemed to be old.
=20
Thanks for any help,
Misty
=20
No virus found in this outgoing message.
Checked by AVG.=20
Version: 7.5.519 / Virus Database: 269.22.9/1365 - Release Date: =
4/8/2008
7:30 AM
=20
More information about the samba
mailing list