System has not been booted with systemd as init system (PID 1). Can’t operate

Instead, use: sudo service redis-server start

I had the same problem, stopping/starting other services from within Ubuntu on WSL. This worked, where systemctl did not.

And one could reasonably wonder, “how would you know that the service name was ‘redis-server’?” You can see them using service --status-all

Leave a Comment