Skip to main content

Perl related issue

Comments

5 comments

  • cPanelLauren
    We typically only see this when modifications to Perl have been made on the server, what is the output of the following? cd /root/ env|grep PERL cat .bashrc
    0
  • Edward T.
    Thank you for your reply. Here you go: # env|grep PERL PERL5LIB=/root/perl5/lib/perl5 PERL_MB_OPT=--install_base "/root/perl5" PERL_LOCAL_LIB_ROOT=/root/perl5 PERL_MM_OPT=INSTALL_BASE=/root/perl5
    # cat .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi alias php="php -d disable_functions=" alias composer="php /bin/composer.phar" PATH="/root/perl5/bin${PATH:+:${PATH}}"; export PATH; PERL5LIB="/root/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; PERL_LOCAL_LIB_ROOT="/root/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; PERL_MB_OPT="--install_base \"/root/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=/root/perl5"; export PERL_MM_OPT;
    Regards
    0
  • cPanelLauren
    None of that should be there in a default cPanel installation On my test server: [root@server ~]# env|grep PERL [root@server ~]#
    # cat .bashrc # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi
    I'd suggest doing the following: 1. Create a backup of the .bashrc file: cp .bashrc .bashrc.bk
    2. Comment out the Perl related lines as follows: # cat .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi alias php="php -d disable_functions=" alias composer="php /bin/composer.phar" #PATH="/root/perl5/bin${PATH:+:${PATH}}"; export PATH; #PERL5LIB="/root/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; #PERL_LOCAL_LIB_ROOT="/root/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; #PERL_MB_OPT="--install_base \"/root/perl5\""; export PERL_MB_OPT; #PERL_MM_OPT="INSTALL_BASE=/root/perl5"; export PERL_MM_OPT;
    Then logout and back in again and let me know if you continue to experience the same issue
    0
  • Edward T.
    That worked perfectly. Thank you so much. Cheers!
    0
  • cPanelLauren
    Awesome, I'm glad I could help you resolve that!
    0

Please sign in to leave a comment.