• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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