• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Watchdog doesn't work

B

bzebedin

Guest
I installed Plesk 8.1 on a new FreeBSD Server.
After clicking on the Watchdog I get following message:

ERROR: WDExc

Error occurred while building configuration file. For help, refer to technical support.

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

0: /usr/local/psa/admin/plib/modules/watchdog/wdlib.php:703
check_monit_config(string '/tmp/monitrc.chk')
1: /usr/local/psa/admin/plib/modules/watchdog/wdlib.php:658
create_monit_config()
2: /usr/local/psa/admin/plib/modules/watchdog/wdlib.php:489
monit_service(string 'apache')
3: /usr/local/psa/admin/plib/modules/watchdog/configure.php:56
require_once(string '/usr/local/psa/admin/plib/modules/watchdog/configure.php')
4: /usr/local/psa/admin/plib/modules/watchdog/wdcplib.php:218
wd__require_once(string 'configure.php')
5: /usr/local/psa/admin/plib/modules/watchdog/preaction.php:24
require_once(string '/usr/local/psa/admin/plib/modules/watchdog/preaction.php')
6: /usr/local/psa/admin/htdocs/modules/watchdog/index.php:13
 
problem solved, in watchdog control panel need rename mysql-server.sh to mysql-server (without .sh)
 
Originally posted by Flintus
problem solved, in watchdog control panel need rename mysql-server.sh to mysql-server (without .sh)


Where do you find that files?
 
Originally posted by lordshinva
Where do you find that files?
Rename /usr/local/etc/rc.d/mysql-server to
mysql-server.sh

and reinstall the port psa-module-watchdog if you using the port system for install Plesk
[root]
cd /usr/ports/swsoft/psa-module-watchdog/
make reinstall
 
in my case (DEBIAN 4.0) i had to install xinted and then reconfigure psa-watchdog package -now everyting is working fine
 
You can try this:
Code:
/usr/local/psa/admin/bin/modules/watchdog/wd --regen-all

When you get your error message immediately go into ssh and look at the error log

Code:
tail -f /usr/local/psa/admin/logs/httpsd_error_log

It may work better if you do the tail command first, and then generate the error

You may see something like this

> /tmp/monitrc.chk:86: Error: the
> executable does not exist '/etc/init.d/mysqld'
> /tmp/monitrc.chk:87:
> Error: the executable does not exist '/etc/init.d/mysqld'
> /tmp/monitrc.chk:86: Error: the executable does not exist
> '/etc/init.d/mysqld'
> /tmp/monitrc.chk:87: Error: the executable does not exist
> '/etc/init.d/mysqld'

renaming it as previously suggested does fix the problem, but at least now you have the understanding of how to figure out the problem :)
 
Back
Top