Monit update

Discussion in 'General' started by onastvar, Feb 15, 2020.

  1. onastvar

    onastvar Member

    Anyone got errors on MONIT update when trying to run "aptitude -y upgrade" on ISPConfig server?
    I tried google ,but could not find any solutions how to fix.

    systemctl status monit.service
    * monit.service - LSB: service and resource monitoring daemon
    Loaded: loaded (/etc/init.d/monit; generated; vendor preset: enabled)
    Active: failed (Result: exit-code) since Fri 2020-02-14 23:24:56 CST; 2min 21s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 31093 ExecStart=/etc/init.d/monit start (code=exited, status=1/FAILURE)

    Feb 14 23:24:56 systemd[1]: Starting LSB: service and resource monitoring daemon...
    Feb 14 23:24:56 monit[31093]: Starting daemon monitor: monitThe SSL server PEM file '/etc/ssl/private/pure-ftpd.pem' permission 0750 is wrong, maximum
    Feb 14 23:24:56 monit[31093]: /etc/monit/monitrc:159: SSL server PEM file permissions check failed 'allow'
    Feb 14 23:24:56 monit[31093]: failed!
    Feb 14 23:24:56 systemd[1]: monit.service: Control process exited, code=exited status=1
    Feb 14 23:24:56 systemd[1]: Failed to start LSB: service and resource monitoring daemon.
    Feb 14 23:24:56 systemd[1]: monit.service: Unit entered failed state.
    Feb 14 23:24:56 systemd[1]: monit.service: Failed with result 'exit-code'.
     
  2. Steini86

    Steini86 Active Member

    Code:
    chmod 700 /etc/ssl/private/pure-ftpd.pem
    should do it
     
    onastvar likes this.
  3. nhybgtvfr

    nhybgtvfr Active Member

    shouldn't that be chmod 600 /etc/ssl/private/pure-ftpd.pem ?
     
    onastvar, Steini86 and ahrasis like this.
  4. onastvar

    onastvar Member

Share This Page