The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Uninstall/delete postgresql

Discussion in 'General Discussion' started by Nathan D., Aug 23, 2004.

  1. Nathan D.

    Nathan D. Well-Known Member

    Joined:
    Mar 21, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Virginia
    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. shannon

    shannon Well-Known Member

    Joined:
    Mar 25, 2002
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    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. Nathan D.

    Nathan D. Well-Known Member

    Joined:
    Mar 21, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Virginia
    Magicly mine just started working. However, I do not use it and I think I'd rather just remove it.
     
  4. gertiebeth

    gertiebeth Well-Known Member

    Joined:
    Jun 4, 2003
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Minnesota, USA
    cPanel Access Level:
    Root Administrator
    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?
     
  5. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    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.
     
  6. tandyuk

    tandyuk Active Member

    Joined:
    Dec 18, 2003
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    8
    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. gfmorris

    gfmorris Member

    Joined:
    Jun 6, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Huntsville, AL, USA
    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. Nathan D.

    Nathan D. Well-Known Member

    Joined:
    Mar 21, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Virginia
    Which RPMs are the ones for postgre?
     
  9. stuartj

    stuartj Member

    Joined:
    Jul 17, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    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. easyhttp

    easyhttp Active Member

    Joined:
    Dec 25, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middle East - Jordan
    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. webits

    webits Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Postgres

    All of a sudden Postgres is over loading my average, I'm sure its that since its the only thing that is running.
     
  12. rsutc

    rsutc Well-Known Member

    Joined:
    Oct 8, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    I tried this only to have whm and cpanel fail. The machine had to be rebooted, but appears to work now, without postgres.

    Rick
     
  13. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
Loading...

Share This Page