[GH-ISSUE #912] Starting Server: NOT SET #729

Closed
opened 2026-02-27 02:03:24 +03:00 by kerem · 28 comments
Owner

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:
screenshot

./csgoserver debug shows nothing usefull? I just start the server and shows the console

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: ![screenshot](https://cloud.githubusercontent.com/assets/9281515/16642008/b6f68a0e-4406-11e6-921d-b4e6b382b0e7.PNG) **./csgoserver debug** shows nothing usefull? I just start the server and shows the console
kerem closed this issue 2026-02-27 02:03:24 +03:00
Author
Owner

@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.

<!-- gh-comment-id:230973653 --> @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.
Author
Owner

@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

<!-- gh-comment-id:230974135 --> @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
Author
Owner

@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

<!-- gh-comment-id:230983449 --> @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`
Author
Owner

@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.

<!-- gh-comment-id:231174701 --> @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.
Author
Owner

@cedarlug commented on GitHub (Jul 9, 2016):

Close?

<!-- gh-comment-id:231561882 --> @cedarlug commented on GitHub (Jul 9, 2016): Close?
Author
Owner

@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

<!-- gh-comment-id:231566187 --> @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
Author
Owner

@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?"

<!-- gh-comment-id:231588962 --> @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?"
Author
Owner

@UltimateByte commented on GitHub (Jul 10, 2016):

Probably too busy hacking the CIA.

<!-- gh-comment-id:231605459 --> @UltimateByte commented on GitHub (Jul 10, 2016): Probably too busy hacking the CIA.
Author
Owner

@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

<!-- gh-comment-id:231606419 --> @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
Author
Owner

@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))

<!-- gh-comment-id:231613884 --> @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))
Author
Owner

@Hackmastr commented on GitHub (Jul 10, 2016):

@UltimateByte Thanks, I have another server(2 actualy) running fine with that IP var, servicename doesnt fix

<!-- gh-comment-id:231615268 --> @Hackmastr commented on GitHub (Jul 10, 2016): @UltimateByte Thanks, I have another server(2 actualy) running fine with that IP var, servicename doesnt fix
Author
Owner

@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.

<!-- gh-comment-id:231617272 --> @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.
Author
Owner

@Hackmastr commented on GitHub (Jul 10, 2016):

@cedarlug, it's removed by heypasteit 😛

<!-- gh-comment-id:231618628 --> @Hackmastr commented on GitHub (Jul 10, 2016): @cedarlug, it's removed by heypasteit :stuck_out_tongue:
Author
Owner

@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.

<!-- gh-comment-id:231626073 --> @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.
Author
Owner

@Hackmastr commented on GitHub (Jul 11, 2016):

@cedarlug, here:
http://pastebin.com/hTknCfyv

The script:

http://pastebin.com/hAL38FaX

<!-- gh-comment-id:231630574 --> @Hackmastr commented on GitHub (Jul 11, 2016): @cedarlug, here: http://pastebin.com/hTknCfyv The script: http://pastebin.com/hAL38FaX
Author
Owner

@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?

<!-- gh-comment-id:231632015 --> @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?
Author
Owner

@Hackmastr commented on GitHub (Jul 11, 2016):

@cedarlug, I removed nothing.

Here:
http://pastebin.com/965mv12s

<!-- gh-comment-id:231636285 --> @Hackmastr commented on GitHub (Jul 11, 2016): @cedarlug, I removed nothing. Here: http://pastebin.com/965mv12s
Author
Owner

@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.

<!-- gh-comment-id:231637273 --> @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.
Author
Owner

@Hackmastr commented on GitHub (Jul 11, 2016):

@cedarlug, nope, not working. BTW, if I stop it, it shows that too.

<!-- gh-comment-id:231639674 --> @Hackmastr commented on GitHub (Jul 11, 2016): @cedarlug, nope, not working. BTW, if I stop it, it shows that too.
Author
Owner

@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

<!-- gh-comment-id:231688567 --> @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
Author
Owner

@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

<!-- gh-comment-id:231692116 --> @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
Author
Owner

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

Ultimately, why didn't we ask you post the output of ./csgoserver details already ?
Please do it, and make sure your link doesn't expire 2 minutes later.

<!-- gh-comment-id:231692582 --> @UltimateByte commented on GitHub (Jul 11, 2016): Ultimately, why didn't we ask you post the output of `./csgoserver details` already ? Please do it, and make sure your link doesn't expire 2 minutes later.
Author
Owner

@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.

<!-- gh-comment-id:231818871 --> @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.
Author
Owner

@cedarlug commented on GitHub (Jul 11, 2016):

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.

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.

<!-- gh-comment-id:231824841 --> @cedarlug commented on GitHub (Jul 11, 2016): > 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. 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.
Author
Owner

@Hackmastr commented on GitHub (Jul 11, 2016):

@cedarlug ,

servFun.cfg contained this:

exec csgo-server.cfg

So I put all the stuff inside csgo-server.cfg

That's why it was showing NOT SET

<!-- gh-comment-id:231826136 --> @Hackmastr commented on GitHub (Jul 11, 2016): @cedarlug , servFun.cfg contained this: ``` exec csgo-server.cfg ``` So I put all the stuff inside csgo-server.cfg That's why it was showing NOT SET
Author
Owner

@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.

<!-- gh-comment-id:231829589 --> @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.
Author
Owner

@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.

servercfg="${servicename}.cfg"
servercfgfullpath="${servercfgdir}/${servercfg}"

GLHF

<!-- gh-comment-id:231990667 --> @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. ``` servercfg="${servicename}.cfg" servercfgfullpath="${servercfgdir}/${servercfg}" ``` GLHF
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:406222177 --> @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#729
No description provided.