scripts symlink problem?
Hello,
i am using WHM version 11.56
i am having an issue with executing scripts inside /scripts directory.
if i try to execute the backup command from /scripts/pkgacct i get the error
/usr/local/cpanel/3rdparty/bin/perl: symbol lookup error: /root/perl5/lib/perl5/x86_64-linux-64int/auto/DBI/DBI.so: undefined symbol: Perl_xs_apiversion_bootcheck
If i execute the command from /usr/local/cpanel/scripts/ it works fine.
Any advice how to fix this?
Kind regards and my thanks in advance
-
Hello, This appears to be a Internal cPanel Perl Error I advise getting a ticket open at cPanel Customer Portal so that we can look further into this. 0 -
i have been trying but i am getting an error when i try to log in to customer portal error type: undef error info: Must be a positive integer (in $args->{"user_id"}) at (eval 973) line 182 "PositiveInt" is a subtype of "Int" "Int" is a subtype of "Num" "Num" is a subtype of "LaxNum" "LaxNum" is a subtype of "Str" "Str" is a subtype of "Value" "Value" is a subtype of "Defined" Undef did not pass type constraint "Defined" (in $args->{"user_id"}) "Defined" is defined as: (defined($_)) undef error - Must be a positive integer (in $args->{"user_id"}) at (eval 973) line 182 "PositiveInt" is a subtype of "Int" "Int" is a subtype of "Num" "Num" is a subtype of "LaxNum" "LaxNum" is a subtype of "Str" "Str" is a subtype of "Value" "Value" is a subtype of "Defined" Undef did not pass type constraint "Defined" (in $args->{"user_id"}) "Defined" is defined as: (defined($_))
or this when i go to ticket submit page An unknown error has occurred, and our admins have been notified. Please contact cs @ cpanel.net for further assistance with this request.0 -
Hello, To update, it looks like the PERL5LIB environment variable was enabled on this system. The following lines were removed from /root/.bashrc to disable this environment, as it's not generally recommended on cPanel systems: export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/root/perl5"; export PERL_MB_OPT="--install_base /root/perl5"; export PERL_MM_OPT="INSTALL_BASE=/root/perl5"; export PERL5LIB="/root/perl5/lib/perl5:$PERL5LIB";
The following document explains the multiple Perl environments on cPanel systems:0
Please sign in to leave a comment.
Comments
3 comments