rc-local.service failed

Discussion in 'Installation/Configuration' started by pecka33, Oct 11, 2021 at 9:39 AM.

  1. pecka33

    pecka33 Member

    Any idea why rc-local.service is failed?

    Code:
    [email protected]:~# systemctl status rc-local
    ● rc-local.service - /etc/rc.local Compatibility
         Loaded: loaded (/lib/systemd/system/rc-local.service; enabled-runtime; vendor preset: enabled)
        Drop-In: /lib/systemd/system/rc-local.service.d
                 └─debian.conf
         Active: failed (Result: exit-code) since Mon 2021-10-11 09:38:46 CEST; 2s ago
           Docs: man:systemd-rc-local-generator(8)
        Process: 6021 ExecStart=/etc/rc.local start (code=exited, status=1/FAILURE)
            CPU: 23ms
    
    Oct 11 09:38:46 vm28069 systemd[1]: Starting /etc/rc.local Compatibility...
    Oct 11 09:38:46 vm28069 rc.local[6024]: ./resizehdd.sh: line 23: fdisk: command not found
    Oct 11 09:38:46 vm28069 rc.local[6022]: pocet /dev/sda* - /dev/vda* - /dev/hda* neni roven 2
    Oct 11 09:38:46 vm28069 systemd[1]: rc-local.service: Control process exited, code=exited, status=1/FAILURE
    Oct 11 09:38:46 vm28069 systemd[1]: rc-local.service: Failed with result 'exit-code'.
    Oct 11 09:38:46 vm28069 systemd[1]: Failed to start /etc/rc.local Compatibility.
    
     

Share This Page