Can’t locate File/Type.pm in @INC

Xpanel FTP not deleting .exe file uploads.

[root@server1 ~]# /usr/local/xpanel/uploadscript.pl
Can't locate File/Type.pm in @INC (@INC contains: /usr/local/xpanel/ /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 /usr/local/xpanel/uploadscript.pl line 27.
BEGIN failed--compilation aborted at /usr/local/xpanel/uploadscript.pl line 27.
[root@server1 ~]#

To fix, install File::Type cpan module.

cpan
install File::Type

See Errors

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *