Skip to main content

[CPANEL-23845] cpsrvd fails after 76 upgrade when running a custom Apache service

Comments

7 comments

  • cPanelMichael
    Hello @inteldigital, It looks like the issue you are facing stems from the following change noted in the Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings). This setting prevents the cpsrvd daemon from taking over the standard HTTP ports when you disable the system"s web server services, such as Apache. This action renders any cPanel & WHM features that depend on the standard HTTP ports partially or entirely unusable. These features include service subdomains, AutoSSL, Mailman, and BoxTrapper.
    To enable this option on a DNSONLY system, you can manually edit the the following value in the /var/cpanel/cpanel.config file: disable_cphttpd=0
    To: disable_cphttpd=1
    Then, save the file and restart cpsrvd with the following command: /usr/local/cpanel/scripts/restartsrv_cpsrvd
    Note that internal case CPANEL-23845 is open to report this behavior and determine if there's a better practice to prevent the unexpected downtime upon the upgrade to version 76. I'll update this thread with more information on the status of this case as it becomes available. Thank you.
    0
  • inteldigital
    @cPanelMichael Thank you so much for this, I didn't even check the changelog. I noticed that the auto upgrade had stopped for some reason but decided to run it manually. Perhaps I should have checked beforehand EDIT: This worked great, thanks again.
    0
  • cPanelMichael
    Hello @inteldigital, I'm glad to see the solution helped. Regarding CPANEL-23845, the change from this case will ensure that cpsrvd only listens on HTTP ports when the Web Server role is disabled. You can read more about roles and profiles at: How to Use Server Profiles - cPanel Knowledge Base - cPanel Documentation This will prevent the issue you encountered from happening on standard cPanel & WHM servers. However, since you are using DNSOnly, manually changing the disable_cphttpd setting using the instructions from the post above remains a requirement. You shouldn't have to make any additional changes now that you've made the change. Thank you.
    0
  • inteldigital
    @cPanelMichael Thanks for updating me on this. Much appreciated. The changes implemented have worked and we've had no further issues with our production DNS Only servers.
    0
  • cPanelMichael
    Hello @inteldigital, I'm glad to see the suggested change helped. For anyone facing this issue on standard cPanel & WHM server, this is fixed in cPanel & WHM version here and see which build is published to each release tier by clicking
    0
  • Juan R. Pozo
    As a suggestion, if there is something listening on port 80/443, maybe you shouldn't stop it and make cpsrvd listen on HTTP ports, even if WebServer role is disabled.
    0
  • cPanelMichael
    As a suggestion, if there is something listening on port 80/443, maybe you shouldn't stop it and make cpsrvd listen on HTTP ports, even if WebServer role is disabled.

    Hello @Juan R. Pozo, The disable_cphttpd setting referenced
    0

Please sign in to leave a comment.