LunchboxCharlie 32 Report post Posted December 17, 2014 I am trying to execute restarter.pl but it wont work, I tried to change: use constant PATH => $ENV{'PWD'}.'/home/server/servers/epochserver/'; # Set your epoch server dir to use constant PATH => '/home/server/servers/epochserver/'; # Set your epoch server dir But that didn't work, I'm out of ideas. Quote Share this post Link to post Share on other sites
LunchboxCharlie 32 Report post Posted December 17, 2014 Nevermind.... I must of mistyped or something.. >_> Quote Share this post Link to post Share on other sites
jahangir13 33 Report post Posted December 17, 2014 Absolute paths work if it's correct. unless (-f PATH.'server') { print STDERR "Can't find server binary!\n"; exit; Here is the error message. Does the executable has the name you have there? 'server' in my case? Quote Share this post Link to post Share on other sites
LunchboxCharlie 32 Report post Posted December 18, 2014 Absolute paths work if it's correct. unless (-f PATH.'server') { print STDERR "Can't find server binary!\n"; exit; Here is the error message. Does the executable has the name you have there? 'server' in my case? No, it's working now.. I must have mistyped something. Quote Share this post Link to post Share on other sites
jahangir13 33 Report post Posted December 18, 2014 Yes I saw it the time I've just posted the answer yesterday. Maybe to have 15 dirs in the path with server in the name makes it a bit difficult ,)) 'server/servers/epochserver' Quote Share this post Link to post Share on other sites
LunchboxCharlie 32 Report post Posted December 18, 2014 You seem to be the only one active on the linux forum, I am having an issue.. maybe you can help. I used your tutorial to set up the epoch server, which worked fine, however, I am having trouble opening ports to connect to steam. I changed both the ports to wild numbers (Shouldn't matter what values the ports are as long as they aren't in use): steamport = 8197; steamqueryport = 27103; server 17851 root 215u IPv4 869540099 0t0 UDP *:2304 server 17851 root 217u IPv4 869540107 0t0 UDP *:2302 I'm at a loss, it's not opening the ports at all, just those two ports... Just the game port and port 2304 which I don't know why that's happening either... also, I normally don't run in root but I was troubleshooting the issue. I don't have a firewall. Quote Share this post Link to post Share on other sites
campers-dead 0 Report post Posted January 9, 2016 ich have a problem i want to start my server with restarter.pl but it doens't works when i want to start with ./restarter.pl it say's: "Can't found server binary!" here a copy from my restarter.pl #!/usr/bin/perl # # Copyright 2013 by Denis Erygin, # [email protected] # use warnings; use strict; use constant PORT => 2302; # Change it with epoch.sh use constant PATH => $ENV{'PWD'}.'/home/dayz/epochserver/'; # Set your epoch server dir use constant PIDFILE => PATH.PORT.'.pid'; use constant CACHE_DIR => PATH.'cache/players'; unless (-f PATH.'server') { print STDERR "Can't found server binary!\n"; exit; } What is Wrong??? i have no ideas Quote Share this post Link to post Share on other sites
jahangir13 33 Report post Posted January 25, 2016 Use an absolute path here: use constant PATH => '/home/epoch/epochserver/'; # Set your epoch server dir The path need to point to your servers directory. And have a look if your server executable really has the name 'server'. If it has another name you need to rename it to 'server' or change it in restarter.pl here in the check condition ( unless (-f PATH.'server') { ). Quote Share this post Link to post Share on other sites