cyber Posted February 2 Posted February 2 Hello, I'm trying to install HLStatsX Community Edition, by following this tutorial: https://zppv.boards.net/thread/1074/tut-hlstatsx-ssh-easy-installation Sorry for posting the link on the forum, I didn't want there to be a "wall of text" in the thread. I'm using HLStats:CE 1.7 (Original Source), PHP version installed on the server: 7.2.34 In step 6 of the tutorial, for the Module Include Path, I'm using /usr/bin/perl (I'm not sure if that's the right path) I had to create the folder usr, bin and perl manually, because they didn't exist. In step 9 of the tutorial, when running the cron jobs tasks, I get the following error message, in all 3 cron tasks: Task "cd /usr/bin/perl/usr && ./run_hlstats start" completed with error in 1 seconds, output: execv("/bin/bash") failedsystem error: Permission denied Task "cd /usr/bin/perl/usr && ./hlstats-awards.pl" completed with error in 1 seconds, output: execv("/bin/bash") failedsystem error: Permission denied Task "cd /usr/bin/perl/GeoLiteCity && ./install_binary.sh" completed with error in 1 seconds, output: execv("/bin/bash") failedsystem error: Permission denied Is it possible to fix this? If anyone tries the installation and succeeds, can you please let me know? Maybe I made a mistake in one of the steps. Kind regards, cyber
badrihippo Posted July 1 Posted July 1 I think you might be disallowed from cd'ing into /usr/bin/perl since that is a system folder. On 2/2/2024 at 7:25 AM, cyber said: In step 6 of the tutorial, for the Module Include Path, I'm using /usr/bin/perl (I'm not sure if that's the right path) /usr/bin/perl is the correct path for the system-wide perl installation. But looking at your tutorial, I think in your case you need to make your own perl folder for custom scripts (not /usr/bin/perl). The default path for your home folder is /home/YOUR_USERNAME. So for example if I want to access the perl folder at the top level of my file manager the path will be /home/hippo/perl (because my username is hippo). If your username is cyber then the path will be /home/cyber/perl. On 2/2/2024 at 7:25 AM, cyber said: In step 9 of the tutorial, when running the cron jobs tasks, I get the following error message, in all 3 cron tasks: Task "cd /usr/bin/perl/usr && ./run_hlstats start" completed with error in 1 seconds, output: execv("/bin/bash") failedsystem error: Permission denied Task "cd /usr/bin/perl/usr && ./hlstats-awards.pl" completed with error in 1 seconds, output: execv("/bin/bash") failedsystem error: Permission denied Task "cd /usr/bin/perl/GeoLiteCity && ./install_binary.sh" completed with error in 1 seconds, output: execv("/bin/bash") failedsystem error: Permission denied Try replacing /usr/bin/perl to /home/YOUR_USERNAME/perl in the above scripts (i.e. cd /home/YOUR_USERNAME/perl/usr, cd /home/YOUR_USERNAME/perl/GeoLiteCity, etc.)
wolstech Posted July 1 Posted July 1 You'll need a VPS to run this. We do not allow this requirement on the shared hosting (specifically the inbound connections), so even if you got it to run, it'll be useless. Quote 5)The ability to unblock your gameserver's port for incoming and outgoing connections and port 27500 that a script named daemon must run on. EDIT: Just realized this was from 4 months ago.
Recommended Posts