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.

how to remove postgresql out of WHM/cpanel completely ?

Discussion in 'General Discussion' started by dendis, Sep 9, 2004.

  1. dendis

    dendis Well-Known Member

    Joined:
    Jul 18, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    postgresql sucks no one is using it so we need to remove it

    I did:
    rpm -qa | grep postgres

    rpm -e whatever_is_returned_by_the_above_command


    Tried to disable it from WHM service manager.

    But now it appears is "Service Status" as red icon.

    How to remove it completely ?
     
  2. dgerson1

    dgerson1 Registered

    Joined:
    Jun 11, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Removing Postgresql from Service Status on CPanel WHM

    I had a similar problem after removing postgresql. I found the solution here:
    TailWatch < AllDocumentation/AutomationIntegration < TWiki

    Summary:
    One of the most common issues occurs when a service is not monitored or has been disabled and is still listed on the service status page as offline. To fix this error, you may need to remove and/or edit a few files. For the purposes of this tutorial, assume that the service is clamd.

    Remember: In the example below, clamd can be replaced with any other service.

    Remove the run file:
    rm -f /var/run/chkservd/clamd

    Remove the chkservd restart file:
    rm -f /etc/chkserv.d/clamd

    Edit the chkservd configuration file with your preferred text editor. You may need to remove the line for clamd. The chkservd configuration file can be found at:
    /etc/chkserv.d/chkservd.conf

    Restart chkservd:
    /scripts/restartsrv_chkservd

    After you have made the necessary changes, simply return to the Service Manager interface and click Save at the bottom without making any changes.
     
  3. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    thanks guys for the guide , following both pointers worked very well :)
     
Loading...

Share This Page