How do I remove postgresql? We don't use it/need it and it keeps trying to restart itself and I don't even want in there in the first place. When I try to uncheck it in the service manager, it doesn't let me; it stays checked.
How do I remove postgresql? We don't use it/need it and it keeps trying to restart itself and I don't even want in there in the first place. When I try to uncheck it in the service manager, it doesn't let me; it stays checked.
Yeah, this would be nice to know.. seeing as how when the postgres stuff first started appearing in cPanel I took the time to run through each server and remove it all from the Features List/etc, as we have no intention of using pgres.... yet *somehow*, somewhere along the line cPanel decided to just up and install it for us any way.. out of the kindness of it's heart no doubt. (Which honestly, probably would have never noticed.. if not for the rush of "PostGres Failed!" emails sunday morning.. nothing like an email every 5 minutes... from every server... to get your day started right... ~sigh~)...
Disabled the chkservd entry for it, but how to remove it alltogether?
Magicly mine just started working. However, I do not use it and I think I'd rather just remove it.
This has started happening to me as well. Using WHM 9.7.2 cPanel 9.7.7-R15
RedHat Enterprise 3 i686 - WHM X v3.1.0 .
Any ideas?
Gertie
rpm -e the installed rpm's for postgre, then remove it from chkdservd. In the /etc/chkserv.d/ folder is a postgres file, remove it, restart chkservd and that should be it.
Beau Henderson
It would be nice is cpanel didnt mess with things unless asked to.
I run a manually setup copy of postgres to run GNUworld services.
Since a recent update, chkservd has "checked" postgres every 9 minutes, and shuts it down.
This is getting highly annoying on irc, where ever half hour or so the services netsplit.
Does anyone know how to customise which installation of postgres chkservd checks, and of course how to disable the cpanel installation of postgres without doing anything to the one i want.
I'm still unsure why its even being checked, within cpanel, postgres is disabled, yet within all my customers cpanel's its listed, and of course doesnt work as the cpanel copy of postgres is not installed.
Cpanel guys, PLEASE will you make sure your script at least like asks us before changing shit in the future.
Regards,
James Tandy
TandyUK
Many, many thanks, Haze. Having just upgraded to 9.7.x and getting stuck with chkserv.d looking for postgres when it wasn't installed, I was pulling my hair out a bit.Originally Posted by haze
GFM
If you do the following this will remove the main rpm's machines will vary on what they have installed.
root@server [/]# rpm -e postgresql-server
root@server [/]# rpm -e postgresql-devel
root@server [/]# rpm -e postgresql-contrib-7.3.4-11
root@server [/]# rpm -e postgresql
then chkserver --del postgresql
delete it completely to make sure
rm -rf /var/run/chkservd/postgresql
service cpanel restart
That should remove it from the box.
I have tested this with FC1 & FC2 & RH9
Greetings
I've remove it on a Test box
but still getting failure alert
postgresql failed @ Mon Oct 11 20:15:25 2004. A restart was attempted automagicly.
All of a sudden Postgres is over loading my average, I'm sure its that since its the only thing that is running.
------------------------
Greeeting from me
How are you doing ?
Keep it real![]()
------------------------
I tried this only to have whm and cpanel fail. The machine had to be rebooted, but appears to work now, without postgres.Originally Posted by stuartj
Rick
Posgresql? Whats that? Not one of our users have ever used it, requested it or sent us a message that they are glad we support it. In fact, if we removed it from every box, nobody would miss it. There must be an EOL for it, if not, its coming.