Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    15

    Default Disabled Services Still Running?

    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:
    18377 (postmaster) /usr/bin/postgres
    18379 (postmaster) /usr/bin/postgres
    18380 (postmaster) /usr/bin/postgres
    19457 (courierlogger) /usr/sbin/courierlogger /
    19458 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd
    19466 (courierlogger) /usr/sbin/courierlogger /
    19467 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd
    19474 (courierlogger) /usr/sbin/courierlogger /
    19475 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd
    19482 (courierlogger) /usr/sbin/courierlogger /
    19484 (couriertcpd) /usr/lib/courier-imap/libexec/couriertcpd
    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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).
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    15

    Default

    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. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    350
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Disabled Services Still Running?

    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. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    de profundis
    Posts
    5,396
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Disabled Services Still Running?

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    350
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Disabled Services Still Running?

    Request ID 1423666 submitted

Similar Threads & Tags
Similar threads

  1. cphulk still running even if I disabled it
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-15-2008, 11:59 AM
  2. which of these services can be disabled without problems
    By mohit in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-18-2006, 02:38 PM
  3. services failed but they are running
    By zmenchhofer in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-16-2005, 10:08 AM
  4. Services showing failed, but actually RUNNING
    By mangohead in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-11-2005, 08:27 AM
  5. WHM shows services down...but they are running
    By dandanfireman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-10-2002, 12:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube