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.

bind error

Discussion in 'Bind / DNS / Nameserver Issues' started by hopewell10, Jul 3, 2005.

  1. hopewell10

    hopewell10 Member

    Joined:
    Apr 25, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    hi all
    major prob

    named has failed, please contact the sysadmin (result was "named is not running"). Jul 3 00:48:30 server named: named shutdown failed Jul 3 00:48:31 server named: named startup succeeded Jul 3 00:48:31 server named[29111]: starting BIND 9.2.2 -u named Jul 3 00:48:31 server named[29111]: using 2 CPUs Jul 3 00:48:31 server named[29117]: loading configuration from '/etc/named.conf' Jul 3 00:48:31 server named[29117]: /etc/named.conf:775: zone 'xczcxz.4ursite.co.uk': already exists Jul 3 00:48:31 server named[29117]: loading configuration: failure Jul 3 00:48:31 server named[29117]: exiting (due to fatal error)

    treid restarting server (on a vps) but still no luck.

    The above error i get when restarting bind.


    My support from the seller of the vps is down so if any one here can help would be very appreciated


    Jamie
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Looks like you have a duplicate zone line in /etc/named.conf:
    You should edit the file, search for that domain and remove one of the entries, then try restarting named.
     
  3. hopewell10

    hopewell10 Member

    Joined:
    Apr 25, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    how do i get that file?

    Hi
    Thanks for pointing that out, feel kinda stupid for not seeing it.

    Another stupid Q, how do i get to that file to edit it?!


    What do i use to access it? (ssh, whm.....)

    Thanks
    Jamie
     
  4. hopewell10

    hopewell10 Member

    Joined:
    Apr 25, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    found etc

    Got /etc thro ssh but it only has pear.conf in it.

    Is there another etc file?

    Thanks
    Jamie
     
  5. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    ssh into the server as a user

    then type su -
    and it should ask you for the root password

    then edit the /etc/named.conf using your favorite editor

    i prefer vi

    as in

    vi /etc/named.conf

    look for that line as you will have a duplicate

    delete one of them

    restart bind
     
Loading...

Share This Page