Service Monitor Error [mysql] works, but displays blank error

rndinit0

Verified User
Joined
Jan 15, 2005
Messages
98
OS: debian 3.1
Standard Install no changes made to default setup

Edited: /usr/local/directadmin/conf/mysql.conf
user=******
passwd=*******
socket=/tmp/mysql.sock <-- added this line

Looking at service montor:

I can see mysqld running and It displays all the relevant PIDs.

-------------------------------------------------
Stopping mysqld:

An error has occurred

Details

(there are no details displayed)

Now if i refresh the service monitor page:

I can see that mysqld is not running
ps -e mysqld returns nothing

--------------------------------------------------

Starting Mysqld:

An error has occured

Detais

(again no details shown)

--------------------------------------------------

Refreshing Service Monitor page:

I can see mysqld is in fact running.
ps -e mysqld confirms this

Ive checked directadmin error logs, nothing to be found there.


--------------------------------------------------
Any ideas why this is happening, and how I can fix it?
 
Last edited:
Hello,

1) Run:

/etc/init.d/mysqld stop

/etc/init.d/mysqld start

check for errors. DA returns an error if that script returns a non-zero value. If there are no errors, and everything is fine, then edit /etc/init.d/mysqld, and add:

exit 0;

to the end of the script to suppress the error.

As for the mysql.sock problem DA should be defaulting to /tmp/mysql.sock. Check your Admin Level -> Licenses/Updates. Check the "compiled for" page.. make sure it actually says Debian, and not some other flavor of linux.

John

John
 
Back
Top