I know this is late but hopefully it helps someone. -u needs to be followed by the name in the USER column. In your case it would be -u lilimiindahouse. CAUTION this will crash your computer and you will need to restart it. I did that and following the restart everything worked properly. In my situation killing by the PID did not work as the process restarted itself with a different PID immediately. Killing the USER was the only solution.
Thanks for this info - nearly 5pm on a Friday for me, what better time to solve a problem :) I can go into the weekend with one less thing to fix.
I'm glad I could help
Thanks!!!
Thanks for the post, it was what I needed!
Thank u so much!!!!!!!!
Thanks for leaving a message. I'm glad the tutorial was helpful :)
Awesome! Glad it helped
I followed these commands and get the following prompt: pkill: Unknown user `postgres'
I know this is late but hopefully it helps someone. -u needs to be followed by the name in the USER column. In your case it would be -u lilimiindahouse. CAUTION this will crash your computer and you will need to restart it. I did that and following the restart everything worked properly. In my situation killing by the PID did not work as the process restarted itself with a different PID immediately. Killing the USER was the only solution.
and still not able to run Postgres can someone plz help!? Thanks
sudo kill -kill $(sudo lsof -t -i :5432)
use this command^^^^^^^^^
sudo kill -kill $(sudo lsof -t -i :5432)
This command saved my life!! ^^^^^