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.

Help named and mysql not starting after install!!!

Discussion in 'General Discussion' started by Zwer, May 28, 2008.

  1. Zwer

    Zwer Registered

    Joined:
    May 25, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    After installing Cpanel on Centos 5.1 64bit not start and named mysql Why help?


    Attempting to restart named
    Waiting for named to restart.... . . . . . . . . . . finished.

    named status

    named has failed, please contact the sysadmin (result was "named is not running"). May 28 13:38:05 localhost named: none:0: open: /etc/named.conf: file not found


    usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  3. Michel McA

    Michel McA Member
    PartnerNOC

    Joined:
    Sep 1, 2007
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Looks like your /etc/named.conf doesn't exist. Check to make sure it exists, check the permissions on it as well.

    Additionally your mysql.sock file is either not being created, or isn't at the location specified. Check your filesystem, make sure its R-W.
     
  4. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    For mysql do this:

    Hello,

    To start mysql do the following steps

    killall -9 mysqld
    cd /etc/rc.d/init.d
    safe_mysqld --skip-grant-tables &
    Ctrl+C
    mysqladmin status



    for named , do

    /scripts/cleansdns
    /scripts/fixndc
     
Loading...

Share This Page