|Summary:||Printer not working|
|Product:||Red Hat Enterprise Linux 4||Reporter:||Siamack Haghighi <engineering>|
|Component:||cups||Assignee:||Tim Waugh <twaugh>|
|Status:||CLOSED CANTFIX||QA Contact:||Ben Levenson <benl>|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2006-05-02 12:06:14 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:|
Description Siamack Haghighi 2005-03-11 18:25:31 UTC
Description of problem: Printer not working when trying to print a web page or a file. Version-Release number of selected component (if applicable): How reproducible: I am using a user account. I tried to print a page from mozilla firefox and nothing shows up. Steps to Reproduce: 1. The printer is configured using root account. The test page does come out to be OK. The printer uses jetdirect and is xerox phaser 8400. The ppd file is also loaded correctly and selected as the driver for the printer. 2. I logged in as a user and had to set up the printer configuration again (require root password). That works fine. 3. I tried to print a web page and nothing shows up. 4. I tried to printe from an xemacs window and get the following error: lpr: error - scheduler not responding. Actual results: Expected results: Additional info:
Comment 1 Tim Waugh 2005-03-11 19:02:38 UTC
Please attach the file /var/log/cups/error_log. Thanks.
Comment 2 Siamack Haghighi 2005-03-11 19:59:32 UTC
Created attachment 111902 [details] The requested error log file: /var/log/cups/error_log The requested error log file
Comment 3 Tim Waugh 2005-03-14 11:04:37 UTC
Does /etc/hosts contain this line?: 127.0.0.1 localhost.localdomain localhost
Comment 4 Siamack Haghighi 2005-03-14 16:06:33 UTC
(In reply to comment #3) > Does /etc/hosts contain this line?: > > 127.0.0.1 localhost.localdomain localhost > Yes, it does. In addition, there is a comment line before this line stating that this line should not be changed, otherwise the network functionality will not work. I added another line with the right network IP address for the host machine (does this make the machine appear as having two IP addresses? 127.0.0.1 and the other IP address)? Thanks
Comment 5 Tim Waugh 2005-04-11 11:28:44 UTC
The error_log file shows several problems with hostname look-ups. Is DNS working correctly for you otherwise?
Comment 6 Milan Kerslager 2005-09-08 20:39:29 UTC
I had DNS lookups errors too even I have working DNS and ping to DNS name works too. The same configuration works on RHEL3 since update to RHEL4. I had to change DNS names to IP addresses of the printers in the /etc/cups/cupsd.conf file. This is fully up-to-date system with regular RHN account, the line with 127.0.0.1 is present in the hosts file.
Comment 7 Tim Waugh 2005-09-09 13:49:59 UTC
This is some sort of problem stemming from those DNS lookup failures. ... E [09/Mar/2005:14:19:06 -0500] StartListening: Unable to find IP address for server name "localhost.localdomain" - Host name lookup failure ... E [10/Mar/2005:11:50:03 -0800] [Job 1] Unable to locate printer 'xeroxp8400cl' - Unknown host ... The /etc/hosts file looks right. Not sure what's up really. What other sorts of DNS lookup errors did you have?
Comment 8 Milan Kerslager 2006-01-07 10:43:17 UTC
This may be a duplicate of the bug #168749 (in the case DNS is not a problem).
Comment 10 Milan Kerslager 2006-07-25 20:36:16 UTC
As of my experiencies from CUPS based printer servers on Samba (ie MS-Win) networks with some Linux workstations, there is actually no problem with CUPS in RHEL4 except CUPS disables printing automagically if the printer is some time in error state (offline, unplugged, paper jam etc). You have to run "lpc status" and watch about "disabled" printing then run you have to use full path as 'enable' is internal command of bash shell): /usr/bin/enable PRINTER_NAME You may use this to auto-enable printer by cron daemon: /usr/sbin/lpc status | grep -B4 "printing is disabled" | \ grep : | tr -d ":" | xargs --max-args=1 /usr/bin/enable