how to uninstall ??? (broken postgresql installation)

Started by ryanwls, July 19, 2017, 01:10:09 PM

Previous topic - Next topic

ryanwls

hello,

I used the postgresql installer and for some reason, the process hunged and never completed normally.

It appears now in CWP, that the installer is still available, but manager is also shown.

There's no option to reinstall or uninstall postgresql.


How can I force a reinstall or uninstall to retry ?



Thanks !


(for mongodb, after installer completed successfully, the installer menu item has been hidden/removed, so I expected similar behaviour here, am I wrong ?)

studio4host

you can remove it like this and then try with installation again.
/usr/bin/yum remove postgresql-server postgresql postgresql-devel
rm -f /etc/init.d/postgresql
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.