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.

postgresql

Discussion in 'General Discussion' started by easyhttp, Oct 13, 2004.

  1. easyhttp

    easyhttp Active Member

    Joined:
    Dec 25, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middle East - Jordan
    Greetings
    I've removed postgresql from our servers
    but still getting

    and postgresql row in service status still there,

    How to remove it from the service status and from service monitoring ?
     
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    service chkservd stop
    cd /etc/chkserv.d
    rm postgresql
    service chkservd start
     
  3. easyhttp

    easyhttp Active Member

    Joined:
    Dec 25, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middle East - Jordan
    root@Pla [/etc/chkserv.d]# ls
    ./ apache cpimap cpsrvd eximstats mysql syslogd
    ../ bind cppop exim interchange proftpd

    but still getting failure alert.
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Then you have a stray file in /var/run/chkservd. Delete it there.
     
  5. easyhttp

    easyhttp Active Member

    Joined:
    Dec 25, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middle East - Jordan
    Ok
    postgresql removed
    postgresql monitoring removed
    but it still appear in service status as Failed.
    How to remove it from service status ?
     
  6. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    good question..

    and how did you uninstall postgresql?

    Sheldon
     
  7. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    After deleting it from /var/run restart chkservd again.
     
  8. Ben

    Ben Well-Known Member

    Joined:
    Aug 19, 2002
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    6
    Login to your WHM, goto Service Manger, and uncheck postgre. Then login via SSH and from the command line run

    service chkservd restart

    That should stop those error emails, at least it did in my case.
     
  9. easyhttp

    easyhttp Active Member

    Joined:
    Dec 25, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Middle East - Jordan

Share This Page