Jump to content

Can't found server binary!


LunchboxCharlie

Recommended Posts

I am trying to execute restarter.pl but it wont work, I tried to change:

 

  Quote

use constant PATH      => $ENV{'PWD'}.'/home/server/servers/epochserver/'; # Set your epoch server dir

to

  Quote
 

use constant PATH      => '/home/server/servers/epochserver/'; # Set your epoch server dir

 

But that didn't work, I'm out of ideas.

 

 

Link to comment
Share on other sites

  On 12/17/2014 at 11:51 PM, jahangir13 said:

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. 

Link to comment
Share on other sites

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. 
Link to comment
Share on other sites

  • 1 year later...

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,
# denis.erygin@gmail.com
#

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

Link to comment
Share on other sites

  • 3 weeks later...

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') { ).

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...