• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Watchdog monit error in syslog

heopas

New Pleskian
I am getting the following error in syslog

Code:
monit: Collector: cannot open a connection to http://127.0.0.1:2912/ -- Transport endpoint is not connected

I have found plesk official fix but it is for older versions. I have Version 17.5.3 Update #37, ‪CentOS Linux 7.4.1708
 
Enable Watchdog Extension and check that monit.service is up and running and port 2912 is open:

# systemctl status monit.service

# lsof -i tcp:2912
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sw-engine 10365 root 6r IPv4 248435071 0t0 TCP localhost:epicon (LISTEN)
 
I have a similar problem..

# systemctl status monit.service
● monit.service - Watchdog monit
Loaded: loaded (/usr/lib/systemd/system/monit.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2020-04-04 09:45:00 +03; 21min ago
Process: 4753 ExecStartPre=/usr/bin/touch /var/log/plesk/modules/monit.log (code=exited, status=0/SUCCESS)
Process: 4742 ExecStartPre=/usr/bin/touch /var/run/monit.pid (code=exited, status=0/SUCCESS)
Process: 4713 ExecStartPre=/bin/echo Starting monit service (Watchdog) (code=exited, status=0/SUCCESS)
Main PID: 4759 (monit)
Tasks: 3
CGroup: /system.slice/monit.service
└─4759 /usr/local/psa/admin/bin/modules/watchdog/monit -Ic /usr/local/psa/etc/modules/watchdog/monitrc


Apr 04 10:02:55 jedi.kalfaoglu.net monit[4759]: monit: pidfile `/var/run/nginx.pid' does not contain a valid pidnumber
Apr 04 10:02:55 jedi.kalfaoglu.net monit[4759]: monit: pidfile `/var/run/nginx.pid' does not contain a valid pidnumber
Apr 04 10:02:56 jedi.kalfaoglu.net monit[4759]: monit: pidfile `/var/run/nginx.pid' does not contain a valid pidnumber
Apr 04 10:02:56 jedi.kalfaoglu.net monit[4759]: monit: pidfile `/var/run/nginx.pid' does not contain a valid pidnumber
Apr 04 10:02:57 jedi.kalfaoglu.net monit[4759]: 'psa_spamassassin' start: /usr/local/psa/admin/bin/spammng
Apr 04 10:02:59 jedi.kalfaoglu.net monit[4759]: Service start was done successfully.
Apr 04 10:03:00 jedi.kalfaoglu.net monit[4759]: 'php_fpm' start: /usr/local/psa/admin/bin/phpinimng
Apr 04 10:03:01 jedi.kalfaoglu.net monit[4759]: 'postgresql' start: /usr/local/psa/admin/bin/pg_manage
Apr 04 10:03:01 jedi.kalfaoglu.net monit[4759]: Error: PostgreSQL is not installed.
Apr 04 10:03:01 jedi.kalfaoglu.net monit[4759]: 3

# lsof -i tcp:2912
#

What shall I do?
 
Back
Top