Bug 200205
| Summary: | snmp backend times out | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Backes <joachim.backes> |
| Component: | cups | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | athlon | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.2.2-1.8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-08-30 16:08:59 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: | 150223 | ||
| Attachments: | |||
|
Description
Joachim Backes
2006-07-26 07:04:18 UTC
A new CUPS package for FC5 was made available yesterday: https://www.redhat.com/archives/fedora-package-announce/2006-July/msg00097.html Please try that package (just 'yum update') and let me know if the problem is still present. Thanks. Has already been installed (cups-1.2.2-1.1), but did not help. Tailing /var/log/cups/error_log: I [27/Jul/2006:15:46:12 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3752) I [27/Jul/2006:15:46:12 +0200] Started "/usr/lib/cups/daemon/cups-deviced" (pid=3753) W [27/Jul/2006:15:46:45 +0200] [cups-deviced] Backend "snmp" did not respond within 30 seconds! Please show me the full output of: time /usr/lib/cups/backend/snmp Thanks. It seems that "time /usr/lib/cups/backend/snmp" hangs or is cpu busy: INFO: Using default SNMP Address @LOCAL INFO: Using default SNMP Community public If I stop it after waiting some time by Ctrl+C, then: real 1m0.775s user 0m0.000s sys 0m0.000s It consumed a lot of time. I did a "strace /usr/lib/cups/backend/snmp". The output will be attached. Created attachment 133214 [details]
strace /usr/lib/cups/backend/snmp
strace /usr/lib/cups/backend/snmp
Please try this test update: https://www.redhat.com/archives/fedora-test-list/2006-July/msg00666.html You should be able to install this using the command: yum --enablerepo=updates-testing 'cups*' as root. Does the backend still take a long time? If so, please show me the snmp.log from: CUPS_DEBUG_LEVEL=3 /usr/lib/cups/backend/snmp 2>&1 >snmp.log with the new (1.2.2-1.2) packages installed. Thanks. Hi, did not help - hangs as before. The output of CUPS_DEBUG_LEVEL=3 /usr/lib/cups/backend/snmp >snmp.log 2>&1 has been attached. Created attachment 133304 [details]
CUPS_DEBUG_LEVEL=3 /usr/lib/cups/backend/snmp >snmp.log 2>&1
Please try 1.2.2-1.3 from here: http://people.redhat.com/twaugh/tmp/cups-snmp/ It contains a small change that I hope will fix it. Hi, I'm sorry, but still hangs. Have attached the output of CUPS_DEBUG_LEVEL=3 /usr/lib/cups/backend/snmp Created attachment 133395 [details]
CUPS_DEBUG_LEVEL=3 /usr/lib/cups/backend/snmp
Hmm. Please try this: CUPS_DEBUG_LEVEL=3 strace /usr/lib/cups/backend/snmp 2>&1 | tee snmp.log and attach the resulting snmp.log. Thanks. Created attachment 133460 [details]
CUPS_DEBUG_LEVEL=3 strace /usr/lib/cups/backend/snmp 2>&1 | tee snmp.log
Please try 1.2.2-1.4 from here: http://people.redhat.com/twaugh/tmp/cups-snmp/ It contains another small change, and hopefully this really is the fix. Hi,
you fix seems to solve my problem, but not completely:
The printer adminstration does no more hang - now, I can modify printers by the
"Modify printer" button.
But: trying to modify the printer options by "Set printer options" fails with
the message "Error:
Not Found
"
I cannot imagine what this message means!
I think we've finally found the fix to the original problem them (great!). I've filed a report about this upstream: http://cups.org/str.php?L1880 Please file a separate bugzilla report about the "set printer options" problem, as it needs to be tracked separately. Thanks. |