WSL doesn't accept the command of systemctl. We use service instead then change the location of the service that we are trying to use
$ sudo systemctl status mongodb
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
$ sudo service mongodb status
* Checking status of database mongodb [fail]
$ sudo service mongodb start
* Starting database mongodb [ OK ]
$ sudo service mongodb status
* Checking status of database mongodb
'Node.js' 카테고리의 다른 글
[Axios] Axios Request Config (0) | 2022.04.16 |
---|---|
[Node.js] Installing on Digital Ocean Tutorial (0) | 2022.04.07 |
[Node.js] npm run lint -- --fix (0) | 2022.04.05 |
[Node.js] Fetch, REST, using Asynchronous Calls (0) | 2022.03.20 |
[Node.js] Make API Server (template: Pokemon) (0) | 2022.03.20 |