DEV Community

Josh
Josh

Posted on

System has not been booted with systemd as init system (PID 1).

If you get a

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Enter fullscreen mode Exit fullscreen mode

this typically occurs when you're trying to use the systemctl command in an environment that does not support systemd as the init system.

Solution: Use Sysvinit

# Use the Below
sudo service start <service name> 

## Example below
sudo service start nginx

# Instead of 
sudo systemctl start <service name>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more