mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #1212] Unable to start LinuxGSM #945
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#945
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @krfcm on GitHub (Dec 17, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1212
can't create socket: Permission denied
[ FAIL ] Starting gmod-server: Unable to start LinuxGSM
[ FAIL ] Starting gmod-server: Unable to start LinuxGSM: Tmux error:
Command
tmux new-session -d -s "gmod-server" "./srcds_run -game garrysmod -strictportbind -ip 176.31.124.93 -port 27015 -tickrate 66 +host_workshop_collection -authkey +clientport 27005 +tv_port 27020 +gamemode sandbox +map gm_construct +sv_setsteamaccount +servercfgfile gmod-server.cfg -maxplayers 16 +r_hunkalloclightmaps 0"
Error
can't create socket: Permission denied
Fix
http://hastebin.com/sulupumoqe
I change user but still i have this same error. I add user to group tty.
gmodserver is not part of the tty group.
Run the following command with root privileges.
https://gameservermanagers.com/tmux-op-perm
@dgibbs64 commented on GitHub (Dec 17, 2016):
The solution is right in the error
usermod -G tty gmodserver@krfcm commented on GitHub (Dec 17, 2016):
gru 18 00:47:42 gmod-server: START: FATAL: Unable to start LinuxGSM
gru 18 00:47:44 gmod-server: START: FATAL: Unable to start LinuxGSM: Tm$tmux new-session -d -s "gmod-server" "./srcds_run -game garrysmod -stri$can't create socket: Permission denied
gru 18 00:47:44 gmod-server: START: INFO: No known fix currently. Pleas$gru 18 00:47:44 gmod-server: START: INFO: https://gameservermanagers.co$gru 18 00:47:44 gmod-server: START: FATAL: command_start.sh exiting wit$
@UltimateByte commented on GitHub (Dec 17, 2016):
https://github.com/GameServerManagers/LinuxGSM/wiki/Support
@krfcm commented on GitHub (Dec 18, 2016):
Which game server you are running (e.g Rust/CS:GO). Garry's Mod
The outputted link of ./gameserver postdetails command. http://hastebin.com/sayavoreza
Any useful log in /home/gameserver/logs (use pastebin or equivalent). http://pastebin.com/pBUK3w0d
Your Linux distro and version (e.g Ubuntu 16.04). Debian 8.6
Any useful screenshot. -
Your basic server hardware (CPU/RAM/Storage/Bandwidth). http://screenshot.sh/owpewXNDsqXjb
Any test you have already tried. Reinstall script, ./gameserver uf
Any other useful or relevant information you think will help. -
@UltimateByte commented on GitHub (Dec 18, 2016):
Did you do anything fancy to
tmuxor had issues upgrading it or something ?Did you
apt update && apt upgrade?Can you try to start with
./gmodserver debug?For now with what is provided, i can see tmux not being able to start properly and a modified Debian kernel from your provider which can cause issues when it's poorly made (even OVH ones).
@krfcm commented on GitHub (Dec 18, 2016):
I did apt update && apt upgrade. I try ./gmodserver debug server starts. I don't have any error when i updating system.
This may be due to the fact that I use Ngnix ?
@UltimateByte commented on GitHub (Dec 18, 2016):
What listens to your port 80 is not related to LGSM, so nginx is not the issue here.
The issue comes from your tmux that is not able to work properly for some reason. Since you're using Debian and have a proper tmux version, i got no clue why it would happen. I'd try to use tmux without LGSM to try diagnose it. I'd also try to put an original Debian kernel rather than yours.
I gotta close this since github is for script development rather than solving user issues. However, you can post on the Steam forum or Discord (relating this issue) if you need more help.
@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.