Failed at step EXEC spawning /etc/rc.d/rc.local: Exec format error
Issue
-
Failed at step EXEC spawning /etc/rc.d/rc.local: Exec format error
[root@vc2crtpb148242n ~]# systemctl status rc-local.service ● rc-local.service - /etc/rc.d/rc.local Compatibility Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since Tue 2016-10-25 17:59:19 EDT; 1min 32s ago Process: 1478 ExecStart=/etc/rc.d/rc.local start (code=exited, status=203/EXEC) Oct 25 17:59:19 vc2crtpb148242n systemd[1]: Starting /etc/rc.d/rc.local Compatibility... Oct 25 17:59:19 vc2crtpb148242n systemd[1478]: Failed at step EXEC spawning /etc/rc.d/rc.local: Exec format error Oct 25 17:59:19 vc2crtpb148242n systemd[1]: rc-local.service: control process exited, code=exited status=203 Oct 25 17:59:19 vc2crtpb148242n systemd[1]: Failed to start /etc/rc.d/rc.local Compatibility. Oct 25 17:59:19 vc2crtpb148242n systemd[1]: Unit rc-local.service entered failed state. Oct 25 17:59:19 vc2crtpb148242n systemd[1]: rc-local.service failed. You have new mail in /var/spool/mail/root
Environment
- Red Hat Enterprise Linux 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.