Raised This Month: $51 Target: $400
 12% 

[SOLVED][Ubuntu]: The path to Perl is incorrect in hlstats.pl.


Post New Thread Reply   
 
Thread Tools Display Modes
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
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 10-03-2014 , 23:26   Re: [Ubuntu]CRITICAL ERROR: The path to Perl is incorrect in hlstats.pl.
Reply With Quote #2

Run

dos2unix ./*

in the hlx daemon folder.
__________________
Mavrick4283 is offline
Pohearts
AlliedModders Donor
Join Date: Oct 2014
Location: Hong Kong
Old 10-03-2014 , 23:44   Re: [Ubuntu]CRITICAL ERROR: The path to Perl is incorrect in hlstats.pl.
Reply With Quote #3

Quote:
Originally Posted by Mavrick4283 View Post
Run

dos2unix ./*

in the hlx daemon folder.

Code:
HLstatsX:CE daemon control
http://www.hlxce.com
---------------------------
Attempting to start HLstatsX:CE daemon on port 27500...
Daemon successfully started on port 27500
IT WORKS! ..

thank you..
Pohearts is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 10-08-2014 , 02:54   Re: [SOLVED][Ubuntu]: The path to Perl is incorrect in hlstats.pl.
Reply With Quote #4

STICKY Please
__________________
micazoid is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode