- edited description
monit reload does not find ./monitrc file
Issue #40
resolved
Start monit:
$ cd monit-5.8
$ sudo bin/monit -c ./monitrc
It runs fine
But if you try to reload
$ sudo bin/monit -c ./monitrc reload
$ sudo bin/monit -c /abs/path/monitrc reload
$ sudo bin/monit reload
it fails with:
[UTC May 2 16:22:25] error : monit: Error: cannot open the control file './monitrc' -- No such file or directory
[UTC May 2 16:22:25] error : monit daemon died
Comments (7)
-
reporter -
reporter - edited description
-
reporter - edited description
-
repo owner - changed status to resolved
Thanks. Fixed with this checkin.
Edit: It is a good thing to always use absolute paths with Monit, both in the control file where it usually is required and with arguments to the program. Though if a relative path was given, it should of course still work. Thanks again.
-
repo owner - changed component to 1. Monit
-
repo owner - changed component to Monit
-
repo owner - removed version
Removing version: 5.8 (automated comment)
- Log in to comment