Red Hat Bugzilla – Bug 221036
Unable to run system-config-bind
Last modified: 2008-03-17 22:54:42 EDT
Description of problem:
I am unable to run system-config-bind. The tool gets past the the root password
request, but errors out in a python traceback.
Version-Release number of selected component (if applicable):
Everytime. I've also tried uninstalling and re-installing both the bind and
Steps to Reproduce:
1. Launch system-config-bind
2. enter root password.
Traceback (most recent call last):
File "/usr/sbin/system-config-bind", line 191, in ?
File "/usr/sbin/system-config-bind", line 91, in __init__
File "/usr/share/system-config-bind/BIND.py", line 84, in __init__
File "/usr/share/system-config-bind/BIND.py", line 108, in load
zone = Zone(filename, origin, self.nmdc, parent + [ real_key ], clas,
File "/usr/share/system-config-bind/Zone.py", line 368, in __init__
File "/usr/share/system-config-bind/Zone.py", line 165, in load
File "/usr/share/system-config-bind/Zone.py", line 149, in read
File "/usr/share/system-config-bind/Zone.py", line 99, in parse
rr=RR.parse(self, continuation, tokens, token_offsets)
File "/usr/share/system-config-bind/RR.py", line 953, in parse
return RDATA[token.upper()](zone, name, clas, ttl, tokens, offsets, next_tok+1)
File "/usr/share/system-config-bind/RR.py", line 346, in __init__
File "/usr/share/system-config-bind/RR.py", line 37, in parse
token = tokens.pop(0)
IndexError: pop from empty list
Window allowing me to configure DNS.
On first invocation, the system-config-bind tools asked if I wanted to install
default files. I responded yes, and the session hung. Is my environment
perhaps in a bad state. How would I reset it?
You can try to remove /etc/named.conf...
Hi Martin. Thanks. I had thought the /etc/named.conf would have been erased
with my repeated attempts to remove and re-install the packages.
I am able to launch the configuation tool, but now seem to be stuck on getting
an example named.conf to save.
When I keep the named.conf file created by the default, the tools complains that
it can't do the save due to a bad syntax on an allow-query command. (I can't
find a reference to this in the named.conf.
When I erase the named.conf file and try a fresh save, I get the following
traceback (and no save).
Traceback (most recent call last):
File "/usr/share/system-config-bind/ErrorDialog.py", line 95, in on_exit
File "/usr/share/system-config-bind/ZoneTree.py", line 463, in answer
if s.bind.save() and s.bind.named_is_running():
File "/usr/share/system-config-bind/BIND.py", line 284, in save
s.gui.modalError(s.gui.gui, _('DNS Configuration File Save Error:'),
File "/usr/lib/python2.4/string.py", line 318, in join
TypeError: sequence item 0: expected string, int found
I'll dump this attempt and see if I can build up a configuration from teh
examples found in /usr/share/doc/bind-9.3.3/sample/var/named
have you installed a caching-nameserver package?
have you installed a bind-chroot package?
can you please attach your /etc/named.conf?
The information we've requested above is required in order
to review this problem report further and diagnose/fix the
issue if it is still present. Since there have not been any
updates to the report since thirty (30) days or more since we
requested additional information, we're assuming the problem
is either no longer present in the current Fedora release, or
that there is no longer any interest in tracking the problem.
Setting status to "INSUFFICIENT_DATA". If you still
experience this problem after updating to our latest Fedora
release and can provide the information previously requested,
please feel free to reopen the bug report.
Thank you in advance.
Manually configured BIND and so never experimented further with the graphical tool.