[GH-ISSUE #691] [Debian 7.9] Problem Starting New NS2 Server #554

Closed
opened 2026-02-27 02:02:17 +03:00 by kerem · 5 comments
Owner

Originally created by @pcdrivers on GitHub (Feb 11, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/691

Installed correctly, but when execute server see that on debug and server don't start on "ns2server start"

ns2@gameserver5:~$ ./ns2server debug
[ WARN ] Debug ns2-server: Config file missing!

Natural Selection 2 Debug

Distro: Debian 7.9
Arch: x86_64
Kernel: 3.14.32-xxxx-grs-ipv6-64
Hostname: {MyHostname}

Start parameters:
./server_linux32 -name "NS2 Server" -port 28015 -webadmin -webdomain {MyIP} -webuser admin -webpassword "admin" -webport 8080 -map ns2_summit -limit 24 -config_path "/home/ns2/server1" -modstorage "/home/ns2/server1/Workshop" -mods ""

Use for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If ns2-server is already running it will be stopped.

Continue? [Y/n]y
[ INFO ] Debug ns2-server: Stopping any running servers
[ WARN ] Stopping ns2-server: Config file missing!

[ FAIL ] Stopping ns2-server: NS2 Server is already stopped
[ OK ] Debug ns2-server: Starting debug
GetInstanceCount currently unimplemented
[ 0.000] Main : Filesystem initialized, cache enabled
Press Tab to open the console window
Press Ctrl-C to exit
Build 284
Linux
Server tickrate 30, client sendrate 20, bandwidth limit per player 51200
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
/home/ns2/functions/command_debug.sh: línea 61: 22420 Violación de segmento ${executable} ${parms}

Thanks.

Originally created by @pcdrivers on GitHub (Feb 11, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/691 Installed correctly, but when execute server see that on debug and server don't start on "ns2server start" > ns2@gameserver5:~$ ./ns2server debug > [ WARN ] Debug ns2-server: Config file missing! > # Natural Selection 2 Debug > > Distro: Debian 7.9 > Arch: x86_64 > Kernel: 3.14.32-xxxx-grs-ipv6-64 > Hostname: {MyHostname} > > Start parameters: > ./server_linux32 -name "NS2 Server" -port 28015 -webadmin -webdomain {MyIP} -webuser admin -webpassword "admin" -webport 8080 -map ns2_summit -limit 24 -config_path "/home/ns2/server1" -modstorage "/home/ns2/server1/Workshop" -mods "" > > Use for identifying server issues only! > Press CTRL+c to drop out of debug mode. > Warning! If ns2-server is already running it will be stopped. > > Continue? [Y/n]y > [ INFO ] Debug ns2-server: Stopping any running servers > [ WARN ] Stopping ns2-server: Config file missing! > > [ FAIL ] Stopping ns2-server: NS2 Server is already stopped > [ OK ] Debug ns2-server: Starting debug > GetInstanceCount currently unimplemented > [ 0.000] Main : Filesystem initialized, cache enabled > Press Tab to open the console window > Press Ctrl-C to exit > Build 284 > Linux > Server tickrate 30, client sendrate 20, bandwidth limit per player 51200 > [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. > /home/ns2/functions/command_debug.sh: línea 61: 22420 Violación de segmento ${executable} ${parms} Thanks.
kerem 2026-02-27 02:02:17 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

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

Probably a non-script issue.
I see you have a segmentation fault (you'd better use an english OS BTW, as 90% of the content will be in english anyways, the 10 remaining % will be more boring than anything else).

Did you install the required dependencies, as asked here ?
http://gameservermanagers.com/lgsm/ns2server/

Also : Config file missing! means either LGSM wasn't able to create it for you, or you renamed the servicename or the config file name, which you shouldn't unless you know what you're doing. The only case you should do it is that one : https://github.com/dgibbs64/linuxgsm/wiki/Multiple-Servers

<!-- gh-comment-id:182879945 --> @UltimateByte commented on GitHub (Feb 11, 2016): Probably a non-script issue. I see you have a segmentation fault (you'd better use an english OS BTW, as 90% of the content will be in english anyways, the 10 remaining % will be more boring than anything else). Did you install the required dependencies, as asked here ? http://gameservermanagers.com/lgsm/ns2server/ Also : Config file missing! means either LGSM wasn't able to create it for you, or you renamed the servicename or the config file name, which you shouldn't unless you know what you're doing. The only case you should do it is that one : https://github.com/dgibbs64/linuxgsm/wiki/Multiple-Servers
Author
Owner

@pcdrivers commented on GitHub (Feb 11, 2016):

curl latest version.
lib32gcc1 latest version.
libstdc++6 latest version.
mailutils latest version.
postfix latest version.
libtbb2 latest version.
tmux latest version.
libstdc++6:i386 latest version.
speex:i386 latest version.
0 updated, 0 will be installed, 0 for delete y 0 not updated.

and downloaded dependencies
https://github.com/dgibbs64/linuxgsm/tree/master/NaturalSelection2/dependencies
in serverfiles folder (libc.so.6 / libm.so.6 / libstdc++.so.6.1)

And new user / new server.

I have installed other tf2 servers but not using these script.

Thanks

Also: I tested this script and you simplifies installation and startup, but gave me the same error at server startup on a new machine with Debian 7.9

<!-- gh-comment-id:182883613 --> @pcdrivers commented on GitHub (Feb 11, 2016): curl latest version. lib32gcc1 latest version. libstdc++6 latest version. mailutils latest version. postfix latest version. libtbb2 latest version. tmux latest version. libstdc++6:i386 latest version. speex:i386 latest version. 0 updated, 0 will be installed, 0 for delete y 0 not updated. and downloaded dependencies https://github.com/dgibbs64/linuxgsm/tree/master/NaturalSelection2/dependencies in serverfiles folder (libc.so.6 / libm.so.6 / libstdc++.so.6.1) And new user / new server. I have installed other tf2 servers but not using these script. Thanks Also: I tested this script and you simplifies installation and startup, but gave me the same error at server startup on a new machine with Debian 7.9
Author
Owner

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

As you were able to install Glibc libraries, i assume you did, dpkg --add-architecture i386 right ?

However, it could be a problem with Glibc version, as you run debian 7 which is known to use Glibc 2.13, and NS2 requires 2.15+. But LGSM is supposed to fix it on install...
More info : https://github.com/dgibbs64/linuxgsm/wiki/Glibc

Run this (as root or user, both works) :

ldd --version

What's the output ?

<!-- gh-comment-id:182894947 --> @UltimateByte commented on GitHub (Feb 11, 2016): As you were able to install Glibc libraries, i assume you did, `dpkg --add-architecture i386` right ? However, it could be a problem with Glibc version, as you run debian 7 which is known to use Glibc 2.13, and NS2 requires 2.15+. But LGSM is supposed to fix it on install... More info : https://github.com/dgibbs64/linuxgsm/wiki/Glibc Run this (as root or user, both works) : `ldd --version` What's the output ?
Author
Owner

@UltimateByte commented on GitHub (Mar 15, 2016):

If you need more help, please post to the general support which is here : http://steamcommunity.com/groups/linuxgsm/discussions/

However, if you find a bug or a feature request related to this issue, feel free to re-open it.

<!-- gh-comment-id:196959092 --> @UltimateByte commented on GitHub (Mar 15, 2016): If you need more help, please post to the general support which is here : http://steamcommunity.com/groups/linuxgsm/discussions/ However, if you find a bug or a feature request related to this issue, feel free to re-open it.
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:406271484 --> @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#554
No description provided.