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.

mysql down again

Discussion in 'General Discussion' started by Secret Agent, May 18, 2005.

  1. Secret Agent

    Secret Agent Guest

    root@server [/var/lib/mysql]# shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    pwd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    Starting mysqld daemon with databases from /var/lib/mysql
    STOPPING server from pid file /var/lib/mysql/server.domain.com.pid
    050518 16:45:01 mysqld ended


    /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").


    Ran /scripts/mysqlup --force and at the last portion

    Warning, no valid mysql.sock file 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
    Unknown argument '--verbose'
    Install Complete


    I've tried everything I can. I can't find a fix.

    /scripts/fixmysql
    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

    reset root and local mysql passwords.

    Please help.
     
  2. Secret Agent

    Secret Agent Guest

    Now I get this

    root@server [/var/lib/mysql]# ln -s /var/lib/mysql/mysql.sock mysql.sock
    root@server [/var/lib/mysql]# chmod 777 mysql.sock
    chmod: failed to get attributes of `mysql.sock': Too many levels of symbolic links
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    same problem here


    Darkorb PLEASE CAN YOU HELP US WITH THIS MYSQL PROBLEMS ?
     
Loading...

Share This Page