[GH-ISSUE #2000] exec csserver: not a .cfg or .rc file in console #1572

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

Originally created by @jersam on GitHub (Sep 5, 2018).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2000

When I do a install for a 2nd gameserver, both cs1.6

drwxrwxr-x 6 steam steam 4096 Sep 5 17:24 cs16-csdm/
drwxrwxr-x 6 steam steam 4096 Sep 5 17:57 cs16-main/

on main, i exec csserver-main start, in console i get the following error.

exec csserver: not a .cfg or .rc file

if i hope on and type exec csserver-main.cfg all is fine.

Distro Details
==============================================================================================================================================================================
Distro:    Ubuntu 18.04.1 LTS
Arch:      x86_64
Kernel:    4.15.0-33-generic
Hostname:  gman
tmux:      tmux 2.6
GLIBC:     2.27

Performance
Uptime:    0d, 17h, 32m
Avg Load:  0.00, 0.00, 0.01

Mem:       total   used   free   cached   available
Physical:  7.8G   289M   6.8G   687M     7.2G
Swap:      4.0G   0B     4.0G

Storage
==============================================================================================================================================================================
Filesystem:      /dev/sda2
Total:           118G
Used:            11G
Available:       102G
LinuxGSM Total:  842M
Serverfiles:     775M

Counter-Strike 1.6 Server Details
==============================================================================================================================================================================
Server name:      BlackMesaLabs MAIN #BML #GotLan
Server IP:        10.18.71.33:27016
Server password:  NOT SET
RCON password:    adminjhhdjdjdjdjdjalskdjlaksjdlkajd
Maxplayers:       16
Default Map:      de_dust2
Status:           ONLINE

csserver-main Script Details
==============================================================================================================================================================================
Service name:           csserver-main
csserver-main version:  180718
User:                   steam
GLIBC required:         2.14
Discord alert:          off
Email alert:            off
Pushbullet alert:       off
IFTTT alert:            off
Mailgun (email) alert:  off
Pushover alert:         off
Telegram alert:         off
Update on start:        off
Location:               /home/steam/cs16-main
Config file:            /home/steam/cs16-main/serverfiles/cstrike/csserver-main.cfg

Backups
==============================================================================================================================================================================
No Backups created

Command-line Parameters
==============================================================================================================================================================================
./hlds_run -game cstrike -strictportbind +ip 10.18.71.33 -port 27016 +clientport 27005 +map de_dust2 +servercfgfile csserver-main.cfg -maxplayers 16

Ports
==============================================================================================================================================================================
Change ports by editing the parameters in:
/home/steam/cs16-main/lgsm/config-lgsm/csserver

Useful port diagnostic command:
netstat -atunp | grep hlds_linux

DESCRIPTION  DIRECTION  PORT   PROTOCOL
> Game/RCON  INBOUND    27016  tcp/udp
< Client     OUTBOUND   27005  udp

Status: ONLINE

** Minimum Information **
The game server you are running (e.g. Rust/CS:GO).
The link from ./gameserver postdetails command. >> this errors out I do not get a URL back.

steam@gman:~/cs16-main$ ./csserver-main postdetails
    fetching command_postdetails.sh...OK
[  OK  ] Postdetails csserver-main: Posting details to hastebin.com for 30D
  Please share the following url for support: https://hastebin.com/<!DOCTYPE html>
<html>
<head>
width=device-width, initial-scale=1

<title>Application Error</title>

                  html,body,iframe {
                        margin: 0;
                        padding: 0;
                  }
                  html,body {
                        height: 100%;
                        overflow: hidden;
                  }
                  iframe {
                        width: 100%;
                        height: 100%;
                        border: 0;
                  }
                </style>
</head>
<body>

</body>
</html>

Originally created by @jersam on GitHub (Sep 5, 2018). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2000 When I do a install for a 2nd gameserver, both cs1.6 drwxrwxr-x 6 steam steam 4096 Sep 5 17:24 cs16-csdm/ drwxrwxr-x 6 steam steam 4096 Sep 5 17:57 cs16-main/ on main, i exec csserver-main start, in console i get the following error. exec csserver: not a .cfg or .rc file if i hope on and type exec csserver-main.cfg all is fine. ``` Distro Details ============================================================================================================================================================================== Distro: Ubuntu 18.04.1 LTS Arch: x86_64 Kernel: 4.15.0-33-generic Hostname: gman tmux: tmux 2.6 GLIBC: 2.27 Performance Uptime: 0d, 17h, 32m Avg Load: 0.00, 0.00, 0.01 Mem: total used free cached available Physical: 7.8G 289M 6.8G 687M 7.2G Swap: 4.0G 0B 4.0G Storage ============================================================================================================================================================================== Filesystem: /dev/sda2 Total: 118G Used: 11G Available: 102G LinuxGSM Total: 842M Serverfiles: 775M Counter-Strike 1.6 Server Details ============================================================================================================================================================================== Server name: BlackMesaLabs MAIN #BML #GotLan Server IP: 10.18.71.33:27016 Server password: NOT SET RCON password: adminjhhdjdjdjdjdjalskdjlaksjdlkajd Maxplayers: 16 Default Map: de_dust2 Status: ONLINE csserver-main Script Details ============================================================================================================================================================================== Service name: csserver-main csserver-main version: 180718 User: steam GLIBC required: 2.14 Discord alert: off Email alert: off Pushbullet alert: off IFTTT alert: off Mailgun (email) alert: off Pushover alert: off Telegram alert: off Update on start: off Location: /home/steam/cs16-main Config file: /home/steam/cs16-main/serverfiles/cstrike/csserver-main.cfg Backups ============================================================================================================================================================================== No Backups created Command-line Parameters ============================================================================================================================================================================== ./hlds_run -game cstrike -strictportbind +ip 10.18.71.33 -port 27016 +clientport 27005 +map de_dust2 +servercfgfile csserver-main.cfg -maxplayers 16 Ports ============================================================================================================================================================================== Change ports by editing the parameters in: /home/steam/cs16-main/lgsm/config-lgsm/csserver Useful port diagnostic command: netstat -atunp | grep hlds_linux DESCRIPTION DIRECTION PORT PROTOCOL > Game/RCON INBOUND 27016 tcp/udp < Client OUTBOUND 27005 udp Status: ONLINE ``` ** Minimum Information ** The game server you are running (e.g. Rust/CS:GO). The link from `./gameserver postdetails` command. >> this errors out I do not get a URL back. ``` steam@gman:~/cs16-main$ ./csserver-main postdetails fetching command_postdetails.sh...OK [ OK ] Postdetails csserver-main: Posting details to hastebin.com for 30D Please share the following url for support: https://hastebin.com/<!DOCTYPE html> <html> <head> width=device-width, initial-scale=1 <title>Application Error</title> html,body,iframe { margin: 0; padding: 0; } html,body { height: 100%; overflow: hidden; } iframe { width: 100%; height: 100%; border: 0; } </style> </head> <body> </body> </html> ```
kerem closed this issue 2026-02-27 02:57:52 +03:00
Author
Owner

@jersam commented on GitHub (Sep 5, 2018):

in cstrike, if i copy the csserver-main.cfg to server.cfg and exec

no issues
./hlds_run -game cstrike -strictportbind +ip 10.18.71.33 -port 27016 +clientport 27005 +map de_dust2 -maxplayers 16

does not exec the config
./hlds_run -game cstrike -strictportbind +ip 10.18.71.33 -port 27016 +clientport 27005 +map de_dust2 +servercfgfile csserver-main.cfg -maxplayers 16

<!-- gh-comment-id:418837093 --> @jersam commented on GitHub (Sep 5, 2018): in cstrike, if i copy the csserver-main.cfg to server.cfg and exec no issues ./hlds_run -game cstrike -strictportbind +ip 10.18.71.33 -port 27016 +clientport 27005 +map de_dust2 -maxplayers 16 does not exec the config ./hlds_run -game cstrike -strictportbind +ip 10.18.71.33 -port 27016 +clientport 27005 +map de_dust2 +servercfgfile csserver-main.cfg -maxplayers 16
Author
Owner

@marvinlehmann commented on GitHub (Oct 21, 2018):

The hyphen is the issue, try using an underscore.

<!-- gh-comment-id:431683366 --> @marvinlehmann commented on GitHub (Oct 21, 2018): The hyphen is the issue, try using an underscore.
Author
Owner

@dgibbs64 commented on GitHub (Dec 3, 2018):

Was the issue resolved?

<!-- gh-comment-id:443886246 --> @dgibbs64 commented on GitHub (Dec 3, 2018): Was the issue resolved?
Author
Owner

@no-response[bot] commented on GitHub (Jan 2, 2019):

This issue has been automatically closed because there has been no response to this issue and is now stale.

<!-- gh-comment-id:451009268 --> @no-response[bot] commented on GitHub (Jan 2, 2019): This issue has been automatically closed because there has been no response to this issue and is now stale.
Author
Owner

@lock[bot] commented on GitHub (Jan 2, 2020):

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:570401138 --> @lock[bot] commented on GitHub (Jan 2, 2020): 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#1572
No description provided.