Solved

can't open queue file

Posted on 1997-06-19
3
392 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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Macbook Sierra OS OpenVPN issue 13 83
Confused about VPN connection and private IP addresses..?? 5 60
Public DNS? 10 78
Dell Powerconnect Switch lost username/password 2 43
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

809 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