Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

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

Related Posts:

  1. Difference between FireAndForget and Async behavior for publishing
  2. Could not connect to Redis at 127.0.0.1:6379: Connection refused with homebrew
  3. Redis: How to access Redis log file
  4. ping: google.com: Temporary failure in name resolution [closed]
  5. Memcached vs. Redis?
  6. What is Express.js?
  7. “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
  8. “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
  9. How do I run Redis on Windows?
  10. WSL – GEDIT Unable to init server: Could not connect: Connection refused
  11. Ubuntu ‘-bash: nano: command not found’
  12. Trying to use bash on Windows and got no installed distributions message
  13. WRONGTYPE Operation against a key holding the wrong kind of value php
  14. How to enable Bash in Windows 10 developer preview?
Categories redis Tags redis, ubuntu-18.04, windows-subsystem-for-linux
IOException: The process cannot access the file ‘file path’ because it is being used by another process
What is the difference between a process and a thread?

Leave a Comment Cancel reply

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress