Bug 99490
| Summary: | redhat-config-httpd doesnt run in Severn | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux Beta | Reporter: | Richard Allen <ra> | ||||
| Component: | redhat-config-httpd | Assignee: | Phil Knirsch <pknirsch> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | beta2 | CC: | blocke, braden, chris.ricker, dave.habben, nitebirdz, richard.torkar, rvokal, webmaster, zarxos | ||||
| 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: | 2003-10-29 13:29:06 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: | 100643 | ||||||
| Attachments: |
|
||||||
*** Bug 100512 has been marked as a duplicate of this bug. *** Created attachment 93249 [details]
Fix line 9 in ApacheBase.py script (Ft.Xml.Xslt.Processor)
I manage to reproduce the problem by running the command using the absolute path:
# /usr/share/redhat-config-httpd/redhat-config-httpd
Traceback (most recent call last):
File "/usr/share/redhat-config-httpd/ApacheConf.py", line 50, in ?
import ApacheGizmo
File "ApacheGizmo.py", line 36, in ?
import ApacheBase
File "/usr/share/redhat-config-httpd/ApacheBase.py", line 9, in ?
from xml.xslt.Processor import Processor
ImportError: No module named xslt.Processor
Yet, fixing line 9 in the "ApacheBase.py" file the problem appears to go away
(see unified diff attached to the bug report):
from Ft.Xml.Xslt.Processor import Processor
Yet, the problem is still there when running the command from the default path
although it shows in a different way:
# /usr/bin/redhat-config-httpd
(GTK window with "Unknown error" message)
# which redhat-config-httpd | xargs ls -l
lrwxrwxrwx 1 root root 13 Jul 24 21:06
/usr/bin/redhat-config-httpd -> consolehelper
I performed a trace of the 'redhat-config-httpd', and came across something that
may be of some help (I'm no expert):
(...)
29729 0.000414 open("/etc/security/console.apps/redhat-config-httpd",
O_RDWR) = -1 ENOENT (No such file or directory)
29729 0.000253 open("/etc/security/console.apps/redhat-config-httpd",
O_RDONLY) = -1 ENOENT (No such file or directory)
(...)
# ls -l /etc/security/console.apps/redhat-config-httpd
lrwxrwxrwx 1 root root 37 Oct 19 2002
/etc/security/console.apps/redhat-config-httpd ->
/etc/security/console.apps/apacheconf
(The symlink is broken in Severn)
Looks like a duplicate of bug 105828 one of these two should be closed. This problem is present in Fedore Beta 2 and 3 since the same package version is used: redhat-config-httpd-1.1.0-3 Will be fixed among with a few other things real soon with a new version in Fedora. Thanks, Read ya, Phil *** Bug 105828 has been marked as a duplicate of this bug. *** Fixed in redhat-config-httpd-1.1.0-5 and later. Read ya, Phil *** Bug 108490 has been marked as a duplicate of this bug. *** *** Bug 109481 has been marked as a duplicate of this bug. *** |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030702 Description of problem: [root@localhost root]# redhat-config-httpd Traceback (most recent call last): File "/usr/share/redhat-config-httpd/ApacheConf.py", line 50, in ? import ApacheGizmo File "/usr/share/redhat-config-httpd/ApacheGizmo.py", line 36, in ? import ApacheBase File "/usr/share/redhat-config-httpd/ApacheBase.py", line 9, in ? from xml.xslt.Processor import Processor ImportError: No module named xslt.Processor Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Boot severn 2. Run the program 3. Additional info: