Article ID: 6149, created on Mar 16, 2009, last review on May 10, 2014

  • Applies to:
  • Plesk 8.6 for Linux/Unix


Parallels Plesk Panel 8.6 is running on FreeBSD.

The following error is shown when try to start Watchdog through {Modules -> Watchdog -> Enable}:

Error: The monit service does not respond. Refer to Parallels technical support for help.


The service cannot be started because of empty monitrc:

~# ls -l /usr/local/psa/etc/modules/watchdog/monitrc
-rwxrw----  1 root  psaadm  0 Nov 24 21:05 monitrc

Which cannot be recreated since there are an error:

~# /usr/local/psa/admin/bin/modules/watchdog/wd --regen-all
/tmp/monitrc.chk:86: Error: the executable does not exist 'mysql-server'
/tmp/monitrc.chk:87: Error: the executable does not exist 'mysql-server'
Error occurred while building configuration file. For help, refer to technical

The problem is that full path to 'mysql-server' rc-script is not written:

~# tail +86 /tmp/monitrc.chk | head -3
        with pidfile "/var/db/mysql/"
        start = "mysql-server start"
        stop = "mysql-server stop"


To resolve the problem in Parallels Plesk Panel 8.6 you should add full path to mysql in /usr/local/etc/psa/modules/watchdog/monitrc.tpl.
Save old file to monitrc.tpl.orig in the same directory:

~# cd /usr/local/etc/psa/modules/watchdog
~# cp monitrc.tpl monitrc.tpl.orig

Open file monitrc.tpl with file editor (vim) and find section "# MySQL check process mysql" in it. Change path to mysql starting scripts:

~# vi monitrc.tpl
~# diff monitrc.tpl.orig monitrc.tpl
<       start = "<mysql_start>"
<       stop = "<mysql_stop>"
>       start = "/usr/local/etc/rc.d/<mysql_start>"
>       stop = "/usr/local/etc/rc.d/<mysql_stop>"

Save the file and recreate monitrc with command wd:

~# /usr/local/psa/admin/bin/modules/watchdog/wd --regen-all
Control file syntax OK

After that service Watchdog should be started through {Modules -> Watchdog -> Enable}.

The problem does not exists for Parallels Plesk Panel 9.
Valid path to scripts mysql_start and mysql_stop is set in monitrc.tpl.

a914db3fdc7a53ddcfd1b2db8f5a1b9c 9fa0130c84cac4b292697ade62270a40 29d1e90fd304f01e6420fbe60f66f838 b8ef5052d936e902043e41759118114e 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF