Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-19-2005, 01:30 PM   #1
LQ Newbie
Registered: Oct 2005
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
Question Red Hat: Print jobs stay queued in /var/spool/lp

My machine is a Visara Thin Client running Red Hat Linux 7.0 (Guinness).
Kernel is 2.2.18 on an i586.

What is happening is that we are sending jobs over the network to the machine to print to a locally attached printer.

The machine's printcap file currently states:

There are well over 50 jobs queued up in /var/spool/lp,

Normally the LPD would recognize that there are jobs there queued up and send them to the locally attached printer on lp0, however, that is not the case.

After a couple of print requests, the LPD will pick up one of the queued reports and send it on its way, but the currently requested print job will go to the bottom of the queue.

I am not sure how to troubleshoot the LPD.

If there is anyone out there that could point me to getting these jobs to print and stop queueing, it would be greatly appreciated.

Thanks in advance.
Old 10-19-2005, 01:42 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Do you have a script in /etc/init.d that starts/stops lpd? If so have you tried running that script for example:

/etc/init.d/lpd stop

/etc/init.d/lpd start

Sometimes just restarting the daemon helps.
Old 10-19-2005, 04:21 PM   #3
LQ Newbie
Registered: Oct 2005
Distribution: Red Hat
Posts: 2

Original Poster
Rep: Reputation: 0
jlightner - Thank you very much, the daemon restart worked.

I never knew about the scripts.

I navigated to /etc/init.d followed by issuing a "./lpd restart" and all jobs went to the local printer.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
How do companies like RED HAT stay in business? LinuxPadawan Linux - General 3 03-07-2005 10:50 PM
jobs queued in cups but printer wont print samel_tvom Linux - Software 1 11-28-2004 09:03 PM
Print Jobs Get Lost in CUPS Spool jmoutdoors Linux - Networking 1 12-17-2003 09:12 AM
What is /var/spool/mqueue?? WorldBuilder Linux - General 4 05-07-2003 02:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration