Bug 150890
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> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | engineering, milan.kerslager | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-05-02 12:06:14 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 176344 | ||||||
Attachments: |
|
Description
Siamack Haghighi
2005-03-11 18:25:31 UTC
Please attach the file /var/log/cups/error_log. Thanks. Created attachment 111902 [details]
The requested error log file: /var/log/cups/error_log
The requested error log file
Does /etc/hosts contain this line?: 127.0.0.1 localhost.localdomain localhost (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 The error_log file shows several problems with hostname look-ups. Is DNS working correctly for you otherwise? 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. 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? This may be a duplicate of the bug #168749 (in the case DNS is not a problem). No feedback since comment #7. 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 |