FG
💻 Software

systemctl enable differs from systemctl start, how?

Fresh6 days ago
Mar 15, 202654837 views
Confidence Score0%
0%

Problem

I am running an Arch Linux (latest, up-to-date) box, and attempting to get MySQL to start at boot. With the systemd package installed I have systemctl available, and as such I can do things like this: That's all fine, and works great when I want to start/stop manually, however, when it comes to get…

Error Output

systemctl start mysqld.service
systemctl [stop|status|restart] mysqld.service

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: systemctl enable differs from systemctl start, how?

Low Risk

is a "virtual" unit – it doesn't exist on the filesystem, it's just part of systemd's compatibility layer. You can start it and systemd will run the legacy initscript, but you cannot it because you need a real file which could be symlinked into the …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment