Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

bind

Discussion in 'Bind/DNS/Nameserver' started by anand, Feb 27, 2004.

  1. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Today i noticed something very strange on a box of my customer.

    /etc/rc.d/init.d/named restart
    Stopping named: rndc: connect failed: connection refused
    [ OK ]
    [ OK ]

    Notice the error of connection failed/ refused. Well named is running in memory, and logs show its stopping and restarting. Any clues why still this error message ??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    Would this happen to be a RH9 box?
     
  3. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    hmm... let me check.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    WHM 8.8.0 cPanel 8.8.0-S74
    RedHat 9 - WHM X v2.1.2

    Yup its RH 9.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
  6. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Thx for the link. Now i get this:

    PHP:
    /etc/rc.d/init.d/named restart
    Stopping named
    rndcconnection to remote host closed
    This may indicate that the remote server is using an older version of
    the command protocol
    this host is not authorized to connect,
    or 
    the key is invalid.
                                                               [  
    OK  ]
    root@smith15 [/var/named]#                                 [  OK  ]
    any fix ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    Yeah, keep playing with it. I got that, too. Make sure that rndc.conf and named.conf have the same key. After that run /scripts/fixndc a few times. Eventually you will be able to fix it...:)
     
  8. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    bingo!

    got it.

    Modified /etc/rndc.conf and changed rndc-key to rndckey and it worked :)

    Thx casey for the pointers and all the help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    191
    No problem. Glad I could return the favor for the clamav update you posted. ;)
     
  10. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice