Skip to main content

Stop old cPanel services?

Comments

9 comments

  • cPanelLauren
    Hello, Mailman is a service on cPanel servers that enables the ability to create and manage email lists. Information on what specifically mailman is can be found here GNU Mailman Furthermore, the notification you're receiving from CSF/LFD is only letting you know that the service has been running longer than CSF's threshold for long running processes. You can restart the process if you like or you can configure CSF to ignore the process - CSF has information on how to do this in their forums for example Process Tracking and csf.pignore - ConfigServer Community Forum If you'd like to disable mailman you can set the following in /var/cpanel/cpanel.config: skipmailman=1
    As for the email notifications, you may be able to modify the following notifications in /var/cpanel/cpanel.config to stop these from being delivered: emailusers_diskusage_critical_contact_admin=1 emailusers_diskusage_full_contact_admin=1
    Though there are other notifications that could be sending similar emails they would need to be disabled through the contact manager which is not available if the license is not valid. Thank you,
    0
  • rhm.geerts
    Thank you Lauren. I know it's just a CSF notification which can be put in the ignore list, but as far as possible I just would like to stop all the old cpanel services as far as possible. I've put skipmailman=1 and the contact_admin mails to 0. Any other cpanel stuff which can be stopped?
    0
  • cPanelLauren
    Hello, While not designed to be used with servers which are no longer licensed the following WHMAPI1 function may be useful to disable cPanel services: WHM API 1 Functions - configureservice - Developer Documentation - cPanel Documentation Because it was not intended for non-licensed servers it is possible it will not work as intended. Ultimately, the best way to do this would be to move to a server without cPanel installed though I do understand that you did mention that wasn't something you wanted to do. Thank you,
    0
  • rhm.geerts
    Correct the owner I'm working for did not want to move yet. He had cPanel ordered for this server to be used for hosting. After just a bit longer then a week he decided he wanted to use for something else and instead of having it formatted first (by me or the other person), he let somebody else configure the whole thing for streaming or something like that, with custom software. Which caused this problem. Ofcourse in fact it's his problem, but as a point of service I would still like to try to prevent things conflicting with each other. I advised him a couple of times to have the server reformatted and reinstalled. I hope he will see the light soon. ;) So I might let it be like it's now... at this moment nothing is conflicting, so hopefully he decides better soon. Thank you!
    0
  • cPanelLauren
    I hope he does too but understand the position you're in, thanks @rhm.geerts I hope the WHMAPI1 functions work for you! Thank you,
    0
  • rhm.geerts
    I'm sorry, I'm no API programmer, it's not really my thing so I don't think I will use it. But thank you for mentioning it though.
    0
  • cPanelLauren
    You're most welcome! I do want to point out that the API functions here should not require extensive programming knowledge to complete. For example if I wanted to disable php-fpm for cPanel services I would just run the following via CLI: whmapi1 configureservice service=cpanel_php_fpm enabled=0 monitored=0
    For cPHulk I would just change the value for the service whmapi1 configureservice service=cphulkd enabled=0 monitored=0
    Examples of each of the available forms of the API are provided on the page as well. Thank you,
    0
  • rhm.geerts
    Ah that's very nice, I thought I had to create api scripts with kind of these lines in them. But this looks indeed not too difficult. I'll have another look at it then, and going to try some. I'm sure I must succeed with these examples. Great, thank you very much!! Edit: I love Cpanel (and the support). Unfortunately it was true what you thought might happen: whmapi1 configureservice service=cpanel-dovecot-solr enabled=0 monitored=0 --- status: 0 statusmsg: Cannot Read License File
    So it doesn't work via whmapi either. But thank you anyway for the support!
    0
  • cPanelLauren
    Hi @rhm.geerts You're most welcome and we're so glad you love cPanel, we do too! I am sorry it didn't work for you.
    0

Please sign in to leave a comment.