SOLVED "perl <(curl -s https://raw.githubusercontent.com/..." result = "Can't locate Cpanel/Config/LoadWwwAcctConf.pm" how fixed?

000

Well-Known Member
Jun 3, 2008
277
12
68
Hello,

result after of some SHELL scripts is:
Code:
Can't locate
Cpanel/Config/LoadWwwAcctConf.pm
in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .)
at /dev/fd/63 line 35.
BEGIN failed--compilation aborted at /dev/fd/63 line 35.
what we need install to fixed?

Thanks
 
Last edited:

000

Well-Known Member
Jun 3, 2008
277
12
68
Hey there! I'm going to need some more detail on this particular issue. Is there a specific API call you were running that led to this error? If not, can you let me know what script you are running that caused this?
Thanks I run using
Code:
perl <(curl -s https://raw.githubusercontent.com/cPanelTechs/CSI/master/...
and result ever is:
Code:
Can't locate
Cpanel/Config/LoadWwwAcctConf.pm
in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .)
at /dev/fd/63 line 35.
BEGIN failed--compilation aborted at /dev/fd/63 line 35.
how we can fixed " Can't locate Cpanel/Config/LoadWwwAcctConf.pm " ??
 

andrew.n

Well-Known Member
Jun 9, 2020
457
118
43
EU
cPanel Access Level
Root Administrator
We don't see the full command as it's too long to be displayed. Which script are you trying to run exactly?
 

wintech2003

Well-Known Member
PartnerNOC
Sep 15, 2010
103
27
78
Greece
cPanel Access Level
DataCenter Provider
I guess you're trying to run the csi.pl script. Stupid question, but are you running this on a cPanel server?
What is the output of ls -la /usr/local/cpanel/3rdparty/bin/perl ?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
2,920
373
213
cPanel Access Level
Root Administrator
Could you try this slightly newer version instead?

Code:
/usr/local/cpanel/3rdparty/bin/perl <(curl -s https://raw.githubusercontent.com/cPanelTechs/CSI/master/csi.pl)
That specifies that you use the cPanel perl to run that tool, which will likely be required :D
 
  • Like
Reactions: andrew.n

000

Well-Known Member
Jun 3, 2008
277
12
68

000

Well-Known Member
Jun 3, 2008
277
12
68
Could you try this slightly newer version instead?

Code:
/usr/local/cpanel/3rdparty/bin/perl <(curl -s https://raw.githubusercontent.com/cPanelTechs/CSI/master/csi.pl)
excellent!,
now the script run PERFECT:
Code:
[[email protected] ~]# /usr/local/cpanel/3rdparty/bin/perl <(curl -s https://raw.githubusercontent.com/cPanelTechs/CSI/master/lottery.number.winner.pl)
9875432198 day winner: 2021-02-12
[[email protected] ~]#
:)

many thanks !