View Single Post
Author Message
Pohearts
AlliedModders Donor
Join Date: Oct 2014
Location: Hong Kong
Old 10-03-2014 , 15:33   [SOLVED][Ubuntu]: The path to Perl is incorrect in hlstats.pl.
Reply With Quote #1

I am having problem during the installation of HLStats:CE to my Linux Ubuntu server.
i followed the guide as mentioned in this page....
I have converted the script successfully with dos2unix..

that's ERROR i've got for ./run_hlstats start:

Code:
root@127:/scripts# ./run_hlstats start

HLstatsX:CE daemon control
http://www.hlxce.com
---------------------------
CRITICAL ERROR: The path to Perl is incorrect in hlstats.pl.
Current Perl path in shebang: /usr/bin/perl
Visit our wiki for more information: http://wiki.hlxce.com.

Potential paths for Perl:
/usr/bin/perl
Perl version

Code:
root@127:/scripts# perl -v

This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
(with 57 registered patches, see perl -V for more detail)

Copyright 1987-2011, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Shebangs prefix @ hlstats.pl of the scripts:
Code:
#!/usr/bin/perl


that's what i had for running locate perl | grep bin | less:

Code:
/usr/bin/dh_perl
/usr/bin/dh_perl_dbi
/usr/bin/find2perl
/usr/bin/perl
/usr/bin/perl5.14.2
/usr/bin/perlbug
/usr/bin/perldoc
/usr/bin/perlivp
/usr/bin/perlthanks
/usr/bin/update-perl-sax-parsers
/usr/lib/perl5/auto/NetAddr/IP/UtilPP/_bcd2bin.al
/usr/lib/perl5/auto/NetAddr/IP/UtilPP/_bin2bcdn.al
/usr/lib/perl5/auto/NetAddr/IP/UtilPP/bcd2bin.al
/usr/lib/perl5/auto/NetAddr/IP/UtilPP/bcdn2bin.al
/usr/lib/perl5/auto/NetAddr/IP/UtilPP/bin2bcd.al
/usr/lib/perl5/auto/NetAddr/IP/UtilPP/bin2bcdn.al

Any help is appreciated
Perl and shebang are correctly installed and configured..
still not be able to start up deamon

Last edited by Pohearts; 10-04-2014 at 00:02.
Pohearts is offline