The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bizare named errors...

Discussion in 'General Discussion' started by brianteeter, Mar 19, 2002.

  1. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    I'm in process of setting up a new secondary DNS server and coming accross some strangeness. I have all the trust relationship stuff up and working - the problem is that named won't start. This is the error message I get:

    root@web2 [/etc/init.d]# ./named start
    Starting named: Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 174, &GEN5& line 27.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 186, &GEN5& line 27.
    parse error: Unexpected Fwuh? `' ('ns1.assortedinternet.com') following `masters' at /etc/named.conf:27 at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 23
    BIND::Conf_Parser::choke('ZoneParser=HASH(0x8107700)', 'Unexpected ', 'Fwuh? `\'', ' (', '\'ns1.assortedinternet.com\'', ') following `masters\' at ', '/etc/named.conf:27') called at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 217
    BIND::Conf_Parser::expect('ZoneParser=HASH(0x8107700)', 'ARRAY(0x80fbd10)', 'following `masters\'') called at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 285
    BIND::Conf_Parser::parse_addrlist('ZoneParser=HASH(0x8107700)', 'following `masters\'') called at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 741
    BIND::Conf_Parser::parse_zone('ZoneParser=HASH(0x8107700)') called at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 867
    BIND::Conf_Parser::parse_conf('ZoneParser=HASH(0x8107700)') called at /usr/lib/perl5/site_perl/5.6.0/BIND/Conf_Parser.pm line 889
    BIND::Conf_Parser::parse_file('ZoneParser=HASH(0x8107700)', '/etc/named.conf') called at /usr/lib/opcenter/bind/dns.pm line 271
    dns::getZones() called at /usr/lib/opcenter/bind/MasterName.pm line 108
    MasterName::updateRR('assortedinternet2.com', 'web2.assortedinternet.com') called at /usr/lib/opcenter/bind/hostname_update line 69


    It seems to be choking on the configuration file itself. Particularly the &master& entries in the file.

    Anyone have any idea what might be wrong?

    Thanks - Brian
     
  2. brianteeter

    brianteeter Well-Known Member

    Joined:
    Jan 6, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Also from /var/log/messages

    Mar 19 21:10:35 web2 named[16449]: starting BIND 9.1.3 -u named
    Mar 19 21:10:35 web2 named[16449]: using 1 CPU
    Mar 19 21:10:35 web2 named[16453]: loading configuration from '/etc/named.conf'
    Mar 19 21:10:35 web2 named[16453]: /etc/named.conf:27: parse error near 'ns1.assortedinternet.com'
    Mar 19 21:10:35 web2 named[16453]: loading configuration: failure
    Mar 19 21:10:35 web2 named[16453]: exiting (due to fatal error)
     
Loading...

Share This Page