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.

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/spamas...ped-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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page