0

I've been following this link to update Postgresql on my Ubuntu-18.04 (VM running on Windows 10) https://computingforgeeks.com/install-postgresql-12-on-ubuntu/

However, Im getting the below error, so I cannot proceed.

.../desktop/my_app$ systemctl status postgresql.service
System has not been booted with systemd as init system (PID 1). Can't operate.

What can I do?

jginso7
  • 95
  • 7

1 Answers1

1

service postgresql status or systemctl status postgresql

Must work.

Tsunani
  • 78
  • 9
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 21 '21 at 14:57
  • Thanks! I actually tried this (https://stackoverflow.com/questions/31645550/postgresql-why-psql-cant-connect-to-server) and worked, but your ```service postgresql status``` also seems to work. – jginso7 Oct 22 '21 at 08:21