Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monit newest version results in syntax error #5

Open
bluecmd opened this issue Aug 13, 2021 · 0 comments
Open

monit newest version results in syntax error #5

bluecmd opened this issue Aug 13, 2021 · 0 comments

Comments

@bluecmd
Copy link
Member

bluecmd commented Aug 13, 2021

Log:

(vrf:mgmt)admin@adele:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up monit (1:5.27.1-1~bpo10+1) ...
Job for monit.service failed because the control process exited with error code.
See "systemctl status monit.service" and "journalctl -xe" for details.
invoke-rc.d: initscript monit, action "restart" failed.
● monit.service - LSB: service and resource monitoring daemon
     Loaded: loaded (/etc/init.d/monit; generated)
     Active: failed (Result: exit-code) since Fri 2021-08-13 15:06:31 UTC; 10ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 21991 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)

Aug 13 15:06:31 adele systemd[1]: Starting LSB: service and resource monitoring daemon...
Aug 13 15:06:31 adele monit[21991]: Starting daemon monitor: monit
Aug 13 15:06:31 adele monit[21994]: /etc/monit/conf.d/sonic-host:9: syntax error 'repeat'
Aug 13 15:06:31 adele monit[21994]: /etc/monit/conf.d/sonic-host:9: syntax error 'repeat'
Aug 13 15:06:31 adele monit[21995]:  failed!
Aug 13 15:06:31 adele systemd[1]: monit.service: Control process exited, code=exited, status=1/FAILURE
Aug 13 15:06:31 adele systemd[1]: monit.service: Failed with result 'exit-code'.
Aug 13 15:06:31 adele systemd[1]: Failed to start LSB: service and resource monitoring daemon.
dpkg: error processing package monit (--configure):
 installed monit package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 monit
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant