Bug 9084
Summary: | lpd does not restart properly if print queue exists | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | d-mueth |
Component: | lpr | Assignee: | Bernhard Rosenkraenzer <bero> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | algis, alz27, daniel.deimert, d-mueth, redhat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-04-28 12:29:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
d-mueth
2000-02-02 22:23:44 UTC
have you tried to install lpr-0.50-2 from the rawhide directory? Richard. I do have tried lpr-0.50, but it didn't solve the problem. And yes, it looks like a matter of file presents in the queue directory: if you empty that, all starts working fine. I just upgraded a RH 4.2 server to 6.1 and ran into this LPD problem. In my tinkering I found that if I remove the cf*, df* and lock file from the /var/spool/lpd/lp directory the first new print job goes through but then everything stops until I remove the aforementioned files. The odd thing is that I also resently installed RH 6.1 on a Dell notebook and it doesn't have the same problem, not that it's that heavily used though. I am seeing the same problem on RH-6.1. I have also tried using the lpr-0.50-4 from RH-6.2 but the problem persists. When the queue has hanged, doing "strace lpc start all" shows that lpc is accessing /dev/printer (and fails) one time for each printer queue, even though the queues are all remote lpd queues. This behaviour is not observed when I do "strace lpc start all" when the queue is working. I have found that printing resumes if I do... % /etc/rc.d/init.d/lpd restart % lpc abort all % lpc start all When I strace the "lpc abort all" it appears to empty the lock files in the printer queues. May I offer the suggestion that lpd has a problem with stale lockfiles and does not gracefully recover when a child lpd dies? This appears to be the same problem as bug #7488 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=7488 This is fixed in rawhide with the move to LPRng. I had same problems. Has put lpr-0.50-7.5.x they have not disappeared. It is the last version of the package? |