Skip to content

monit newest version results in syntax error #5

@bluecmd

Description

@bluecmd

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions