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.

Third-party Perl scripts not working in 11.36

Discussion in 'General Discussion' started by Gene Steinberg, Jan 29, 2013.

  1. Gene Steinberg

    Gene Steinberg Well-Known Member

    Joined:
    May 26, 2007
    Messages:
    157
    Likes Received:
    1
    Trophy Points:
    18
    Ah, be careful what you wish for. Once installed, my Perl scripts were broken. Mailscanner and CSF were fixed by the publishers by issuing a force update script. Other Perl scripts, including Dadamail (a mailing list manager that's been around for quite a while), give error messages on reinstallation (there are others, but this is one example).

    I filed a ticket, but cPanel wants to blame the third-party rather than something they did. If it was one script, I might agree. But not all.

    I even tried the Reinstall function on some of the Perl modules listed in WHM, and several of them failed too. Sent response messages to support.

    Peace,
    Gene
     
    #1 Gene Steinberg, Jan 29, 2013
    Last edited: Jan 29, 2013
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: When will 11.36 move to current tier?

    If a 3rd party script wants to work properly with cPanel the authors need to test against the EDGE tier, in advance. This has always been the case. ConfigServer updated his scripts in advance of this rollout of 11.36. If you didn't update them, he has released a script to bring them all up to date. Sounds like you need to contact dada mail to me.

    That's not blaming anyone, thats a message to get you going in the right direction.


    ALL 3rd party addon scripts will need to be updated, cPanel changed how its system works.
     
  3. CitizenK

    CitizenK Well-Known Member

    Joined:
    Jun 5, 2012
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    On The Road
    cPanel Access Level:
    Root Administrator
    The update to 11.36 introduced a major change in how we handle perl on cpanel servers. cPanel now has it's own perl installation that is independent of the operating system's installation of perl. Because of this update, older perl scripts are looking to the wrong paths for perl.

    You may be able to fix these scripts by updating the shebang line for perl. There is more information about this at the following urls:

    cPanel & WHM 11.36 Release Notes
    Prepare Your Perl Scripts for 11.36
     
  4. Gene Steinberg

    Gene Steinberg Well-Known Member

    Joined:
    May 26, 2007
    Messages:
    157
    Likes Received:
    1
    Trophy Points:
    18
    I got Dadamail to function that way, by revising its mail.cgi file to incorporate that line. So we're making progress.

    There are still other issues that the tech is investigating.

    But this is one piece of information that needs greater emphasis. That it's available doesn't mean it will be readily noticed. I sent the link to the author of Dadamail.

    Peace,
    Gene
     
  5. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    I agree that there should be a bit more warning about the dangers of updating to 11.36.
    'Danger' is a strong word, but it really should be more clear that there are significant changes.

    And these warnings should be on any upgrade page, whether its the 'update cpanel version' or the EasyApache page.

    It would certainly help with keeping the amount of support tickets down for cpanel. :)
     
  6. CitizenK

    CitizenK Well-Known Member

    Joined:
    Jun 5, 2012
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    On The Road
    cPanel Access Level:
    Root Administrator
    An autofixer has been published to repair some third party scrips and the mod_security plugin. You can run the autofixer from the following url, replacing server.hostname.tld with your server's ip or hostname.

    https://server.hostname.tld:2087/scripts/autorepair_fix_shebangs

    This script will update the shebang lines as mentioned in Prepare Your Perl Scripts for 11.36
     
  7. jimhermann

    jimhermann Active Member

    Joined:
    Jan 20, 2008
    Messages:
    42
    Likes Received:
    1
    Trophy Points:
    8
    cpCitizenK,

    What about the Perl Scripts that are used by Squirrelmail?

    Why can't I get the standard version of perl to work with existing perl scripts?

    Thanks.

    Jim
     
  8. CitizenK

    CitizenK Well-Known Member

    Joined:
    Jun 5, 2012
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    On The Road
    cPanel Access Level:
    Root Administrator
    Hello jimhermann,

    Can you please elaborate on the issue you're having with Squirrelmail?

    Regarding Perl, cPanel uses its own version of Perl and it is now located inside cPanel. This means that you can have your system standard Perl installed. cPanel's Perl will be configured with modules specially design for cPanel and its plugins. You will want to update your cPanel scripts to this version of Perl.

    Please refer to the Release Notes and the Preparing your Scripts guide for more information.

    Thanks!
     
  9. jimhermann

    jimhermann Active Member

    Joined:
    Jan 20, 2008
    Messages:
    42
    Likes Received:
    1
    Trophy Points:
    8
    Sorry, Squirrelmail is working fine.

    I misunderstood the directions. I thought that all Perl Scripts had to be updated.

    Thanks.

    Jim
     
Loading...

Share This Page