Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Mar 2004
    Location
    Virginia
    Posts
    76

    Default Uninstall/delete postgresql

    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.

  2. #2
    Member
    Join Date
    Mar 2002
    Posts
    48

    Default

    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?

  3. #3
    Member
    Join Date
    Mar 2004
    Location
    Virginia
    Posts
    76

    Default

    Magicly mine just started working. However, I do not use it and I think I'd rather just remove it.

  4. #4
    Member
    Join Date
    Jun 2003
    Location
    Minnesota, USA
    Posts
    95

    Default

    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

  5. #5
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    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

  6. #6
    Member
    Join Date
    Dec 2003
    Posts
    30

    Default

    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

  7. #7
    Member
    Join Date
    Jun 2003
    Location
    Huntsville, AL, USA
    Posts
    20

    Default

    Quote Originally Posted by haze
    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.
    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.

    GFM

  8. #8
    Member
    Join Date
    Mar 2004
    Location
    Virginia
    Posts
    76

    Default

    Which RPMs are the ones for postgre?

  9. #9
    Member
    Join Date
    Jul 2003
    Location
    UK
    Posts
    18

    Default

    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

  10. #10
    Member
    Join Date
    Dec 2003
    Location
    Middle East - Jordan
    Posts
    34

    Default

    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.

  11. #11
    Member
    Join Date
    May 2004
    Posts
    114

    Default Postgres

    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
    ------------------------

  12. #12
    Member
    Join Date
    Oct 2002
    Posts
    67

    Default

    Quote Originally Posted by stuartj
    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
    I tried this only to have whm and cpanel fail. The machine had to be rebooted, but appears to work now, without postgres.

    Rick
    Rick Sutcliffe
    http://www.webnamehost.net
    a.k.a. The Northern Spy http://www.thenorthernspy.com

  13. #13
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    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.

Similar Threads & Tags
Similar threads

  1. uninstall PostGresql
    By Mudhesh in forum Database Discussions
    Replies: 9
    Last Post: 03-30-2010, 01:33 PM
  2. IP Deny Manager: Delete should delete recursively
    By PaiaGirl in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-23-2009, 06:31 PM
  3. Replies: 1
    Last Post: 06-15-2005, 03:44 AM
  4. PostgreSQL complete uninstall
    By RavenSoul_ in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-04-2005, 06:37 AM
  5. Uninstall postgresql?
    By Mike Peel in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-24-2004, 09:58 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube