Dedicated server help

foxtrot1787
Private First-Class
Posts: 5
Joined: Mon 8 Sep 2014 21:43
Contact:

Dedicated server help

Postby foxtrot1787 » Mon 8 Sep 2014 21:52

Hi

Iv downloaded the dedicated server for Debian but i cannot get the server to start. I have read the install information but the command it says to use to run the application doesnt seem to work. im running it from terminal as root and from the directory. Its stored on my desktop.

I have used the following:

cd Desktop

./wargame3-server +port 10000 +port_mms 10804 +ip 192.168.1.33

result: bash ./wargame3-server:no such file or directory

iv also tried:

wargame3-server +port 10000 +port_mms 10804 +ip 192.168.1.33

im new to debian but have used ubuntu please could someone help

foxtrot1787
Private First-Class
Posts: 5
Joined: Mon 8 Sep 2014 21:43
Contact:

Re: Dedicated server help

Postby foxtrot1787 » Tue 9 Sep 2014 17:50

He are my commands

commands.PNG
commands.PNG (62.44 KiB) Viewed 1966 times

bin.zwieda
Second-Lieutenant
Posts: 763
Joined: Wed 19 Sep 2012 23:47
Contact:

Re: Dedicated server help

Postby bin.zwieda » Tue 9 Sep 2014 18:37

hi!

for sure, you need to use your official IP (so not the 192.168. ... thingee)

atm, i´m not at home, so i can´t directly compare to my config, but:

i have mine in a folder within my documents folder.
/Documents/wargame3_server

then i cd the terminal into this directory and start the server via the command line:
./wargame3-server +port 16543 +port mms 10804 +ip YOUR-OFFICIAL-IP-HERE #rcon_password YOUR-RCON-PASSWORD +rcon_port YOUR-RCON-PORT-HERE

maybe not the most elegant way (i ain´t no linux-whix at all), but it works for me.
;)

give it a try and report back, what´s happening.

i don´t need no chmod (maybe restore the server from a fresh archive to have it "virgin-fresh"

it just seems to me, you need to point your terminal into your server folder via cd

give it a try and report back, if you were successful.

edit: i don´t run my server as root, but as a normal user

foxtrot1787
Private First-Class
Posts: 5
Joined: Mon 8 Sep 2014 21:43
Contact:

Re: Dedicated server help

Postby foxtrot1787 » Tue 9 Sep 2014 22:01

Thank you for your response.

I have a fresh copy of debian installed and copied into documents but i know that wont make a difference. If you look i did cd into the download where i extracted the server folder.

Im still having the same issue. The reason im using a internal ip is because i dont want my official ip on the forum :)

Not sure what im doing wrong i cant see any other posting online about how to run the commands as im not too familiar with linux but have used it in the past for other things.

Capture.PNG
Capture.PNG (53.86 KiB) Viewed 1956 times

bin.zwieda
Second-Lieutenant
Posts: 763
Joined: Wed 19 Sep 2012 23:47
Contact:

Re: Dedicated server help

Postby bin.zwieda » Wed 10 Sep 2014 20:18

bflance wrote:please run this and post result here:
uname -a
and this:
cat /etc/debian_version



ooops, the # sign needs to be deleted. It's just a type error.

my server'sfolder is within Documents ... no idea, maybe the downloads folder is kind of forbidden in Linux to run something from there

let's try to put the server to somewhere else

also, please post a screenshot of your directory
ls
and
ls -l

i only got your error, if itry to start the server within the wrong path or directory.

User avatar
GeneralWolf
Corporal
Posts: 43
Joined: Wed 14 May 2014 13:47
Contact:

Re: Dedicated server help

Postby GeneralWolf » Thu 11 Sep 2014 14:10

This error can happen too, if you use a 32-Bit program on a 64-Bit machine. I think I had the same problem, but I can't remember the fix, sorry :|
German streaming:
http://www.twitch.tv/Generalwolf88
German Youtube channel with casts and strategy analyses:
https://www.youtube.com/user/GeneralWolf88

The 88 is btw my birth year and only chosen, if GeneralWolf already is taken ;)

foxtrot1787
Private First-Class
Posts: 5
Joined: Mon 8 Sep 2014 21:43
Contact:

Re: Dedicated server help

Postby foxtrot1787 » Thu 11 Sep 2014 17:31

Yeah thats right and i had to download 32bit binarys :)

Only thing now is getting the server to show up on the list in game for my friends to join.

User avatar
GeneralWolf
Corporal
Posts: 43
Joined: Wed 14 May 2014 13:47
Contact:

Re: Dedicated server help

Postby GeneralWolf » Thu 11 Sep 2014 18:12

Nice that you were able to solve the problem.

Did you use the right IP like bin.zwieda suggested?
If you don't know your public IP, you can get it via sites like this:
http://www.whatsmyip.org/

And you have to open the according ports in your router, if you have one.
German streaming:
http://www.twitch.tv/Generalwolf88
German Youtube channel with casts and strategy analyses:
https://www.youtube.com/user/GeneralWolf88

The 88 is btw my birth year and only chosen, if GeneralWolf already is taken ;)

User avatar
Shifu
Lieutenant General
Posts: 4283
Joined: Wed 13 Jul 2011 16:06
Contact:

Re: Dedicated server help

Postby Shifu » Thu 9 Oct 2014 21:32

Just for the record: You don't need to switch to 32bit Debian, you can use the ia32 suite

As root:

Code: Select all

aptitude install ia32-libs


That's all, now you should be able to start the server as if you'd be on 32bit.

Get more details here: https://www.debian-administration.org/article/534/Running_32-bit_Applications_on_64-bit_Debian_GNU/Linux

bflance
Corporal
Posts: 28
Joined: Fri 14 Mar 2014 16:44
Contact:

Re: Dedicated server help

Postby bflance » Sun 12 Oct 2014 10:43

you can also start your server via script which will automaticly "ask internet" for your external IP address:

simple script can be like that:

----------script start----------
#!/bin/bash

myip=$(curl -s icanhazip.com)
<folder-where-server-is-installed>/wargame3-server +port XXXX +port_mms 10804 +ip $myip
----------script end----------

just create an "start.sh" file in server folder.
add it execute permissions by running this: chmod +x start.sh
then execute it: ./start.sh

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 0 guests