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
270
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
270
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
388
94
28
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?
 

000

Well-Known Member
Jun 3, 2008
270
12
68

000

Well-Known Member
Jun 3, 2008
270
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 !