[Samba] Printing Problem with Samba ' Failed to allocate a print job'
- Date: Tue, 8 Apr 2008 12:48:20 -0400
- From: "Misty Stanley-Jones" <misty@xxxxxxxxxxxxxx>
- Subject: [Samba] Printing Problem with Samba ' Failed to allocate a print job'
I’m using Samba 3.0.24 on Ubuntu Feisty. I’m managing my printers with
CUPS.
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:
[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 = No space left on device
At first glance, I would think the disk was full. It’s actually not:
root@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
Then I checked to make sure the permissions on the spool directory were OK:
root@oink:~# ls -ld /data/samba/spool
drwxrwxrwt 3 root Domain Users 49152 2008-04-08 11:17 /data/samba/spool
I don’t use /var/spool/samba but here are its permissions anyway:
root@oink:~# ls -ld /var/spool/samba
drwxrwxrwt 2 root root 4096 2007-05-22 13:53 /var/spool/samba
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.
I checked this morning to see if there was a newer Samba version for Feisty,
but there isn’t. I found a few instances of this type of problem on Google,
but no real answers. Plus, they all seemed to be old.
Thanks for any help,
Misty
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.9/1365 - Release Date: 4/8/2008
7:30 AM
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba