Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Location
    /
    Posts
    312

    Angry MySqld start is not working!

    Hello All,
    I got mysql error in my new centos dedicated server.

    [email protected] [~]# service mysqld status
    mysqld: unrecognized service
    [email protected] [~]#
    [email protected] [~]# /etc/init.d/mysql status
    MySQL running (31442) [ OK ]
    [email protected] [~]#
    In WHM its showing:
    mysqld_safe (/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/i79501.bdwebservices.com.pid) running as root with PID 30483


    mysqld (/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/i79501.bdwebservices.com.err --pid-file=/var/lib/mysql/i79501.bdwebservices.com.pid) running as mysql with PID 30544


    mysql has failed, please contact the sysadmin (result was "mysql is not running").
    BD Web Services | Since 2009
    Linux & Windows Hosting | Master Reseller Hosting | Remote Backup | Money Back Guarantee | DDOS Protected | USA & Germany
    Web and SEO Tools cPanel/WHM Proxy, DNS, SEO, GEO, QR Code, Website information AT-A-GLANCE

  2. #2
    Join Date
    Nov 2009
    Posts
    291
    Try -- service mysql status

  3. #3
    Join Date
    Jun 2009
    Location
    /
    Posts
    312
    Now its showing

    [email protected] [~]# mysql status
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    [email protected] [~]# service mysql status
    MySQL is not running, but lock exists [FAILED]
    [email protected] [~]#

    [email protected] [~]# /etc/rc.d/init.d/mysql start
    Starting MySQL......Manager of pid-file quit without updating [FAILED]
    [email protected] [~]#
    BD Web Services | Since 2009
    Linux & Windows Hosting | Master Reseller Hosting | Remote Backup | Money Back Guarantee | DDOS Protected | USA & Germany
    Web and SEO Tools cPanel/WHM Proxy, DNS, SEO, GEO, QR Code, Website information AT-A-GLANCE

  4. #4
    Join Date
    Dec 2005
    Location
    Swansea, United Kingdom
    Posts
    348
    Did you edit the my.cnf at all? also, try restarting cPanel (service cpanel restart).

  5. #5
    It seems stuck, try this:
    Code:
    killall -9 mysqld mysqld_safe ; /etc/init.d/mysql start
    You should check all databases afterwards.
    Server Management and server solutions / 24x7 live support / 20 minutes response time

Similar Threads

  1. mysqld unable to start
    By hello_x in forum Hosting Security and Technology
    Replies: 8
    Last Post: 08-24-2007, 11:32 PM
  2. Working in the IT industry - where do I start?
    By ataylor in forum Web Hosting Lounge
    Replies: 19
    Last Post: 04-23-2006, 02:09 PM
  3. You start your working day by...
    By Artashes in forum Web Hosting Lounge
    Replies: 24
    Last Post: 05-01-2003, 08:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •