Control Web Panel

WebPanel => PostgreSQL => Topic started by: ryanwls on July 19, 2017, 01:10:09 PM

Title: how to uninstall ??? (broken postgresql installation)
Post by: ryanwls on July 19, 2017, 01:10:09 PM
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 ?)
Title: Re: how to uninstall ??? (broken postgresql installation)
Post by: studio4host on July 21, 2017, 07:07:13 AM
you can remove it like this and then try with installation again.
Code: [Select]
/usr/bin/yum remove postgresql-server postgresql postgresql-devel
rm -f /etc/init.d/postgresql
Title: Re: how to uninstall ??? (broken postgresql installation)
Post by: ryanwls on September 07, 2017, 09:37:53 PM
thanks!