| Summary: | New F16 install can't use/see network printers | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonathan Allen <jonathan> | ||||||||||
| Component: | cups | Assignee: | Tim Waugh <twaugh> | ||||||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 16 | CC: | jpopelka, twaugh | ||||||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | i686 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2012-03-27 10:42:52 UTC | Type: | --- | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Attachments: |
|
||||||||||||
|
Description
Jonathan Allen
2012-03-14 12:58:47 UTC
Applications->Administration->printing shows no local printers; file->connect pointed at the printer host by its IP address shows all four printers, but 'lpstat' still continues to ignore them. When you ran the troubleshooter did it offer you the opportunity to save a 'troubleshoot.txt' file on the final screen? That file would be useful to look at. Created attachment 570018 [details]
text file produced by printer troubleshooting
troubleshooting text file as requested
Could you please attach /var/log/cups/error_log? Created attachment 570050 [details]
/var/log/cups/error_log
/var/log/cups/error_log as requested
What does this say?: su -c 'iptables -L -n' Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTA BLISHED ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt: 22 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-h ost-prohibited Chain FORWARD (policy ACCEPT) target prot opt source destination REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-h ost-prohibited Chain OUTPUT (policy ACCEPT) target prot opt source destination You need to start system-config-firewall and allow 'Network Printing Client (IPP)'. Sadly, although that does bring some improvement, it doesn't actually get printing to happen. I disabled the firewall altogether (just to be sure) for the moment and LibreOffice and lpstat can now see all four print queues on the network server. I can generate print requests from LO or lpr at the command line, but they never leave the laptop. No log entries appear on the network server and no paper is disgorged from any printer. Here is the /var/log/cups/access_log, showing a couple of attempts to use 'lpr' to print files: localhost - - [18/Mar/2012:12:56:47 +0000] "POST /printers/P2015 HTTP/1.1" 200 +247 Create-Job successful-ok localhost - - [18/Mar/2012:12:56:47 +0000] "POST /printers/P2015 HTTP/1.1" 200 +16416 Send-Document successful-ok localhost - - [18/Mar/2012:12:56:48 +0000] "POST / HTTP/1.1" 200 343 +Create-Printer-Subscription successful-ok localhost - - [18/Mar/2012:13:00:18 +0000] "POST / HTTP/1.1" 200 154 +Cancel-Subscription successful-ok localhost - - [18/Mar/2012:13:00:18 +0000] "POST / HTTP/1.1" 200 343 +Create-Printer-Subscription successful-ok localhost - - [18/Mar/2012:13:06:08 +0000] "POST /printers/P2015 HTTP/1.1" 200 +299 Create-Job successful-ok localhost - - [18/Mar/2012:13:06:08 +0000] "POST /printers/P2015 HTTP/1.1" 200 +386 Send-Document successful-ok localhost - - [18/Mar/2012:13:06:30 +0000] "POST /printers/laser HTTP/1.1" 200 +299 Create-Job successful-ok localhost - - [18/Mar/2012:13:06:30 +0000] "POST /printers/laser HTTP/1.1" 200 +438 Send-Document successful-ok Here is /var/log/cups/error-log W [18/Mar/2012:12:21:26 +0000] failed to find device: cups-P2015 W [18/Mar/2012:12:21:36 +0000] failed to find device: cups-5550dn W [18/Mar/2012:12:21:37 +0000] failed to find device: cups-laser W [18/Mar/2012:12:21:50 +0000] failed to find device: cups-4500d and the output of 'lpq -a' Rank Owner Job File(s) Total Size active (null) 1 untitled 16384 bytes 1st (null) 2 untitled 1024 bytes active (null) 3 untitled 1024 bytes The printer icon appears on the screen and shows all three print requests with the status 'Not Connected', so in the attached .tgz file are the 'c' files from /var/spool/cups Created attachment 571112 [details]
TGZ of the 'c' files from /var/spool/cups
These are the three c0000* files from /var/spool/cups showing the status of the print jobs on the laptop.
Please run the troubleshooter again and attach the new troubleshoot.txt file you get. Created attachment 572800 [details]
text file from printer troubleshooting
Output file from printers->help->troubleshoot as requested.
Upon boot, the previous c* and d* files in /var/spool/cups had been removed. I did "ls -la | lpr -PP2015" in /var/spool/cups and a d* file appeared containing the "ls" output as plain text; no c* file. I then tasked trouble shooting about the print queue. It could see all four printers, so I selected P2015 and followed through to text output (it enabled debugging on the way). It reported that there were status messages associated with this printer: can't find printer.
Detailed output attached.
Thanks. The client machine is not able to resolve the hostname of the print server. What does 'ping purse.barumtrading.co.uk' say? 'ping' says: PING purse (192.168.1.10) 56(84) bytes of data. 64 bytes from purse (192.168.1.10): icmp_req=1 ttl=64 time=3.25 ms 64 bytes from purse (192.168.1.10): icmp_req=2 ttl=64 time=1.94 ms 64 bytes from purse (192.168.1.10): icmp_req=3 ttl=64 time=1.55 ms 64 bytes from purse (192.168.1.10): icmp_req=4 ttl=64 time=1.61 ms 64 bytes from purse (192.168.1.10): icmp_req=5 ttl=64 time=1.59 ms ^C --- purse ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 1.552/1.993/3.259/0.649 ms and to anticipate your next question, /etc/hosts contains: 127.0.0.1 clarissa clarissa.barumtrading.co.uk ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.1 mirror mirror.uk 192.168.1.10 purse purse.uk OK, sorry - I've just seen and fixed that problem. I put an '@' rather than a '.' as the first delimited in the full machine name. Setting the '.' in place correctly solves the problem. Sorry to have taken up so much of your time. |