Skip to main content

Softaculous Cron Job Errors with Perl 5.8

Comments

4 comments

  • cPanelMichael
    Hello, I'm glad to see you were able to find a workaround to the issue. Thank you for sharing your solution. Note that you may also find this document helpful for general information about using Perl with cPanel & WHM: Guide to Perl in cPanel - Perl Environments - Software Development Kit - cPanel Documentation Thank you.
    0
  • aUserName
    I wouldn't say this is solved yet. The fix is only a patch, it gets wiped out with any update to cpanel. The problem file is listed in the error message as "/usr/local/cpanel/Cpanel/Config/Httpd/EA4.pm" line number 46. This needs to be patched officially before it can be considered solved.
    0
  • cPanelMichael
    Hello, Have you reported this issue to the Softaculous support team? This seems like something they'd need to fix in their application. Thank you.
    0
  • aUserName
    I have. It has been a bit of a complicated issue but between their support services, my host provider support department, and cpanel support team, the issue was finally figured out. I'm still not so sure why the system indicated the perl 5.10 package was installed as it was unable to be updated due to a setting in /etc/yum.conf that prevented any perl package from being installed or updated. Since we already had perl 5.8.8 some things worked and some things did not when the minimum version changed. When I reported this issue I was not sure who's problem it was. I only noticed the errors when softaculous cron jobs run because softaculous is one of few WHM/cPanel addons that uses the system perl installation rather than the one packaged with/by cPanel. We don't customize for permanence if the package manger(s) wont do it for us, so I assumed we were getting all updates as normal. First I saw the error and figured it would be patched soon, some edge-case bug, made a patch myself for the mean time. Didn't get patched, opened a ticket with Softaculous, they asked what file it was in and I realized it was definitely not their issue as the file is owned by cPanel. Originally I was thinking "they just forgot to support servers still using 5.8" until I read the documentation pages which listed the minimum perl version by OS version. (REHL 6 = perl 5.10) Opened a ticket with IMH support, they tell me "we can't support using a version of perl that isn't the default" even though I've explained the current default is 5.10 which wasn't installed/working correctly (a misunderstanding or lazy crock-o-crap don't really know.) Opened a ticket with cPanel support. They fixed it up quick! :)
    0

Please sign in to leave a comment.