[GH-ISSUE #798] Rust fails to connect to server #637

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

Originally created by @AlexCS1337 on GitHub (Apr 27, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/798

Hello,

I have successfully created Garry Mod and Left 4 Dead 2 servers with this service, however after I done all the steps to install a rust server, from typing ./rustserver start I get this error:
[ .... ] Starting rust-server: Smoo's RustyAssServerfailed to connect to server: Connection refused
[ FAIL ] Starting rust-server: Unable to start Smoo's RustyAssServer

Kind regards.

Originally created by @AlexCS1337 on GitHub (Apr 27, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/798 Hello, I have successfully created Garry Mod and Left 4 Dead 2 servers with this service, however after I done all the steps to install a rust server, from typing ./rustserver start I get this error: [ .... ] Starting rust-server: Smoo's RustyAssServerfailed to connect to server: Connection refused [ FAIL ] Starting rust-server: Unable to start Smoo's RustyAssServer Kind regards.
kerem closed this issue 2026-02-27 02:02:48 +03:00
Author
Owner

@UltimateByte commented on GitHub (Apr 27, 2016):

Hi,

What does the logs say ? To display the last log :
cat serverfiles/game*.log

<!-- gh-comment-id:215060338 --> @UltimateByte commented on GitHub (Apr 27, 2016): Hi, What does the logs say ? To display the last log : cat serverfiles/game*.log
Author
Owner

@AlexCS1337 commented on GitHub (Apr 28, 2016):

"cat: serverfiles/game*.log: No such file or directory"

Maybe you meant a different directory/location?

<!-- gh-comment-id:215309356 --> @AlexCS1337 commented on GitHub (Apr 28, 2016): "cat: serverfiles/game*.log: No such file or directory" Maybe you meant a different directory/location?
Author
Owner

@UltimateByte commented on GitHub (Apr 28, 2016):

Make sure to be in the home folder (and no subfolder) of the Rust directory when you do this.
My command is OK, unless the game didn't even generate a log. In that case we'll start from there.

<!-- gh-comment-id:215370102 --> @UltimateByte commented on GitHub (Apr 28, 2016): Make sure to be in the home folder (and no subfolder) of the Rust directory when you do this. My command is OK, unless the game didn't even generate a log. In that case we'll start from there.
Author
Owner

@AlexCS1337 commented on GitHub (Apr 28, 2016):

Yeah it was in home folder of rustserver, I guess it didn't even generate a log.

<!-- gh-comment-id:215392547 --> @AlexCS1337 commented on GitHub (Apr 28, 2016): Yeah it was in home folder of rustserver, I guess it didn't even generate a log.
Author
Owner

@UltimateByte commented on GitHub (Apr 28, 2016):

Well, maybe LGSM's log will help on this one ?
What say the logs in log/script/ ?
Also, what is your distro, what's your version on GLIBC/Tmux ?
Did you try a ./rustserver validate ?
And ultimately, did you create a specific user for Rust and made sure that the ports you bound were dedicated to Rust and not used by something else ? (default ports should be fine)

<!-- gh-comment-id:215395679 --> @UltimateByte commented on GitHub (Apr 28, 2016): Well, maybe LGSM's log will help on this one ? What say the logs in log/script/ ? Also, what is your distro, what's your version on GLIBC/Tmux ? Did you try a ./rustserver validate ? And ultimately, did you create a specific user for Rust and made sure that the ports you bound were dedicated to Rust and not used by something else ? (default ports should be fine)
Author
Owner

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

Well, probably solved.

<!-- gh-comment-id:217754119 --> @UltimateByte commented on GitHub (May 9, 2016): Well, probably solved.
Author
Owner

@AlexCS1337 commented on GitHub (May 17, 2016):

Hey, sorry I was busy with uni accessment, I was able to open rust-server-console.log and it says: bash: ./RustDedicated: cannot execute binary file: Exec format error

<!-- gh-comment-id:219689568 --> @AlexCS1337 commented on GitHub (May 17, 2016): Hey, sorry I was busy with uni accessment, I was able to open rust-server-console.log and it says: bash: ./RustDedicated: cannot execute binary file: Exec format error
Author
Owner

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

You need to be on an X64 system. It's a requirement.

<!-- gh-comment-id:219689732 --> @UltimateByte commented on GitHub (May 17, 2016): You need to be on an X64 system. It's a requirement.
Author
Owner

@AlexCS1337 commented on GitHub (May 17, 2016):

Oh oops, I just realised that its not on x64

<!-- gh-comment-id:219690691 --> @AlexCS1337 commented on GitHub (May 17, 2016): Oh oops, I just realised that its not on x64
Author
Owner

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

root@game:/home/rustmodded/serverfiles# file RustDedicated
RustDedicated: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=485fa2ceb36071d3c8501b020be10761c48e64ff, stripped

It makes sense that there is no x86 as that game server tends to use more than 5GB and up to 12GB RAM, while x86 processes can only use 3 or 4GB. Now you know, sorry.

<!-- gh-comment-id:219691402 --> @UltimateByte commented on GitHub (May 17, 2016): ``` root@game:/home/rustmodded/serverfiles# file RustDedicated RustDedicated: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=485fa2ceb36071d3c8501b020be10761c48e64ff, stripped ``` It makes sense that there is no x86 as that game server tends to use more than 5GB and up to 12GB RAM, while x86 processes can only use 3 or 4GB. Now you know, sorry.
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:406255225 --> @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#637
No description provided.