[GH-ISSUE #816] Problem with Hurtworld script #655

Closed
opened 2026-02-27 02:02:56 +03:00 by kerem · 43 comments
Owner

Originally created by @rogerhnn on GitHub (May 16, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/816

Hello, after setting up a hurtworld server using the game script I have this problem:
Set current directory to /home/hurtworld/serverfiles
Found path: /home/hurtworld/serverfiles/Hurtworld.x86

The only thing I changed in the script was the ip, server name and added my steam id to become admin.

Can anyone help me? Thanks

Originally created by @rogerhnn on GitHub (May 16, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/816 Hello, after setting up a hurtworld server using the game script I have this problem: Set current directory to /home/hurtworld/serverfiles Found path: /home/hurtworld/serverfiles/Hurtworld.x86 The only thing I changed in the script was the ip, server name and added my steam id to become admin. Can anyone help me? Thanks
kerem closed this issue 2026-02-27 02:02:56 +03:00
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Hi,
I'm sorry, i don't get what the issue is. Could you make a screenshot or something ?

<!-- gh-comment-id:219408415 --> @UltimateByte commented on GitHub (May 16, 2016): Hi, I'm sorry, i don't get what the issue is. Could you make a screenshot or something ?
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Sure, you can check it here: http://i.imgur.com/XefICdv.png

What I did: Started the server and then console:

./hwserver start
./hwserver console

Then I got this message, and I followed everything on the how to setup page.

<!-- gh-comment-id:219409211 --> @rogerhnn commented on GitHub (May 16, 2016): Sure, you can check it here: http://i.imgur.com/XefICdv.png What I did: Started the server and then console: ./hwserver start ./hwserver console Then I got this message, and I followed everything on the how to setup page.
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

The console won't display anything else. This isn't an issue, this is the normal behavior of a Hurtworld server. If you think it sucks, blame Hurtworld team or Unity Engine, or both. :o))

<!-- gh-comment-id:219409501 --> @UltimateByte commented on GitHub (May 16, 2016): The console won't display anything else. This isn't an issue, this is the normal behavior of a Hurtworld server. If you think it sucks, blame Hurtworld team or Unity Engine, or both. :o))
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

I know, what I am saying is that the server doesnt start, it give me that message:
Set current directory to /home/hurtworld/serverfiles
Found path: /home/hurtworld/serverfiles/Hurtworld.x86
and then it shuts down.
Like if the directory in the start script is wrong.

<!-- gh-comment-id:219410422 --> @rogerhnn commented on GitHub (May 16, 2016): I know, what I am saying is that the server doesnt start, it give me that message: Set current directory to /home/hurtworld/serverfiles Found path: /home/hurtworld/serverfiles/Hurtworld.x86 and then it shuts down. Like if the directory in the start script is wrong.
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

what I am saying is that the server doesnt start

You didn't say that at any point.
As you're able to see the console, it seems like the server is starting.

If you exit the console withctrl + c (instead of ctrl + b, d), that's why the server shutdowns.
ctrl + c will terminate the process, while ctrl +b, d will let it run in background.

./hwserver start
Wait a few seconds
then ./hwserver monitor
-> output ?

Also, when adding yourself as an admin, make sure you follow the right syntax :
admins="addadmin 012345678901234567"

<!-- gh-comment-id:219411784 --> @UltimateByte commented on GitHub (May 16, 2016): > what I am saying is that the server doesnt start You didn't say that at any point. As you're able to see the console, it seems like the server is starting. If you exit the console with`ctrl + c` (instead of `ctrl + b, d`), that's why the server shutdowns. `ctrl + c` will terminate the process, while `ctrl +b, d` will let it run in background. `./hwserver start` Wait a few seconds then `./hwserver monitor` -> output ? Also, when adding yourself as an admin, make sure you follow the right syntax : `admins="addadmin 012345678901234567"`
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

I use the ctrl+b, d to exit the console.
The addadmin is correct.

This is my output:

[hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver start [ OK ] Starting hurtworld-server: BR Survival x5 |TP|Home|Shop [hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver monitor fetching functions/command_monitor.sh...OK [ OK ] Monitor hurtworld-server: Checking session: OK fetching functions/monitor_gsquery.sh...OK [ .... ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : QUERYIN [ FAIL ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : ERROR: Unable to receive [ FAIL ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : ERROR: Unable to receive [ FAIL ] Stopping hurtworld-server: BR Survival x5 |TP|Home|Shop is already stopped [ OK ] Starting hurtworld-server: BR Survival x5 |TP|Home|Shop [hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver monitor [ OK ] Monitor hurtworld-server: Checking session: OK [ OK ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : OK [hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver monitor [ OK ] Monitor hurtworld-server: Checking session: OK [ OK ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : OK [hwserver@ubuntu-1gb-nyc3-01 ~]$
Strange is that I can't connect, I got a no response from server message.

<!-- gh-comment-id:219413230 --> @rogerhnn commented on GitHub (May 16, 2016): I use the ctrl+b, d to exit the console. The addadmin is correct. This is my output: `[hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver start [ OK ] Starting hurtworld-server: BR Survival x5 |TP|Home|Shop [hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver monitor fetching functions/command_monitor.sh...OK [ OK ] Monitor hurtworld-server: Checking session: OK fetching functions/monitor_gsquery.sh...OK [ .... ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : QUERYIN [ FAIL ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : ERROR: Unable to receive [ FAIL ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : ERROR: Unable to receive [ FAIL ] Stopping hurtworld-server: BR Survival x5 |TP|Home|Shop is already stopped [ OK ] Starting hurtworld-server: BR Survival x5 |TP|Home|Shop [hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver monitor [ OK ] Monitor hurtworld-server: Checking session: OK [ OK ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : OK [hwserver@ubuntu-1gb-nyc3-01 ~]$ ./hwserver monitor [ OK ] Monitor hurtworld-server: Checking session: OK [ OK ] Monitor hurtworld-server: Querying port: 104.131.107.91:12881 : OK [hwserver@ubuntu-1gb-nyc3-01 ~]$ ` Strange is that I can't connect, I got a no response from server message.
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

OK, so your first "monitor" attempt failed, but the second one is fine.
If the monitor says OK, it means your server accept querying, and supposedly connections from local.

No response could be a firewall issue,either on your OS, or a hardware firewall to set from your server provider. Also make sure that for some reason, you don't have several hurtworld processes started. (use the "top" command or webmin to check).

<!-- gh-comment-id:219414953 --> @UltimateByte commented on GitHub (May 16, 2016): OK, so your first "monitor" attempt failed, but the second one is fine. If the monitor says OK, it means your server accept querying, and supposedly connections from local. No response could be a firewall issue,either on your OS, or a hardware firewall to set from your server provider. Also make sure that for some reason, you don't have several hurtworld processes started. (use the "top" command or webmin to check).
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

I checked now it says firewall is not running, and only one process is running.
I have to run firewall to enable the tcp/udp connections so?

<!-- gh-comment-id:219415464 --> @rogerhnn commented on GitHub (May 16, 2016): I checked now it says firewall is not running, and only one process is running. I have to run firewall to enable the tcp/udp connections so?
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Nope. If iptables -L shows you the default policy is to accept connections, you have nothing to do.
However, some servers like the "game" series from OVH have a firewal that you have to manage from your OVH panel. I'd search for that.

You can also use the netstat -atunp | grep Hurtworld command to check that your Hurtworld server is listening correctly for connections. If the monitor function tells you it's OK, then everything should be normal there.

After that, i'll be a bit short on clues if you can't manage to get it working.

<!-- gh-comment-id:219417333 --> @UltimateByte commented on GitHub (May 16, 2016): Nope. If `iptables -L` shows you the default policy is to accept connections, you have nothing to do. However, some servers like the "game" series from OVH have a firewal that you have to manage from your OVH panel. I'd search for that. You can also use the `netstat -atunp | grep Hurtworld` command to check that your Hurtworld server is listening correctly for connections. If the monitor function tells you it's OK, then everything should be normal there. After that, i'll be a bit short on clues if you can't manage to get it working.
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Okay, so far so good. The server appears on the server list now.
But for some strange reason I can't connect to it.

I started the firewalld service, and added the ports 12871 and 12881 to the list. Both tcp and udp.

Tried the command you said: netstat -atunp it outputs this:

[hwserver@ubuntu-1gb-nyc3-01 ~]$ netstat -atunp | grep Hurtworld
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
udp        0      0 0.0.0.0:3565            0.0.0.0:*                           4427/./Hurtworld.x8
udp        0      0 0.0.0.0:12881           0.0.0.0:*                           4427/./Hurtworld.x8

I am using DigitalOcean with centos 7.2 to deploy a test server.

<!-- gh-comment-id:219425324 --> @rogerhnn commented on GitHub (May 16, 2016): Okay, so far so good. The server appears on the server list now. But for some strange reason I can't connect to it. I started the firewalld service, and added the ports 12871 and 12881 to the list. Both tcp and udp. Tried the command you said: netstat -atunp it outputs this: ``` [hwserver@ubuntu-1gb-nyc3-01 ~]$ netstat -atunp | grep Hurtworld (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) udp 0 0 0.0.0.0:3565 0.0.0.0:* 4427/./Hurtworld.x8 udp 0 0 0.0.0.0:12881 0.0.0.0:* 4427/./Hurtworld.x8 ``` I am using DigitalOcean with centos 7.2 to deploy a test server.
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Why put a firewall when you're diagnosing stuff ? -_-

<!-- gh-comment-id:219426134 --> @UltimateByte commented on GitHub (May 16, 2016): Why put a firewall when you're diagnosing stuff ? -_-
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Because before the udp and tcp ports were closed, I activated the firewall service to enable them.

Why its so hard to get it working under linux -_-

<!-- gh-comment-id:219426661 --> @rogerhnn commented on GitHub (May 16, 2016): Because before the udp and tcp ports were closed, I activated the firewall service to enable them. Why its so hard to get it working under linux -_-
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

No firewall doesn't mean the ports are closed. It means there is no restriction.
If your firewall policy was to deny all connections, of course it couldn't work.

Here is a properly disabled firewall output

root@game:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

I'm sorry about what i'm gonna say, but if you think this is hard even when using LGSM, either put your thumbs out your ass or don't use linux.

<!-- gh-comment-id:219427299 --> @UltimateByte commented on GitHub (May 16, 2016): No firewall doesn't mean the ports are closed. It means there is no restriction. If your firewall policy was to deny all connections, of course it couldn't work. Here is a properly disabled firewall output ``` root@game:~# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ``` I'm sorry about what i'm gonna say, but if you think this is hard even when using LGSM, either put your thumbs out your ass or don't use linux.
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

I disabled the firewall and it outputs:

[root@ubuntu-1gb-nyc3-01 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
<!-- gh-comment-id:219430041 --> @rogerhnn commented on GitHub (May 16, 2016): I disabled the firewall and it outputs: ``` [root@ubuntu-1gb-nyc3-01 ~]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ```
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

And you still can't connect ? What is the exact message ?

You didn't answer about that : Does your server have another kind of firewall ? Like a hardware firewall, that you would setup within your server provider's panel ?

<!-- gh-comment-id:219435947 --> @UltimateByte commented on GitHub (May 16, 2016): And you still can't connect ? What is the exact message ? You didn't answer about that : Does your server have another kind of firewall ? Like a hardware firewall, that you would setup within your server provider's panel ?
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

The only message it gives is that I can't connect.

There's no other firewall, not from the panel itself.

<!-- gh-comment-id:219436792 --> @rogerhnn commented on GitHub (May 16, 2016): The only message it gives is that I can't connect. There's no other firewall, not from the panel itself.
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

What is the exact message ?
Are you sure that there is no other firewall ? Sometimes it's not obvious, like with the "game" server from OVH.

<!-- gh-comment-id:219437608 --> @UltimateByte commented on GitHub (May 16, 2016): What is the exact message ? Are you sure that there is no other firewall ? Sometimes it's not obvious, like with the "game" server from OVH.
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

http://i.imgur.com/pkO3tpu.png

This is what shows, and the message is "connection failed"
The server appears on the list

<!-- gh-comment-id:219438115 --> @rogerhnn commented on GitHub (May 16, 2016): http://i.imgur.com/pkO3tpu.png This is what shows, and the message is "connection failed" The server appears on the list
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Can you connect to other servers ? (make sure it's not a client issue)
Are both your client and server up to date ?
./hwserver validate

<!-- gh-comment-id:219438809 --> @UltimateByte commented on GitHub (May 16, 2016): Can you connect to other servers ? (make sure it's not a client issue) Are both your client and server up to date ? `./hwserver validate`
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Boy, i noticed you're lacking a port listening.

Compare to my output :

ultimatebyte@game:~/hwtest$ netstat -atunp | grep Hurtworld
udp        0      0 0.0.0.0:12871           0.0.0.0:*                           28772/Hurtworld.x86
udp        0      0 0.0.0.0:12881           0.0.0.0:*                           28772/Hurtworld.x86
udp        0      0 0.0.0.0:3565            0.0.0.0:*                           28772/Hurtworld.x86

Where is your 12871 ?

<!-- gh-comment-id:219442944 --> @UltimateByte commented on GitHub (May 16, 2016): Boy, i noticed you're lacking a port listening. Compare to my output : ``` ultimatebyte@game:~/hwtest$ netstat -atunp | grep Hurtworld udp 0 0 0.0.0.0:12871 0.0.0.0:* 28772/Hurtworld.x86 udp 0 0 0.0.0.0:12881 0.0.0.0:* 28772/Hurtworld.x86 udp 0 0 0.0.0.0:3565 0.0.0.0:* 28772/Hurtworld.x86 ``` Where is your 12871 ?
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Yeah I can connect to others. I have 1 server up using windows, but the problem is linux.
I validated the files, started it again and same...

It may be something with a port???

<!-- gh-comment-id:219443079 --> @rogerhnn commented on GitHub (May 16, 2016): Yeah I can connect to others. I have 1 server up using windows, but the problem is linux. I validated the files, started it again and same... It may be something with a port???
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

See my upper message.

What's your distro ?

<!-- gh-comment-id:219443201 --> @UltimateByte commented on GitHub (May 16, 2016): See my upper message. What's your distro ?
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

I am using Centos 7.2
Yeah I saw.
Mine is not listening on port 12871, but why??

<!-- gh-comment-id:219443293 --> @rogerhnn commented on GitHub (May 16, 2016): I am using Centos 7.2 Yeah I saw. Mine is not listening on port 12871, but why??
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Any reason for using CentOS ?
I'd recommend Debian 8 or Ubuntu 14+. 64 bits.

BTW, your query port is listening and responds, that's why monitor says it's ok, and that's why you're listed into the server list. But for some reason, your game port isn't listening. Don't mess with the firewall again, if the process doesn't even listen correctly, you can open whatever you want it won't help.

./hwserver details
Output of "Command-line Parameters" section ?

<!-- gh-comment-id:219448071 --> @UltimateByte commented on GitHub (May 16, 2016): Any reason for using CentOS ? I'd recommend Debian 8 or Ubuntu 14+. 64 bits. BTW, your query port is listening and responds, that's why monitor says it's ok, and that's why you're listed into the server list. But for some reason, your game port isn't listening. Don't mess with the firewall again, if the process doesn't even listen correctly, you can open whatever you want it won't help. `./hwserver details` Output of "Command-line Parameters" section ?
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

In your hwserver
You have map="diemensland" don't you ?
Try to remove "diemensland"
so that you have map=""
And restart hwserver.

<!-- gh-comment-id:219459429 --> @UltimateByte commented on GitHub (May 16, 2016): In your hwserver You have map="diemensland" don't you ? Try to remove "diemensland" so that you have map="" And restart hwserver.
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

More importantly, your admin syntax is wrong.
What did i tell you in my first posts ?

Also, when adding yourself as an admin, make sure you follow the right syntax :
admins="addadmin 012345678901234567"

What did you do ?
admins="76561198024356708" >>>>>> WRONG WRONG WRONG
Can't you actually read ?

admins="addadmin 76561198024356708"

<!-- gh-comment-id:219460157 --> @UltimateByte commented on GitHub (May 16, 2016): More importantly, your admin syntax is wrong. What did i tell you in my first posts ? > Also, when adding yourself as an admin, make sure you follow the right syntax : > admins="addadmin 012345678901234567" What did you do ? `admins="76561198024356708"` >>>>>> WRONG WRONG WRONG Can't you actually read ? > > > > > admins="addadmin 76561198024356708"
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

I corrected that already. Sorry :(

Here's the corrected:

Distro Details
========================================================================================================================================================================================================
Distro:   CentOS Linux release 7.2.1511 (Core)
Arch:   x86_64
Kernel:   3.10.0-327.10.1.el7.x86_64
Hostname:   ubuntu-1gb-nyc3-01
tmux:   tmux 1.8
GLIBC:   2.17

Performance
========================================================================================================================================================================================================
Uptime:   0d, 3h, 48m
Avg Load:   0.34, 0.52, 0.31

Mem:   total    used   free
Physical:   993M   388M   70M
Swap:   0B   0B     0B

Storage
========================================================================================================================================================================================================
Filesystem:   /dev/vda1
Total:   30G
Used:   2.8G
Available:   26G
Serverfiles:   1.4G

Hurtworld Server Details
========================================================================================================================================================================================================
Server name:   BR Survival x5 |TP|Home|Shop
Server IP:   104.131.107.91:12871
Slots:   50
Game world:   NO MAP SET
Status:   ONLINE

hwserver Script Details
========================================================================================================================================================================================================
Service name:   hurtworld-server
hwserver version:   271215
User:   hwserver
GLIBC required:   2.15
Email notification:   off
Location:   /home/hwserver

Backups
========================================================================================================================================================================================================
No Backups created

Command-line Parameters
========================================================================================================================================================================================================
./Hurtworld.x86 -batchmode -nographics -exec "host 12871  ;queryport 12881;maxplayers 50;servername BR Survival x5 |TP|Home|Shop;creativemode 0;addadmin 76561198024356708" -logfile "gamelog.txt"

Ports
========================================================================================================================================================================================================
Change ports by editing the parameters in
hwserver script

Useful port diagnostic command:
netstat -atunp | grep Hurtworld

DESCRIPTION  DIRECTION  PORT   PROTOCOL
> Game/RCON  INBOUND    12871  udp
> Query      INBOUND    12881  udp


Status: ONLINE

The strange thing is that the game tries to connect to that ip:12881 and not 12871

<!-- gh-comment-id:219461419 --> @rogerhnn commented on GitHub (May 16, 2016): I corrected that already. Sorry :( Here's the corrected: ``` Distro Details ======================================================================================================================================================================================================== Distro: CentOS Linux release 7.2.1511 (Core) Arch: x86_64 Kernel: 3.10.0-327.10.1.el7.x86_64 Hostname: ubuntu-1gb-nyc3-01 tmux: tmux 1.8 GLIBC: 2.17 Performance ======================================================================================================================================================================================================== Uptime: 0d, 3h, 48m Avg Load: 0.34, 0.52, 0.31 Mem: total used free Physical: 993M 388M 70M Swap: 0B 0B 0B Storage ======================================================================================================================================================================================================== Filesystem: /dev/vda1 Total: 30G Used: 2.8G Available: 26G Serverfiles: 1.4G Hurtworld Server Details ======================================================================================================================================================================================================== Server name: BR Survival x5 |TP|Home|Shop Server IP: 104.131.107.91:12871 Slots: 50 Game world: NO MAP SET Status: ONLINE hwserver Script Details ======================================================================================================================================================================================================== Service name: hurtworld-server hwserver version: 271215 User: hwserver GLIBC required: 2.15 Email notification: off Location: /home/hwserver Backups ======================================================================================================================================================================================================== No Backups created Command-line Parameters ======================================================================================================================================================================================================== ./Hurtworld.x86 -batchmode -nographics -exec "host 12871 ;queryport 12881;maxplayers 50;servername BR Survival x5 |TP|Home|Shop;creativemode 0;addadmin 76561198024356708" -logfile "gamelog.txt" Ports ======================================================================================================================================================================================================== Change ports by editing the parameters in hwserver script Useful port diagnostic command: netstat -atunp | grep Hurtworld DESCRIPTION DIRECTION PORT PROTOCOL > Game/RCON INBOUND 12871 udp > Query INBOUND 12881 udp Status: ONLINE ``` The strange thing is that the game tries to connect to that ip:12881 and not 12871
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Now it looks better.
./hwserver restart
Then wait 30s
Then : netstat -atunp | grep Hurtworld
Output ?

<!-- gh-comment-id:219462219 --> @UltimateByte commented on GitHub (May 16, 2016): Now it looks better. `./hwserver restart` Then wait 30s Then : `netstat -atunp | grep Hurtworld` Output ?
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Now it shows this:

[hwserver@ubuntu-1gb-nyc3-01 ~]$ netstat -atunp | grep Hurtworld
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
udp        0      0 0.0.0.0:3565            0.0.0.0:*                           8055/./Hurtworld.x8
udp        0      0 0.0.0.0:12871           0.0.0.0:*                           8055/./Hurtworld.x8
udp        0      0 0.0.0.0:12881           0.0.0.0:*                           8055/./Hurtworld.x8

<!-- gh-comment-id:219468774 --> @rogerhnn commented on GitHub (May 16, 2016): Now it shows this: ``` [hwserver@ubuntu-1gb-nyc3-01 ~]$ netstat -atunp | grep Hurtworld (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) udp 0 0 0.0.0.0:3565 0.0.0.0:* 8055/./Hurtworld.x8 udp 0 0 0.0.0.0:12871 0.0.0.0:* 8055/./Hurtworld.x8 udp 0 0 0.0.0.0:12881 0.0.0.0:* 8055/./Hurtworld.x8 ```
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

"@ubuntu-1gb-nyc3-01"
So your CentOS server is called ubuntu ? Or you managed to reinstall it ?

Now you got a decent netstat.
Try to connect again to 104.131.107.91:12871 ?

<!-- gh-comment-id:219469341 --> @UltimateByte commented on GitHub (May 16, 2016): "@ubuntu-1gb-nyc3-01" So your CentOS server is called ubuntu ? Or you managed to reinstall it ? Now you got a decent netstat. Try to connect again to 104.131.107.91:12871 ?
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Yeah, its called that, don't know why. Every server is called ubuntu in digitalocean.
Didn't reinstalled yet.
Tried, no luck.

The server shows on the list, if I try to connect through the list it tries the port 18881 and not 12871.
Manually no luck too. Even using 12871

<!-- gh-comment-id:219470496 --> @rogerhnn commented on GitHub (May 16, 2016): Yeah, its called that, don't know why. Every server is called ubuntu in digitalocean. Didn't reinstalled yet. Tried, no luck. The server shows on the list, if I try to connect through the list it tries the port 18881 and not 12871. Manually no luck too. Even using 12871
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Weird. I wish i could try your server, but i don't own the game.
Is there any output in serverfiles/gamelog.txt ?

Can you try to connect to my test server ? If mine works, we'll know that it's not a general error.
IP : 164.132.201.49:12871

<!-- gh-comment-id:219471900 --> @UltimateByte commented on GitHub (May 16, 2016): Weird. I wish i could try your server, but i don't own the game. Is there any output in serverfiles/gamelog.txt ? Can you try to connect to my test server ? If mine works, we'll know that it's not a general error. IP : 164.132.201.49:12871
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

I connected to your server, it worked. But mine not.

Here is the output from gamelog.txt
http://pastie.org/10839546

<!-- gh-comment-id:219474840 --> @rogerhnn commented on GitHub (May 16, 2016): I connected to your server, it worked. But mine not. Here is the output from gamelog.txt http://pastie.org/10839546
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Server failed to start: Exception0: Failed to bind to port range 12881-12881 ---> System.Net.Sockets.SocketException: Address already in use

Something is using that port already on your machine.
netstat -tulpn | grep :12881

<!-- gh-comment-id:219475322 --> @UltimateByte commented on GitHub (May 16, 2016): Server failed to start: Exception0: Failed to bind to port range 12881-12881 ---> System.Net.Sockets.SocketException: Address already in use Something is using that port already on your machine. netstat -tulpn | grep :12881
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Weird...

[hwserver@ubuntu-1gb-nyc3-01 ~]$ netstat -tulpn | grep :12881
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
udp        0      0 0.0.0.0:12881           0.0.0.0:*                           8551/./Hurtworld.x8

<!-- gh-comment-id:219475792 --> @rogerhnn commented on GitHub (May 16, 2016): Weird... ``` [hwserver@ubuntu-1gb-nyc3-01 ~]$ netstat -tulpn | grep :12881 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) udp 0 0 0.0.0.0:12881 0.0.0.0:* 8551/./Hurtworld.x8 ```
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Try the same as root.
Sometimes processes from other users are hidden otherwise.

<!-- gh-comment-id:219475880 --> @UltimateByte commented on GitHub (May 16, 2016): Try the same as root. Sometimes processes from other users are hidden otherwise.
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Maybe to isolate issues, you can try to shutdown your hurtworld server first.

<!-- gh-comment-id:219476584 --> @UltimateByte commented on GitHub (May 16, 2016): Maybe to isolate issues, you can try to shutdown your hurtworld server first.
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

Now it shows nothing...

The server I connected you installed on ubuntu?

<!-- gh-comment-id:219480350 --> @rogerhnn commented on GitHub (May 16, 2016): Now it shows nothing... The server I connected you installed on ubuntu?
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Weird.
It's Debian 8.4 x64
Maybe try an OS reinstall if you got nothing on this machine.
If it still doesn't work, then see with your provider. If you don't have a dedicated IP, that could explain the thing.
A stupid thing could be : not enough RAM to start up the server. How much RAM does your server have ?

<!-- gh-comment-id:219480780 --> @UltimateByte commented on GitHub (May 16, 2016): Weird. It's Debian 8.4 x64 Maybe try an OS reinstall if you got nothing on this machine. If it still doesn't work, then see with your provider. If you don't have a dedicated IP, that could explain the thing. A stupid thing could be : not enough RAM to start up the server. How much RAM does your server have ?
Author
Owner

@rogerhnn commented on GitHub (May 16, 2016):

So, installed Ubuntu 14.04 x64...
Installed the scripts...
Voilá... It worked.

Who knows why with the other its not working.

Again, thank you so much for the help UltimateByte :D

<!-- gh-comment-id:219496885 --> @rogerhnn commented on GitHub (May 16, 2016): So, installed Ubuntu 14.04 x64... Installed the scripts... Voilá... It worked. Who knows why with the other its not working. Again, thank you so much for the help UltimateByte :D
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Well, it's often like that with CentOS, that OS isn't appealing to me... Sometimes Ubuntu is kind of a jerk too, too many thing pre-installed and pre-configured weirdly. The safest way to go still seems to be running the latest Debian. Debian, my sweetheart. :o))

<!-- gh-comment-id:219504388 --> @UltimateByte commented on GitHub (May 16, 2016): Well, it's often like that with CentOS, that OS isn't appealing to me... Sometimes Ubuntu is kind of a jerk too, too many thing pre-installed and pre-configured weirdly. The safest way to go still seems to be running the latest Debian. Debian, my sweetheart. :o))
Author
Owner

@UltimateByte commented on GitHub (May 16, 2016):

Glad you got it solved though. Closing ;)

<!-- gh-comment-id:219504490 --> @UltimateByte commented on GitHub (May 16, 2016): Glad you got it solved though. Closing ;)
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406255231 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#655
No description provided.