insserv: warning: script 'le_ispc_pem.sh' missing LSB tags and overrides

Discussion in 'Installation/Configuration' started by EzWeb.cz, May 17, 2018.

  1. EzWeb.cz

    EzWeb.cz New Member

    Hi, after some time i want to instal something on my server (Ubuntu 16.04 + ISPC 3.1 ), but if im trying to use apt-get install i got this error:

    util-linux (2.27.1-6ubuntu3.4) …
    insserv: warning: script 'le_ispc_pem.sh' missing LSB tags and overrides
    insserv: There is a loop between service monit and le_ispc_pem.sh if stopped
    insserv: loop involving service le_ispc_pem.sh at depth 2
    insserv: loop involving service monit at depth 1
    insserv: Stopping le_ispc_pem.sh depends on monit and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header

    SOLVED:
    missing header in le_ispc_pem.sh:
    ### BEGIN INIT INFO
    # Provides: LE ISPSERVER.PEM AUTO UPDATER
    # Required-Start: $local_fs $network
    # Required-Stop: $local_fs
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: LE ISPSERVER.PEM AUTO UPDATER
    # Description: Update ispserver.pem automatically after ISPC LE SSL certs are renewed.
    ### END INIT INFO
     
    Last edited: May 17, 2018

Share This Page