mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #912] Starting Server: NOT SET #729
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#729
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 @Hackmastr on GitHub (Jul 7, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/912
Hello, using LGSM for 2 servers, so far so good!
However, I wanted to add another server, it installs just fine, configuration alright... But when I try to start-stop... it, it shows NOT SET...
Distro: Debian 8 64

Game: CSGO
Screenshot:
./csgoserver debug shows nothing usefull? I just start the server and shows the console
@cedarlug commented on GitHub (Jul 7, 2016):
post your script to pastebin.
post your config to pastebin.
(optional!) Delete your server and rcon passwords.
My bet is that you have an extra quotation mark, spurrious single quote, or some really convoluted server name that's expanding in ways that you don't want it to.
@Hackmastr commented on GitHub (Jul 7, 2016):
@cedarlug, wow, so fast, thanks.
By config You mean server.cfg? Its as it comes, default.
Script:
http://pastebin.com/SvWUKS5K
@igeighty commented on GitHub (Jul 7, 2016):
your paste has been removed @Hackmastr
This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff@cedarlug commented on GitHub (Jul 7, 2016):
Perhaps that's because there was "... an extra quotation mark, spurrious single quote, or some really convoluted server name that (was) expanding in ways that (he didn't) want it to."
But just to follow up, @Hackmastr, the standard server config is modified during installation based on your input during the installation. So if your server name was "!!H@ckm@$ter's ''DOG ##POUND##'' 'S'e'r'v'e'r''", that would make it into your default server config (and would likely be problematic). Which was why I requested it.
@cedarlug commented on GitHub (Jul 9, 2016):
Close?
@Hackmastr commented on GitHub (Jul 10, 2016):
@cedarlug , sorry I was busy, here is the input again, and no, there's nothing weird
http://pastebin.com/MWt7Vzwz
cfg:
http://pastebin.com/8uCtYDBQ
@cedarlug commented on GitHub (Jul 10, 2016):
Page removed (again). What gives with your pastebin posts getting removed?
I guess we can close this under "Too busy, doesn't really want help?"
@UltimateByte commented on GitHub (Jul 10, 2016):
Probably too busy hacking the CIA.
@Hackmastr commented on GitHub (Jul 10, 2016):
@cedarlug, I'm still wondering why did it get deleted.
Here's the csgoserver again:
http://www.heypasteit.com/clip/2S8V
@UltimateByte commented on GitHub (Jul 10, 2016):
Start by setting an IP, and
servicename=""to its original value and let's see again.
Can't say for the rest right now, i had a bit too much pints of beer. :o))
@Hackmastr commented on GitHub (Jul 10, 2016):
@UltimateByte Thanks, I have another server(2 actualy) running fine with that IP var, servicename doesnt fix
@cedarlug commented on GitHub (Jul 10, 2016):
Is there a reason your "+"'s were removed from your parms line?
clientport ${clientport}and all of the other should be+clientport ${clientport}The options with a dash prefix are still in tact. If your "+"'s are indeed missing and not stripped by some heypasteit parsing error, I'd recommend pulling down the script and starting over.
@Hackmastr commented on GitHub (Jul 10, 2016):
@cedarlug, it's removed by heypasteit 😛
@cedarlug commented on GitHub (Jul 11, 2016):
Could you please post a full interaction output from where your original post's error is generated?
Specifically, the console output (the entire thing, to pastebin) where you see the "
starting fun_serv" in the output.@Hackmastr commented on GitHub (Jul 11, 2016):
@cedarlug, here:
http://pastebin.com/hTknCfyv
The script:
http://pastebin.com/hAL38FaX
@cedarlug commented on GitHub (Jul 11, 2016):
Can you repost your server config without it going away? For some reason your server's hostname (from the config) is expanding to "NOT SET", and you're only giving pieces to the puzzle (and then removing them).
EDIT: I see now the "fun_serv" in the service name of the script.
Maybe pastebin is deleting the posts because of passwords?
@Hackmastr commented on GitHub (Jul 11, 2016):
@cedarlug, I removed nothing.
Here:
http://pastebin.com/965mv12s
@cedarlug commented on GitHub (Jul 11, 2016):
Take the pipe out of the hostname "|" in the config.
Just set the hostname to "test" and start the server.
Edit: In case the pastebin vanishes again, the hostname in the post was:
hostname "[Name] - Mode - [Word | HLStatsX]"Just make it:
hostname "Something simple"and see if your server gives the same output when you attempt to start it.
@Hackmastr commented on GitHub (Jul 11, 2016):
@cedarlug, nope, not working. BTW, if I stop it, it shows that too.
@UltimateByte commented on GitHub (Jul 11, 2016):
You got another server (glad you finally mention this after 4 days...), so you made another user for the second server, right ?
And you made sure you were not using the same ports for the second server ?
https://github.com/dgibbs64/linuxgsm/wiki/Multiple-Servers
@UltimateByte commented on GitHub (Jul 11, 2016):
servicename="fun_serv" is a bad idea btw.
You don't have to change this damn servicename if you got 2 users. And i'd avoid underscores for that kind of stuff.
Then, even if your server doesn't have a password, put back this sv_password "" variable inside your config. There's a little chance that it messes up with the config detection script (if so, we'd have to fix it).
Here is the code that says "NOT SET" https://github.com/dgibbs64/linuxgsm/blob/master/lgsm/functions/info_config.sh#L147
@UltimateByte commented on GitHub (Jul 11, 2016):
Ultimately, why didn't we ask you post the output of
./csgoserver detailsalready ?Please do it, and make sure your link doesn't expire 2 minutes later.
@Hackmastr commented on GitHub (Jul 11, 2016):
@UltimateByte thanks for showing the code. If You read closely the OP you'd know I said I've got 2 servers already.
Ports, they're different for each server.
I removed the sv_password because I thought pastebin is removing the pastes for that reason, it's set inside the server config. & I dont make them expire.
No, I'm not using different users.
Details Pastebin:
http://pastebin.com/fmMPA5cU
It's weird to show not when everything is set.
EDIT: so, when the installation is done, the servFun.cfg executes csgo-server.cfg, was I supposed to put vars inside csgo-server?
Now I'm editing servFun directly and it's showing everything just fine.
@cedarlug commented on GitHub (Jul 11, 2016):
That makes no sense at all - neither grammatically nor in the context of lgsm management.
Regardless, I'm glad that it's now working for you so this teeth-grating thread of disappearing and dynamically-changing content can be closed.
@Hackmastr commented on GitHub (Jul 11, 2016):
@cedarlug ,
servFun.cfg contained this:
So I put all the stuff inside csgo-server.cfg
That's why it was showing NOT SET
@cedarlug commented on GitHub (Jul 11, 2016):
@Hackmastr
It was showing "NOT SET" because you're bastardizing lsgm in ways it was not intended to be.
@UltimateByte commented on GitHub (Jul 12, 2016):
Your cfg file has to be named as your servicename, otherwise, lgsm has no way to know which file it is.
I guessed the issue was there, but for the wrong reason.
GLHF
@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.