Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    hst
    hst is offline
    Member
    Join Date
    Feb 2002
    Posts
    111

    Default named not working properly after cpanel update

    I get this message every time I restart named

    named has failed, please contact the sysadmin (result was "named is not running"). Aug 23 15:54:45 n21 named: named shutdown failed Aug 23 15:54:46 n21 named[27087]: starting BIND 9.2.4 -u named Aug 23 15:54:46 n21 named[27087]: using 2 CPUs Aug 23 15:54:46 n21 named: named startup succeeded
    Web Hoster

  2. #2
    aby
    aby is offline
    Member aby's Avatar
    Join Date
    May 2005
    Location
    India
    Posts
    638

    Lightbulb

    Quote Originally Posted by hst
    I get this message every time I restart named

    named has failed, please contact the sysadmin (result was "named is not running"). Aug 23 15:54:45 n21 named: named shutdown failed Aug 23 15:54:46 n21 named[27087]: starting BIND 9.2.4 -u named Aug 23 15:54:46 n21 named[27087]: using 2 CPUs Aug 23 15:54:46 n21 w named startup succeeded
    Can you please confirm that what was the status of the bind before you start it. Was it failed?. Also did you notice any errors in messages when you restart the bind.
    Aby

    MSN "abyvarghese007"
    Yahoo " abyattaikkulathu"

    http://slashome.com

  3. #3
    hst
    hst is offline
    Member
    Join Date
    Feb 2002
    Posts
    111

    Default modeprobe in messages

    I think bind was OK before update but really hadn't checked. Sites were working OK

    Messages says:
    modeprobe: modprobe: can't locate char-major-10-224
    Web Hoster

  4. #4
    aby
    aby is offline
    Member aby's Avatar
    Join Date
    May 2005
    Location
    India
    Posts
    638

    Lightbulb

    Quote Originally Posted by hst
    I think bind was OK before update but really hadn't checked. Sites were working OK

    Messages says:
    modeprobe: modprobe: can't locate char-major-10-224
    Please try to stop the bind. Then see if it shows any errors the. Also simultaneously check the /var/log/messages
    Aby

    MSN "abyvarghese007"
    Yahoo " abyattaikkulathu"

    http://slashome.com

  5. #5
    hst
    hst is offline
    Member
    Join Date
    Feb 2002
    Posts
    111

    Default Here is what I got

    Here is what SSH says:
    root@n21 [~]# /etc/rc.d/init.d/named stop
    Stopping named: /etc/rc.d/init.d/named: line 139: 11370 Segmentation fault /usr/sbin/rndc stop >/dev/null 2>&1
    [FAILED]
    root@n21 [~]#

    Here is in message
    GNU nano 1.2.1 File: /var/log/messages

    Aug 23 18:25:13 n21 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0$
    Aug 23 18:25:13 n21 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
    Aug 23 18:30:00 n21 modprobe: modprobe: Can't locate module char-major-10-224
    Aug 23 18:30:30 n21 last message repeated 3 times
    Aug 23 18:30:30 n21 sshd(pam_unix)[11239]: session opened for user root by (uid$
    Aug 23 18:30:30 n21 modprobe: modprobe: Can't locate module char-major-10-224
    Aug 23 18:30:46 n21 named: named shutdown failed
    Web Hoster

  6. #6
    hst
    hst is offline
    Member
    Join Date
    Feb 2002
    Posts
    111

    Default Any ideas

    Any ideas what might be the cause?
    Web Hoster

  7. #7
    aby
    aby is offline
    Member aby's Avatar
    Join Date
    May 2005
    Location
    India
    Posts
    638

    Lightbulb

    Did you try

    /scripts/updatenow
    /scripts/fixndc
    Aby

    MSN "abyvarghese007"
    Yahoo " abyattaikkulathu"

    http://slashome.com

  8. #8
    hst
    hst is offline
    Member
    Join Date
    Feb 2002
    Posts
    111

    Default Yes and it didnt work

    Tried both and it didn't help. Still cannot stop named and get fail error
    Web Hoster

  9. #9
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Hello,

    I am pasting a /etc/rc.d/init.d/named file of redhat machine below. Move your file to a backup and create that file using this code and then check. May be the location of your pid file, the bind user and conf file location are different. You can correct it by checking the named.conf
    --------------------------------------------------------------------
    #!/bin/sh
    #
    # $Id$
    #


    case "$1" in
    start)
    if [ -e /etc/binddisable ]; then
    exit
    fi
    if [ -e /etc/nameddisable ]; then
    exit
    fi
    [ -x /usr/sbin/named ] && /usr/sbin/named -u named -c /etc/named.conf && echo -n ' named'
    ;;
    stop)
    kill `cat /var/run/named/named.pid` && echo -n ' named'
    ;;
    *)
    echo "Usage: `basename $0` {start|stop}" >&2
    exit 64
    ;;
    esac

    exit 0
    --------------------------------------------

    Let me know the status
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  10. #10
    hst
    hst is offline
    Member
    Join Date
    Feb 2002
    Posts
    111

    Default Same Error

    Tried your code and code off of another server. Still errors. Says missing modeprobe: module char-major-10-224.
    Web Hoster

  11. #11
    Member
    Join Date
    Jun 2004
    Posts
    80

    Default

    same problem
    how to fix this .........

  12. #12
    Member DigiCrime's Avatar
    Join Date
    Nov 2002
    Posts
    388

    Default

    mv /lib/tls /lib/tls.disable
    service named restart

Similar Threads & Tags
Similar threads

  1. cPanel MySQL Backup option not working properly
    By dpika23 in forum Data Protection
    Replies: 3
    Last Post: 10-06-2010, 01:26 AM
  2. cPanel MySQL Backup option not working properly
    By dpika23 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-05-2010, 06:41 AM
  3. cpanel account moves not working properly
    By nsusa in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-05-2006, 07:35 AM
  4. Named stops working and named.conf empty
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 02-09-2006, 10:03 AM
  5. Are cpanel.net's servers not working properly? can't do /scripts/upcp
    By HD-Sam in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-15-2004, 12:46 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube