Solved

can't open queue file

Posted on 1997-06-19
3
378 Views
Last Modified: 2013-12-23
When I print some reports through a program written in Informix, half way through the process, I actually do a Cancel to cancel the print job at the unix prompt.

Later when I try to print again, I got "lpstat: can't open output queue file". Does it means that the files is missing?
Do I have to delete the current virtual printer and add a new one??

0
Comment
Question by:ymlew
3 Comments
 
LVL 5

Expert Comment

by:n0thing
ID: 1582156
Hi,

   No you don't have to remove the queue and reinstall it. Do
simply "lpq" to list current print job on queue and "lprm" to
remove that job. These commands are for Solaris and some other
Unix variants, yours may be different.

Regards,
Minh Lai
0
 

Author Comment

by:ymlew
ID: 1582157
I tried to do a "lpg" to list the print job on queue but there are no print job.

Yet the system keeps telling me that no queue file is found.



0
 
LVL 1

Accepted Solution

by:
henrys earned 100 total points
ID: 1582158
This sequence usually works for me (Solaris 2.5):
Stop LP scheduler (lpshut)
Delete all queue files/directories (rm -r /var/spool/lp/tmp/* /var/spool/lp/requests/*)
Restart scheduler (lpsched)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now