Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
monit stopped with <118>Error opening the log file '/var/log/monit' for writing
« previous
next »
Print
Pages: [
1
]
Author
Topic: monit stopped with <118>Error opening the log file '/var/log/monit' for writing (Read 83 times)
delphi99
Newbie
Posts: 2
Karma: 0
monit stopped with <118>Error opening the log file '/var/log/monit' for writing
«
on:
November 09, 2024, 05:43:10 pm »
Hello,
sorry for my poor english...
Yesterday my monit service has stopped. May be after update to OPNsense 24.7.8-amd64.
And I can't start it yet, only error messages...
I can see the following notes in logfile:
2024-11-08T16:43:07 Notice kernel <118>/usr/local/etc/rc.d/monit: WARNING: failed to start monit
2024-11-08T16:43:07 Notice kernel <118>Error opening the log file '/var/log/monit' for writing -- Is a directory
2024-11-08T16:43:07 Notice kernel <118>Starting monit.
2024-11-08T16:43:07 Notice root /usr/local/etc/rc.d/monit: WARNING: failed to start monit
...
2024-11-08T16:43:05 Notice kernel <118>Setting up gateway monitor...done.
Searching in forum and google had no results.
Any suggestions to solve the error?
Many thanks
Frank
Logged
delphi99
Newbie
Posts: 2
Karma: 0
SOLVED: monit stopped with <118>Error opening the log file '/var/log/monit'
«
Reply #1 on:
November 26, 2024, 07:01:51 pm »
there was a directoty named "monit", but the new system expected a file with this name. After deleteing the directory and all old logfiles, the service has started properly :-)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
monit stopped with <118>Error opening the log file '/var/log/monit' for writing