• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

watchdog centos 5.5 says httpd is down - its not - BUG

What details do you need?

It's current plesk 10.1.1
OS Centos 5.5 x64

Watchdog is running but it says httpd is down. It eventually gives up monitoring it as it says it stops too frequently.

However in services it says httpd is running, plus all the resource monitoring, as well as it is physically running.

Means watchdog has a bug.
 
The watchdog is expecting to find /var/run/httpd.pid for Apache status. Make sure that it is really defined for Apache in /usr/local/psa/etc/modules/watchdog/monitrc.tpl
 
Hi IgorG,

I edited the template file as I am running a later httpd and the pid is inside /var/run/httpd/http.pid but its the same still says its down.

I actually edited both the files.

# Apache
check process apache
with pidfile "/var/run/httpd/httpd.pid"
start = "<apache_start>"
stop = "<apache_stop>"



locate httpd.pid > /var/run/httpd/httpd.pid

/usr/local/psa/admin/bin/websrvmng --status
is running

I just proved its something still in watchdog not listening to where the pid is. If I symlink /var/run/httpd.pid to the actual pid watchdog says its running. This is no fix as on a reboot the symlink is deleted.

Why is watchdog not obeying the template? I checked in the monitrc file, its looking in /var/run/httpd/httpd.pid as I restarted plesk in attempting to fix this annoyance.

Any idea's?
 
Last edited:
Thanks!

As I am waiting on plesk 10.2 I will swap from Centos to redhat 6 and with it having so many updates over Centos 5.5 I will worry about it then.
 
Hi IgorG,

I found a fix :)

After you modify the template file, you forgot to mention you have to rebuild watchdog with:

/usr/local/psa/admin/bin/modules/watchdog/wd --regen-all

Now its happy with apache running in /var/run/httpd/httpd.pid
 
Back
Top