[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Problem with lpd not deleting spool files



The subject line says it all really. I've got a problem with lpd not
properly deleting printed spool files. Also, from time to time, I submit a
job (via samba or from the shell) and end up getting an earlier queued job
printing. If I clear down the queue (lpc clear), everything is OK.

I thought it might be a permission issue with '.seq' but that's consistent
with the contents ofthe rest of the spool file. The only thing is, some of
the files go in as owned by root, some by lp and some by the user. The bit
below is the 'ls -l -a' from an affected directory.

Anyone have any suggestions?


scooby:/var/spool/lpd/projlp> ls -a -l
total 6092
drwxrwxr-x   2 root     root         4096 Dec 11 12:30 .
drwxr-xr-x   8 lp       lp           4096 Nov 24 12:44 ..
-rw-rw---x   1 root     root            4 Dec 11 12:30 .seq
-rw-rw----   1 root     root           86 Dec 11 12:31 cfA016scooby
-rw-rw----   1 root     root           86 Dec 11 10:53 cfA017scooby
-rw-rw----   1 lp       lp             86 Dec 11 10:52 cfA018scooby
-rw-rw----   1 lp       lp             86 Dec 11 10:53 cfA019scooby
-rw-rw----   1 lp       lp             68 Dec 11 12:30 cfA020scooby
-rw-rw----   1 david    lp        1535733 Dec 11 10:50 dfA016scooby
-rw-rw----   1 david    lp        1535979 Dec 11 10:51 dfA017scooby
-rw-rw----   1 david    lp        1535732 Dec 11 10:52 dfA018scooby
-rw-rw----   1 david    lp        1535733 Dec 11 10:53 dfA019scooby
-rw-rw----   1 david    lp          20138 Dec 11 12:30 dfA020scooby
-rw-r--r--   1 root     root            6 Dec 11 12:31 lock
-rw-rw----   1 lp       lp             86 Dec 11 10:51 lpdtempAU8TNp
-rw-rw----   1 root     root           86 Dec 11 10:51 lpdtempCH5YMQ
-rw-rw----   1 root     root           86 Dec 11 10:50 lpdtempGSZF0w
-rw-rw----   1 lp       lp             86 Dec 11 10:50 lpdtempkeGMBz
-rw-rw-r--   1 root     root           25 Dec 11 12:30 status
scooby:/var/spool/lpd/projlp> cat .seq
021
scooby:/var/spool/lpd/projlp>


TIA,


--
David Morris
IT Manager, ALLVAC Ltd, Sheffield, UK
work: david [at] allvac.co.uk
home: david [at] brassedoff.net   http://www.davidm.demon.co.uk

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.