Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

lpc connect refused

Posted on 2000-05-01
7
Medium Priority
?
675 Views
Last Modified: 2013-12-15
our printserver here works great but from time to time it will stop printing and give the lpc connection refused error. we have found out how to fix the problem but are wondering, is this a problem with just mandrake 7.0(what we use) or is it common to all linux distributions?
0
Comment
Question by:GaryWilliams050100
7 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2771306
Are you talking about the case when there's a "hung print job" in a queue?
0
 

Author Comment

by:GaryWilliams050100
ID: 2773620
when we get this message all print functions hang for all printers.  the way we fix it is to delete all the spools for the printers and delete the printcap file. then restore them all.

 i gues what i want to know is, is there a differance in the way different distributions print? do some have stronger printing functions than others?
0
 

Expert Comment

by:ddurbin050400
ID: 2778168
Sometimes in our system a few jobs get hung up in the printers and then no one is able to print to that printer. What I do is run lpc clean printername This should clean out your hung jobs and allow your users to print. If that fails, try lpc restart printername. That always brings our hung printer back online. We use RedHat 6.1 with Turbo Linux's smaba server for our printserver needs.
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 40

Expert Comment

by:jlevie
ID: 2778794
Also you can simply delete the hung job, which normally releases the printing services. I most often see this when using networked printers and I suspect it to be a problem with the lpd daemon.
0
 

Expert Comment

by:rclayton
ID: 2964431
Oddly enough, I am running Mandrake 7.0, and I have the same problem.  Everything works for about two weeks, and then suddenly, I get "Error printing to queue lp - Error reason: lpr: connect: Connection refused - Jobs queued, but cannot start daemon"
Of course, the daemon is active.  Sending it a SIGHUP doesn't help.  The only thing I have been able to do is remove the printer description in /etc/printcap, remove the spool directory, and redefine the printer.
0
 
LVL 8

Accepted Solution

by:
akeh earned 225 total points
ID: 3007959
There's obviously a problem with
lpr/lpd/lpc in Mandrake 7.0.
http://www.linuxworld.com/linuxworld/lw-2000-03/f_lw-03-penguin_2.html
suggests that you install an older
version of the lpr package.
0
 

Author Comment

by:GaryWilliams050100
ID: 3010994
Comment accepted as answer
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

927 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