PDA

View Full Version : services restarting issue


milan
01-19-2006, 05:47 AM
pfff. as the way I am looking at there whent something wrong with my installation. But here I go again

the issue I'am having now is next:
Today my mysql services have been locked.


Error connecting to MySQL: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2


So as a normal person would do I whant to restart the mysql services:

mysql:

server1:/# /etc/rc.d/init.d/mysql restart
-su: /etc/rc.d/init.d/mysql: No such file or directory

server1:/# mysql restart
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


I was thinking is this a mysql problem or just in general since I get errors whit restarting any services in DA services panel, so I tried to restart sshd with ssh:

server1:/# /etc/rc.d/init.d/sshd restart
-su: /etc/rc.d/init.d/sshd: No such file or directory


could anyone help me out with this.

Aspegic
01-19-2006, 07:50 AM
Are you sure mysql and ssh are in /etc/rc.d/init.d ?

I'm not certain about this, but I thought in debian they were in /etc/init.d
(e.g. /etc/init.d/sshd restart and /etc/init.d/mysql restart).