the srvice mysqld is down in my vps

2hamed

Verified User
Joined
Apr 13, 2011
Messages
31
hey there...
the problem is that I recently bought a vps with DA installed on it but when I go to Services' Status section it says that mysqld is down and when I attempt to start it, it throws an error.
it's just weird that the 'exim' is exactly like mysqld and it's down.
any help would be appreciated.
 
I checked all the logs and this is all I could find related to mysql daemon ...
in DA Task Queue Log:
Code:
2011:04:15-11:04:35: service mysqld didn't start, re-starting it
2011:04:15-11:05:24: service mysqld wasn't running, starting it
2011:04:15-11:05:34: service mysqld didn't start, re-starting it
2011:04:15-11:06:24: service mysqld wasn't running, starting it
2011:04:15-11:06:34: service mysqld didn't start, re-starting it
2011:04:15-11:07:24: service mysqld wasn't running, starting it
2011:04:15-11:07:34: service mysqld didn't start, re-starting it
2011:04:15-11:08:24: service mysqld wasn't running, starting it
2011:04:15-11:08:34: service mysqld didn't start, re-starting it
2011:04:15-11:09:24: service mysqld wasn't running, starting it
2011:04:15-11:09:34: service mysqld didn't start, re-starting it

in DA System Log:
Code:
2011:04:15-11:09:24: mysqld started
2011:04:15-11:09:39: mysqld restarted
2011:04:15-11:10:24: mysqld started
2011:04:15-11:10:39: mysqld restarted
2011:04:15-11:11:24: mysqld started
2011:04:15-11:11:39: mysqld restarted
2011:04:15-11:12:24: mysqld started
2011:04:15-11:12:39: mysqld restarted

that's all. I'm really desperate about this...
 
Can you post the output of this command:

tail /var/lib/mysql/$(hostname).err

Regards
 
it's a little bit astounding but the mysql-server package was not installed so I installed it using 'apt-get install mysql-server' but now the problem is everything is trying to connect through /tmp/mysql.sock but the file does not exist!
what should I do now?
regards
 
never, and i say NEVER, install apache mysql php exim or other packaged managed by directadmin using yum and/or apt-get.

Remove mysql-serve from apt and install it from custombuild

Code:
apt-get remove mysql-server
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build mysql
./build php n

Regards
 
Back
Top