rc-local.service: Main process exited, code=exited, status=203/EXEC

Solution Verified - Updated -

Issue

  • rc-local.service getting failed and systemctl status shows below.
# systemctl status rc-local
● rc-local.service - /etc/rc.local Compatibility
   Loaded: loaded (/etc/systemd/system/rc-local.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2022-09-04 21:59:25 IST; 7h ago
  Process: 1206 ExecStart=/etc/rc.local (code=exited, status=203/EXEC)
 Main PID: 1206 (code=exited, status=203/EXEC)

Sep 04 21:59:25 lab09 systemd[1]: Starting /etc/rc.local Compatibility...
Sep 04 21:59:25 lab09 systemd[1]: rc-local.service: Main process exited, code=exited, status=203/EXEC
Sep 04 21:59:25 lab09 systemd[1]: rc-local.service: Failed with result 'exit-code'.
Sep 04 21:59:25 lab09 systemd[1]: Failed to start /etc/rc.local Compatibility.

Environment

  • Red Hat Enterprise Linux (RHEL) 9
  • systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content