Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cannot restart servers from /scripts/ due to perl failure

Discussion in 'General Discussion' started by semseoymas, Nov 8, 2013.

  1. semseoymas

    semseoymas Member

    Joined:
    Oct 22, 2013
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello:

    Running WHM 11.38.2 (build 7).

    Recently, configured pyzor/razor/dcc at spamassassin... and had a look at:
    http://forums.cpanel.net/f43/spamassassin-razor2-plugin-stopped-working-after-updated-11-36-a-330141.html

    And did what user told:

    Did select "yes" to all questions, about automatic configuring cpan... cannot figure out next problems..

    But next day, after upcp I think, and since, if I try to restart any server from scripts get:

    Now I am very confused... do not know what to do about perl configuration and why this ocurrs. :(

    Can someone help please?

    Thanks so much...
     
  2. semseoymas

    semseoymas Member

    Joined:
    Oct 22, 2013
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello:

    I see differences between cpanel's perl in:

    Executing: /usr/local/cpanel/3rdparty/bin/perl -V

    SERVER WITHOUT THAT PROBLEM:
    SERVER WITH THE PROBLEM:
    I am sure this is the main problem, but do not know how to fix it...

    Help please...
     
  3. semseoymas

    semseoymas Member

    Joined:
    Oct 22, 2013
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello...

    Did fix myself....

    Just have a look at the ENV variable... if you do "env -i perl -V" the ENV variables are not set and the INC is correct, so:

    env for perl variable is gone, INC is good, all is running perfectly.

    Bye!
     
  4. semseoymas

    semseoymas Member

    Joined:
    Oct 22, 2013
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Also.....

    The ENV variable is getting set at:
    /etc/profile.d/atrpms.csh
    /etc/profile.d/atrpms.sh

    So the problem was started since installing atrpms repository for yum through rpm.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to hear you were able to resolve the issue. Thank you for sharing the solution.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice