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

CRITICAL ERROR: The path to Perl is incorrect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Predator.Cat
Member
Join Date: Dec 2012
Location: Moscow, Russia
Old 01-31-2013 , 14:11   CRITICAL ERROR: The path to Perl is incorrect
Reply With Quote #1

Hello!
After reboot I was tried to run hlstats, but got this message:
Code:
[root@zion 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/share/perl5
Visit our wiki for more information: http://wiki.hlxce.com.

Potential paths for Perl:
/usr/bin/perl
I have not deleted or reinstalled perl, I just rebooted the server. Why all worked untill reboot? What's the problem?
Predator.Cat is offline
Send a message via ICQ to Predator.Cat
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 01-31-2013 , 17:18   Re: CRITICAL ERROR: The path to Perl is incorrect
Reply With Quote #2

I am guessing when you rebooted something updated, try this command and see if perl is in the bin or sbin folders

Code:
locate perl | grep bin | less
If so then try changing your shell band (the top line that starts with #) to the new current path

If that does not work see if for w/e reason perl is no longer installed by typing perl -v
__________________
Mavrick4283 is offline
Predator.Cat
Member
Join Date: Dec 2012
Location: Moscow, Russia
Old 02-01-2013 , 00:45   Re: CRITICAL ERROR: The path to Perl is incorrect
Reply With Quote #3

Mavrick4283,
Code:
/usr/bin/find2perl
/usr/bin/foomatic-perl-data
/usr/bin/perl
/usr/bin/perl5.10.1
/usr/bin/perlbug
/usr/bin/perldoc
/usr/bin/perlivp
/usr/bin/perlthanks
/usr/share/doc/perl-MooseX-Types-0.22/t/18_combined_libs.t
/usr/share/doc/perl-MooseX-Types-0.22/t/lib/Combined.pm
/usr/share/perl5/unicore/CombiningClass.pl
/usr/share/perl5/unicore/lib/gc_sc/InCombin.pl
/usr/share/perl5/vendor_perl/MooseX/Types/Combine.pm
Code:
[root@zion ~]# perl -v

This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Copyright 1987-2009, Larry Wall
I changed the path to perl in hlstats.pl from /usr/share/perl5 to /usr/bin/perl, and daemon was sucessfully started (but yesterday it is, for some reason, didn't help).
Thank you very mach!

Last edited by Predator.Cat; 02-01-2013 at 00:47.
Predator.Cat is offline
Send a message via ICQ to Predator.Cat
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 11:40.


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