[GH-ISSUE #813] Rust server start, but with no connectivity ! #652

Closed
opened 2026-02-27 02:02:54 +03:00 by kerem · 11 comments
Owner

Originally created by @Groumf44 on GitHub (May 11, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/813

Hi,

After one hour of search, i didn't found any help to my issue. I apology in advance for my very bad english (i'm french).

My issue is : I start the server with the commande ./rustserver start. It seems good, but the server is unreachable.

The command ./rustserver monitor says this :

`[ FAIL ] Monitor rust-server: Querying port: 62.210.146.8:28015 : ERROR: Unable to receive``

The command ./rustserver details | sed -e 's/password "[^"]*/password "--stripped--/'
says :

Distro Details
=====================================================================================================================
Distro:    Debian GNU/Linux 8.4 (jessie)
Arch:      x86_64
Kernel:    3.16.0-4-amd64
Hostname:  mdagorne.fr
tmux:      tmux 1.9
GLIBC:     2.19

Performance
=====================================================================================================================
Uptime:    0d, 0h, 43m
Avg Load:  0,25, 0,22, 0,17

Mem:       total   used   free
Physical:  31G     2,1G   29G
Swap:      976M    0B     976M

Storage
=====================================================================================================================
Filesystem:   Sys.
/dev/sda4
Total:        de
1,6T
Used:         fichiers
79G
Available:    Taille
1,4T
Serverfiles:  3,0G

Rust Server Details
=====================================================================================================================
Server name:  Rust
Server IP:    62.210.146.8:28015
Tick rate:    30
Status:       ONLINE

rustserver Script Details
=====================================================================================================================
Service name:        rust-server
rustserver version:  230215
User:                rustserver
GLIBC required:      2.15
Email notification:  off
Update on start:     off
Location:            /home/rustserver
Config file:         /home/rustserver/serverfiles/server/rust-server/cfg/server.cfg

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

Command-line Parameters
=====================================================================================================================
./RustDedicated -batchmode +server.ip 62.210.146.8 +server.port 28015 +server.tickrate 30 +server.hostname "Rust" +server.identity "rust-server"  +server.maxplayers 50 +server.worldsize 4000 +server.saveinterval 300 +rcon.ip 62.210.146.8 +rcon.port 28016 +rcon.password "--stripped--" -logfile "gamelog-2016-05-11-19-42-28.log"

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

Useful port diagnostic command:
netstat -atunp | grep Rust

DESCRIPTION   DIRECTION  PORT   PROTOCOL
> Game/Query  INBOUND    28015  tcp/udp
> RCON        INBOUND    28016  tcp


Status: ONLINE

I also check if the port was listening with the command netstat -atunp | grep Rust with no success. My ports are open on iptables.

Does someone have an idea ?

Thank you very much in advance.
Groumf44

Originally created by @Groumf44 on GitHub (May 11, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/813 Hi, After one hour of search, i didn't found any help to my issue. I apology in advance for my very bad english (i'm french). My issue is : I start the server with the commande ./rustserver start. It seems good, but the server is unreachable. The command ./rustserver monitor says this : `[ FAIL ] Monitor rust-server: Querying port: 62.210.146.8:28015 : ERROR: Unable to receive`` The command ./rustserver details | sed -e 's/password "[^"]*/password "--stripped--/' says : ``` Distro Details ===================================================================================================================== Distro: Debian GNU/Linux 8.4 (jessie) Arch: x86_64 Kernel: 3.16.0-4-amd64 Hostname: mdagorne.fr tmux: tmux 1.9 GLIBC: 2.19 Performance ===================================================================================================================== Uptime: 0d, 0h, 43m Avg Load: 0,25, 0,22, 0,17 Mem: total used free Physical: 31G 2,1G 29G Swap: 976M 0B 976M Storage ===================================================================================================================== Filesystem: Sys. /dev/sda4 Total: de 1,6T Used: fichiers 79G Available: Taille 1,4T Serverfiles: 3,0G Rust Server Details ===================================================================================================================== Server name: Rust Server IP: 62.210.146.8:28015 Tick rate: 30 Status: ONLINE rustserver Script Details ===================================================================================================================== Service name: rust-server rustserver version: 230215 User: rustserver GLIBC required: 2.15 Email notification: off Update on start: off Location: /home/rustserver Config file: /home/rustserver/serverfiles/server/rust-server/cfg/server.cfg Backups ===================================================================================================================== No Backups created Command-line Parameters ===================================================================================================================== ./RustDedicated -batchmode +server.ip 62.210.146.8 +server.port 28015 +server.tickrate 30 +server.hostname "Rust" +server.identity "rust-server" +server.maxplayers 50 +server.worldsize 4000 +server.saveinterval 300 +rcon.ip 62.210.146.8 +rcon.port 28016 +rcon.password "--stripped--" -logfile "gamelog-2016-05-11-19-42-28.log" Ports ===================================================================================================================== Change ports by editing the parameters in rustserver script Useful port diagnostic command: netstat -atunp | grep Rust DESCRIPTION DIRECTION PORT PROTOCOL > Game/Query INBOUND 28015 tcp/udp > RCON INBOUND 28016 tcp Status: ONLINE ``` I also check if the port was listening with the command netstat -atunp | grep Rust with no success. My ports are open on iptables. Does someone have an idea ? Thank you very much in advance. Groumf44
kerem closed this issue 2026-02-27 02:02:54 +03:00
Author
Owner

@reesey275 commented on GitHub (May 11, 2016):

Is this machine on your local network or on a remote network? Are you 100% sure that you have opened the ports in the firewall?

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 28015 -j ACCEPT
iptables -A INPUT -m state --state NEW -m udp -p udp --dport 28015 -j ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 28016 -j ACCEPT
service iptables save

I've had problems in the past with getting the server to show up in the game browser as well.

Have you tried to connect directly to the server?

<!-- gh-comment-id:218540953 --> @reesey275 commented on GitHub (May 11, 2016): Is this machine on your local network or on a remote network? Are you 100% sure that you have opened the ports in the firewall? iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 28015 -j ACCEPT iptables -A INPUT -m state --state NEW -m udp -p udp --dport 28015 -j ACCEPT iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 28016 -j ACCEPT service iptables save I've had problems in the past with getting the server to show up in the game browser as well. Have you tried to connect directly to the server?
Author
Owner

@Groumf44 commented on GitHub (May 11, 2016):

Thanks a lot for your answer.

I'm 100% sure that the ports are open. I tried your iptables commands, but it don't change anything.

It is a remote machine hosted by online.net (Debian 8, Xeon E3 1230v3 and 32 Gb of RAM).

I also tried to connect directly to the server ingame, but as you imagine, it don't works :'(

<!-- gh-comment-id:218542956 --> @Groumf44 commented on GitHub (May 11, 2016): Thanks a lot for your answer. I'm 100% sure that the ports are open. I tried your iptables commands, but it don't change anything. It is a remote machine hosted by online.net (Debian 8, Xeon E3 1230v3 and 32 Gb of RAM). I also tried to connect directly to the server ingame, but as you imagine, it don't works :'(
Author
Owner

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

And the logs dude ?
What does the logs say ?
cat serverfiles/game*.log

PS : Online.net... I wish you never get DDoSed... Otherwise you'll have to sell organs to buy their protection.

<!-- gh-comment-id:218545342 --> @UltimateByte commented on GitHub (May 11, 2016): And the logs dude ? What does the logs say ? cat serverfiles/game*.log PS : Online.net... I wish you never get DDoSed... Otherwise you'll have to sell organs to buy their protection.
Author
Owner

@reesey275 commented on GitHub (May 11, 2016):

^
What he said!

Is this a clean server or did you copy saved game files over from another machine?

I ran a test to see if I was able to connect as well and it looks like those ports are either still blocked or the server is not actually running.

<!-- gh-comment-id:218545701 --> @reesey275 commented on GitHub (May 11, 2016): ^ What he said! Is this a clean server or did you copy saved game files over from another machine? I ran a test to see if I was able to connect as well and it looks like those ports are either still blocked or the server is not actually running.
Author
Owner

@Groumf44 commented on GitHub (May 11, 2016):

Here are the logs : http://pastebin.com/7d0NcP0S

It is a clean install. Never installed Rust server before, i just bought the game on humble store for 6€ x)

<!-- gh-comment-id:218548778 --> @Groumf44 commented on GitHub (May 11, 2016): Here are the logs : http://pastebin.com/7d0NcP0S It is a clean install. Never installed Rust server before, i just bought the game on humble store for 6€ x)
Author
Owner

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

Put back an rcon password.
90% chances it'll solve the issue.
Rust doesn't like you to remove the rcon password and will fuckup at boot if you remove it.

<!-- gh-comment-id:218587019 --> @UltimateByte commented on GitHub (May 11, 2016): Put back an rcon password. 90% chances it'll solve the issue. Rust doesn't like you to remove the rcon password and will fuckup at boot if you remove it.
Author
Owner

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

I'm pretty sure it's solved, re-open if needed, i'd be glad to help if not.

<!-- gh-comment-id:219288403 --> @UltimateByte commented on GitHub (May 15, 2016): I'm pretty sure it's solved, re-open if needed, i'd be glad to help if not.
Author
Owner

@PuggerHugger commented on GitHub (May 30, 2016):

Have the exact same issue. Also debian 8.4, no idea what to do.

<!-- gh-comment-id:222433675 --> @PuggerHugger commented on GitHub (May 30, 2016): Have the exact same issue. Also debian 8.4, no idea what to do.
Author
Owner

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

@PuggerHugger Then go post your own thread in the appropriate location : http://steamcommunity.com/groups/linuxgsm/discussions/0/
Because 1) we don't even know what his issue was, and 2) 90% of the time, when somebody says "i have the exact same issue", it's actually a totally different thing.

At least, try to put back the rcon password if you removed it.

<!-- gh-comment-id:222446046 --> @UltimateByte commented on GitHub (May 30, 2016): @PuggerHugger Then go post your own thread in the appropriate location : http://steamcommunity.com/groups/linuxgsm/discussions/0/ Because 1) we don't even know what his issue was, and 2) 90% of the time, when somebody says "i have the exact same issue", it's actually a totally different thing. At least, try to put back the rcon password if you removed it.
Author
Owner

@Skyborder commented on GitHub (Apr 16, 2017):

iptables: No chain/target/match by that name.

<!-- gh-comment-id:294327580 --> @Skyborder commented on GitHub (Apr 16, 2017): iptables: No chain/target/match by that name.
Author
Owner

@lock[bot] commented on GitHub (Jul 18, 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:406088376 --> @lock[bot] commented on GitHub (Jul 18, 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#652
No description provided.