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.

Disabled Services Still Running?

Discussion in 'General Discussion' started by linux4me, Nov 8, 2007.

  1. linux4me

    linux4me Member

    Joined:
    Jul 14, 2007
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    1
    I'm running WHM 11.2.0 cPanel 11.11.0-S16999 on a Virtuozzo VPS that has only 256 MB of RAM with bursting to 1024.

    I am trying to disable the services that I don't use to maximize the resources available.

    In WHM, I go Main >> Service Configuration >> Service Manager and uncheck both "enabled" and "monitor" for the following services:
    • entropychat
    • imap
    • interchange
    • melange
    • postgresql
    • spamd (also unchecked SpamAssassin in Tweak Settings)
    and saved the changes. Since doing so, I have restarted Apache and MySQL as well as the VPS several times due to crashes.

    I took a look in Main >> System Health >> Show Current Running Processes just now, and I see the following lines:
    which make it look to me like PostgreSQL and IMAP are still running.

    I also noticed that the icons for PostgreSQL are still showing up in the user's cPanel.

    I double-checked that they remained disabled in Service Manager, and they are. I looked in /etc/chkserv.d as recommended elsewhere on this board, and found that melange, imap, postgresql, entropychat, interchange and spamd are still listed.

    My questions:
    1. Is there something else I need to do from within WHM to disable these services and prevent them from restarting when the server restarts?
    2. If it isn't possible to disable these services from within WHM, what is the best method for doing so (in newbie terms)?

    Thanks!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That process is for the pop3 part of courier-imap by the looks of it.

    WRT postgresql you probably still have it enabled within init:

    service postgresql stop
    chkconfig postgresql off

    (it might be named postgres in init and not postgresql).
     
  3. linux4me

    linux4me Member

    Joined:
    Jul 14, 2007
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    1
    Thanks for the reply.

    You were correct that it was "postgresql" and not "postgres" in init.

    I ran the two commands you provided and that stopped postgresql. It's no longer appearing in the list of running processes.

    The three icons for PostgreSQL still appear in cPanel. Is the appropriate way to get rid of them to uncheck them in the Feature List in WHM or is there something else I need to be doing?
     
  4. DomineauX

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    414
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hate to necro an old thread but this wasn't fully answered and this is a persistent problem.
    Spamd, cpHulk, clamd (and likely other) services being turned off (and monitor off) in Service Manager does not persist properly through cPanel restarts and/or upcp.
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please open up a bug report about this issue using either http://go.cpanel.net/bugs or the link at the top of the forum. I agree that services continuing to run after being disabled would be considered an issue, so please report the issue via our ticketing system for us to track it.
     
  6. DomineauX

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    414
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Request ID 1423666 submitted
     
Loading...

Share This Page