1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Watchdog -psa apache bug

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by 105547111, Jun 20, 2011.

  1. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    This happens every few weeks. Watchdog insists the psa apache is down. Despite restarting the actual psa listener (sw-cp-server) and even deleting the pid, watchdog still says it's down.

    That's obviously wrong as I can log into port 8443 both ipv4 and ipv6.

    I even tried /etc/init.d/psa stop and then start

    Only way to fix is to reboot the server. This seems crazy as it's clearly running. The new pid changes timestamp.

    Any ideas?

    Centos 5.6 64 bit, fully updated 10.2 with MU7

    Thanks
     
    Last edited: Jun 20, 2011
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Do you have any errors in /usr/local/psa/var/modules/watchdog/log/wdcollect.log ?
    Did you check configuration files

    /usr/local/psa/etc/modules/watchdog/monitrc
    /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php
     
  3. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    Hi IgorG,

    After playing around with /etc/init.d/sw-cp-server restart and stop start, I found this fixed it..

    /etc/init.d/psa stop. And then a start.

    Interesting restart did nothing (as it's running already), but stop took like am most 1 minute to complete, the start was instant.

    I seems like something was holding the stop, but interestingly all services were running, as well sw-CP-server was running as I could log in and out of CP.

    After the psa restart watchdog says the psa apache was running. I did check it and what ever you do to sw-CP-server even a stop and start does ot fix this, only stopping and restarting psa

    It's weird.

    Seems to happen every few weeks of uptime I get the watchdog email saying it's been removed from monitoring. Somethings getting stuck or stale.

    Should I check e logs you suggested tonight to see if I can see anything?

    Thanks again!
     
    Last edited: Jun 20, 2011
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Checking watchdog log will be useful in any case.
     
  5. 105547111

    105547111 Silver Pleskian

    32
    30%
    Joined:
    Jul 13, 2006
    Messages:
    643
    Likes Received:
    2
    I can't see anything really wrong:

    36000 Jun 14 04:05:43 [notice] Connection to server has been established.
    36000 Jun 14 04:06:45 [info] Connection to SMTP server has been closed.
    36000 Jun 14 07:46:44 [info] Service is being stopped
    36000 Jun 14 07:46:44 [info] Server stopped
    36000 Jun 14 07:52:53 [info] Language en-US is used for sending e-mail messages.
    36000 Jun 14 07:52:53 [info] Database server connection has been established.
    36000 Jun 14 07:52:53 [info] Server started.
    36000 Jun 16 03:47:50 [notice] Connection to server has been established.
    36000 Jun 16 03:49:02 [info] Connection to SMTP server has been closed.
    36000 Jun 16 03:53:04 [notice] Connection to server has been established.
    36000 Jun 16 03:54:05 [info] Connection to SMTP server has been closed.
    36000 Jun 17 03:41:21 [notice] Connection to server has been established.
    36000 Jun 17 03:42:28 [info] Connection to SMTP server has been closed.
     
Loading...