Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start LinuxGSM #1212

Closed
krfcm opened this issue Dec 17, 2016 · 8 comments
Closed

Unable to start LinuxGSM #1212

krfcm opened this issue Dec 17, 2016 · 8 comments
Labels
type: bug Something isn't working

Comments

@krfcm
Copy link

krfcm commented Dec 17, 2016

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.

    tty:x:5:garry

Run the following command with root privileges.

    usermod -G tty gmodserver

https://gameservermanagers.com/tmux-op-perm

@dgibbs64
Copy link
Member

The solution is right in the error

usermod -G tty gmodserver

@krfcm
Copy link
Author

krfcm commented 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
Copy link
Contributor

@krfcm
Copy link
Author

krfcm commented 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
Copy link
Contributor

UltimateByte commented Dec 18, 2016

Did you do anything fancy to tmux or 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).

@UltimateByte UltimateByte added type: bug Something isn't working non-script issue labels Dec 18, 2016
@krfcm
Copy link
Author

krfcm commented 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
Copy link
Contributor

UltimateByte commented 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
Copy link

lock bot commented 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.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants