Didnt stop Postgresql
Opened this issue · 2 comments
When use the graphical tool for stop the service of postgresql, didnt stop the service, just continued, activate, but if you stop via command "sudo service postgresql stop" you can activate again from SerMon, already im on ubuntu 22.04 LTS
Mmm.. that's strange. Could you please provide the following information?
-
Version of SerMon?
-
Version of Systemd?
$ systemctl --version
-
Version of PostgreSQL?
$ psql --version
-
Logs when you try to stop it from SerMon and/or via
systemctl stop postgresql
command (which is the command SerMon uses under-the-hood)?
First launch the following command in a terminal:$ journalctl /usr/bin/gnome-shell -f -o cat | grep "postgresql"
Then try to stop PostgreSQL from SerMon.
I did a quick test, installing PostgreSQL on a fresh Ubuntu 22.04 machine, and I was able to start-stop-restart it from SerMon:
$ apt install postgresql
$ systemctl list-unit-files --type=service --all | grep postgresql
postgresql.service enabled enabled
postgresql@.service indirect enabled
$ systemctl list-units --type=service --all | grep postgresql
postgresql.service loaded active exited PostgreSQL RDBMS
postgresql@14-main.service loaded active running PostgreSQL Cluster 14-main