#1750 Monitor service fails to execute commands.

1.150
open
Jamie Cameron
5
2004-08-25
2004-08-25
BoBo
No

MacOSX 10.35 Server.

Not sure how deep it runs, I had a 1.13 server that was working
fine. I had upgraded it to new hardware and installed the latest
version of webmin v1.15, I created a special monitor that checks
for my running applications if it fails it executes an open
command, relaunching the app. I could see the monitor properly
indicated the service was down but the necessary routine was
never run. I removed and installed v1.13 and reconfigured, it
worked perfectly as it had on the old hardware.

My command never showed up in the system.log, however there
were plenty of monitor.pl hits.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2004-08-25

    Logged In: YES
    user_id=129364

    This works ok on my system ..
    One thing to check though - the command will only be run if
    the module detects that the service was running and has now
    gone down. If it was never running when monitoring started,
    the re-start command will not be run.

     
  • BoBo
    BoBo
    2004-08-25

    Logged In: YES
    user_id=1110572

    Yes I tested it over and over, as I was not sure what the problem was, I
    thought it might have been my retart script routine. Finally after much
    frustration I decided to install the older copy of webmin as that was the
    only real difference. After that it worked perfectly. I could try upgrading
    the webmin and see it it works, is there and easy way to upgrade and
    downgrade, is it as easy as just mv'ing and restarting?

    Does anything get logged if the command cannot be executed?

     
  • Logged In: NO

    BTW my mistake this was not the MON monitor service but the "System
    and Server Status" service under "other" in webmin. Sorry if it caused
    confusion.

     
  • Jamie Cameron
    Jamie Cameron
    2004-08-26

    Logged In: YES
    user_id=129364

    It is quite easy to upgrade or downgrade webmin - just
    re-run the setup.sh script in the directory of the version
    you want to switch to..
    Give 1.150 a try again, and see if it works..