Jump to content
Sign in to follow this  
LunchboxCharlie

Can't found server binary!

Recommended Posts

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.

 

 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
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. 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...