• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

watchdog module installation error

J

jean-david

Guest
Hi,
I installed watchdog and received the following status mail:
...
The following NEW packages will be installed:
psa-watchdog
0 upgraded, 1 newly installed, 0 to remove and 58 not upgraded.
Need to get 0B/1193kB of archives.
After unpacking 3236kB of additional disk space will be used.
Selecting previously deselected package psa-watchdog.
(Reading database ... 133087 files and directories currently installed.)
Unpacking psa-watchdog (from .../psa-watchdog_2.0.0-debian3.1.build80060428.20_i386.deb) ...
===> Checking database
Setting up psa-watchdog (2.0.0-debian3.1.build80060428.20) ...
===> Setting up file owners
===> Deletting old database
===> Installing database
===> Registering module
===> Configuring module
Error occurred while reading template file /opt/psa/etc/modules/watchdog/monitrc.tpl for the monit service

Installation done.


---
Plesk autoinstaller.

What does this error mean ?

If I go to the Modules > Watchdog, I get the following error:

ERROR: WDExc
Error occurred while reading template file /opt/psa/etc/modules/watchdog/monitrc.tpl for the monit service

0: /opt/psa/admin/plib/modules/watchdog/wdlib.php:698
gen_monit_config(string '/opt/psa/etc/modules/watchdog/monitrc.tpl', string '/tmp/monitrc.chk')
1: /opt/psa/admin/plib/modules/watchdog/wdlib.php:677
create_monit_config()
2: /opt/psa/admin/plib/modules/watchdog/wdlib.php:531
monit_service(string 'qmail')
3: /opt/psa/admin/plib/modules/watchdog/configure.php:52
require_once(string '/opt/psa/admin/plib/modules/watchdog/configure.php')
4: /opt/psa/admin/plib/modules/watchdog/wdcplib.php:212
wd__require_once(string 'configure.php')
5: /opt/psa/admin/plib/modules/watchdog/preaction.php:24
require_once(string '/opt/psa/admin/plib/modules/watchdog/preaction.php')
6: /opt/psa/admin/htdocs/modules/watchdog/index.php:13

Does anybody know what is the file /opt/psa/etc/modules/watchdog/monitrc.tpl for ?

Regards, Jean-David
 
I had the same problem.
I have the files :
/opt/psa/etc/modules/watchdog/monitrc.tpl
/opt/psa/etc/modules/watchdog/monitrc_vz.tpl
copied by one of my other servers now function it.

cu
 
thx for upload.

but no change:

ERROR: WDExc
Eine Ebene höherEine Ebene höher
Error occurred while building configuration file. For help, refer to technical support.

0: /opt/psa/admin/plib/modules/watchdog/wdlib.php:661
check_monit_config(string '/tmp/monitrc.chk')
1: /opt/psa/admin/plib/modules/watchdog/wdlib.php:616
create_monit_config()
2: /opt/psa/admin/plib/modules/watchdog/wdlib.php:469
monit_service(string 'courier_imap')
3: /opt/psa/admin/plib/modules/watchdog/configure.php:57
require_once(string '/opt/psa/admin/plib/modules/watchdog/configure.php')
4: /opt/psa/admin/plib/modules/watchdog/wdcplib.php:222
wd__require_once(string 'configure.php')
5: /opt/psa/admin/plib/modules/watchdog/preaction.php:24
require_once(string '/opt/psa/admin/plib/modules/watchdog/preaction.php')
6: /opt/psa/admin/htdocs/modules/watchdog/index.php:13
 
After latest update it seems to work now.

One issue less :)

*edit*:
not really.
module ist now there, rkhunter ist working fine, but when i try to configure a watchdogtask i get:
ERROR: WDExc
Eine Ebene höherEine Ebene höher
Error occurred while building configuration file. For help, refer to technical support.

0: /opt/psa/admin/plib/modules/watchdog/wdlib.php:661
check_monit_config(string '/tmp/monitrc.chk')
1: /opt/psa/admin/plib/modules/watchdog/wdlib.php:616
create_monit_config()
2: /opt/psa/admin/plib/modules/watchdog/wdcplib.php:233
reconfigure_watchdog()
3: /opt/psa/admin/htdocs/modules/watchdog/service-edit.php:36
 
After the last update....
The watchdog doesn´t work...
...with the same error...

Plesk version psa v8.0.1_build80061018.17 os_Debian 3.1
Operating system Linux 2.6.8-022stab070.6-enterprise
CPU GenuineIntel, Intel(R) Xeon(TM) CPU 3.20GHz

ERROR: WDExc

Error occurred while building configuration file. For help, refer to technical support.
0: /opt/psa/admin/plib/modules/watchdog/wdlib.php:661
check_monit_config(string '/tmp/monitrc.chk')
1: /opt/psa/admin/plib/modules/watchdog/wdlib.php:616
create_monit_config()
2: /opt/psa/admin/plib/modules/watchdog/wdlib.php:469
monit_service(string 'plesk_apache')
3: /opt/psa/admin/plib/modules/watchdog/configure.php:44
require_once(string '/opt/psa/admin/plib/modules/watchdog/configure.php')
4: /opt/psa/admin/plib/modules/watchdog/wdcplib.php:222
wd__require_once(string 'configure.php')
5: /opt/psa/admin/plib/modules/watchdog/preaction.php:24
require_once(string '/opt/psa/admin/plib/modules/watchdog/preaction.php')
6: /opt/psa/admin/htdocs/modules/watchdog/index.php:13

Ideas ??
 
Have nearly the same problem.
Any help?

Best regards
René Gregor
 
Were you updated your plesk from preview version?

If so, you need update module_watchdog_* tables.
 
Back
Top