Results 1 to 7 of 7

Thread: named wont start

  1. #1
    Member
    Join Date
    Mar 2009
    Posts
    35

    Question named wont start

    here are the commands and outputs

    Code:
    Stopping named:                                           [  OK  ]
    Stopping named:
    Message from syslogd@server at Jul 13 15:07:42 ...
     t of memory [6641]
    
    Message from syslogd@server at Jul 13 15:07:42 ...
     t of memory [6641]
    
    Message from syslogd@server at Jul 13 15:07:42 ...
     t of memory [6641]
    
    Message from syslogd@server at Jul 13 15:07:42 ...
     t of memory [6641]
    
    Message from syslogd@server at Jul 13 15:07:42 ...
     t of memory [6641]
    
    Message from syslogd@server at Jul 13 15:07:42 ...
     t of memory [6641]
    
    Message from syslogd@server at Jul 13 15:07:42 ...
     t of memory [6641]
                                                               [FALHOU]
    Code:
    root@server [/scripts]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         15339       1020      14319          0        148        192
    -/+ buffers/cache:        679      14660
    Swap:        17519          0      17519
    Code:
    Executing /usr/local/cpanel/scripts/rebuilddnsconfig
    
    warn [fixrndc] /usr/sbin/rndc status failed: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)rndc: connect failed: 127.0.0.1#953: connection refused
    Restarting named
    warn [fixrndc] /usr/sbin/rndc status failed: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)rndc: connect failed: 127.0.0.1#953: connection refused
    fixeveryting does the same get's stuck in rndc and i tried updating, rebooting the server and so on.
    anyone ?

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: named wont start

    Hello,

    The issue is likely with portreserve on port 953 preventing rndc from working properly.

    Here are the steps we are advising until our internal case () has been fixed:

    Code:
    mv /etc/init.d/named /etc/init.d/named.bak120714
    yum reinstall bind
    You should see the following after the reinstall:

    Code:
    grep port /etc/init.d/named
    export KRB5_KTNAME=${KEYTAB_FILE:-/etc/named.keytab}
     [ -x /sbin/portrelease ] && /sbin/portrelease named &>/dev/null || :
    Then run the following:

    Code:
    /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start
    At that point, check the port:

    Code:
    netstat -plan | grep 953 | grep named
    Something like the following should show up:

    Code:
    root@host [~]# netstat -plan | grep 953 | grep named
    tcp        0      0 127.0.0.1:953 0.0.0.0:*    LISTEN      7194/named
    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Mar 2009
    Posts
    35

    Default Re: named wont start

    i did the reinstall and so on after that:

    Code:
    root@server [~]# /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start
    Stopping named:                                           [  OK  ]
    Stopping portreserve:
    Starting portreserve:                                   [  OK  ]
    Starting named:
    Message from syslogd@server at Jul 16 16:13:35 ...
     t of memory [30799]
    
    Message from syslogd@server at Jul 16 16:13:35 ...
     t of memory [30799]
                                                               [FALHOU]
    My problem is probably because this is a server with 16GB of ram that is using 32bit linux.
    is there any way to change it to 64bits in a fast way or do i have to back up everything and format the server?

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: named wont start

    We cannot really provide recommendations on trying to switch to 64 bit from 32 bit. I'd ensure you have backups of everything before proceeding. Best to reformat really, but you might want to ask your datacenter their recommendations instead.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Registered User
    Join Date
    Aug 2012
    Posts
    1
    cPanel/WHM Access Level

    Website Owner

    Default Re: named wont start

    Quote Originally Posted by cPanelTristan View Post
    Hello,

    The issue is likely with portreserve on port 953 preventing rndc from working properly.

    Here are the steps we are advising until our internal case () has been fixed:

    Code:
    mv /etc/init.d/named /etc/init.d/named.bak120714
    yum reinstall bind
    You should see the following after the reinstall:

    Code:
    grep port /etc/init.d/named
    export KRB5_KTNAME=${KEYTAB_FILE:-/etc/named.keytab}
     [ -x /sbin/portrelease ] && /sbin/portrelease named &>/dev/null || :
    Then run the following:

    Code:
    /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start
    At that point, check the port:

    Code:
    netstat -plan | grep 953 | grep named
    Something like the following should show up:

    Code:
    root@host [~]# netstat -plan | grep 953 | grep named
    tcp        0      0 127.0.0.1:953 0.0.0.0:*    LISTEN      7194/named
    Thanks!
    Finally, you solved my problem completely! Thank you so much for helping me out. Hope this helps others as well.

  6. #6
    Registered User
    Join Date
    Aug 2012
    Location
    Spokane, Washington, United States
    Posts
    4
    cPanel/WHM Access Level

    Root Administrator

    Default Re: named wont start

    This is brilliant. Thanks!

  7. #7
    Member
    Join Date
    Sep 2007
    Posts
    5

    Talking Re: named wont start

    Quote Originally Posted by cPanelTristan View Post
    Hello,

    The issue is likely with portreserve on port 953 preventing rndc from working properly.

    Here are the steps we are advising until our internal case () has been fixed:

    Code:
    mv /etc/init.d/named /etc/init.d/named.bak120714
    yum reinstall bind
    You should see the following after the reinstall:

    Code:
    grep port /etc/init.d/named
    export KRB5_KTNAME=${KEYTAB_FILE:-/etc/named.keytab}
     [ -x /sbin/portrelease ] && /sbin/portrelease named &>/dev/null || :
    Then run the following:

    Code:
    /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start
    At that point, check the port:

    Code:
    netstat -plan | grep 953 | grep named
    Something like the following should show up:

    Code:
    root@host [~]# netstat -plan | grep 953 | grep named
    tcp        0      0 127.0.0.1:953 0.0.0.0:*    LISTEN      7194/named
    Thanks!
    Had this problem on a cPanel DNS only server, any chance you know triggers the problem?

Similar Threads

  1. apache just wont start :(
    By bhanuprasad1981 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 11-22-2010, 09:27 PM
  2. named wont start
    By fuzioneer in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 07-22-2007, 09:10 PM
  3. named wont start
    By kusks in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 08-28-2006, 06:46 AM
  4. spamd wont start
    By Vectr0n in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-29-2006, 12:18 AM