[GH-ISSUE #282] [KillingFloor] Unable to start server #240

Closed
opened 2026-02-27 02:00:20 +03:00 by kerem · 14 comments
Owner

Originally created by @Xylemon on GitHub (Jan 31, 2015).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/282

Since I've updated all the functions and scripts, Killing Floor no longer starts:

kfserver start
tail: cannot open '3' for reading: No such file or directory
/linktoscript/kf/functions/fn_start: line 47: [: : integer expression expected
[ FAIL ] Starting kf-server: Unable to start Killing Floor Server
Check log files: /linktoscript/kf/log

The logs just says:

Jan 30 23:11:07 kf-server: Starting: Killing Floor Server
Jan 30 23:11:08 kf-server: Starting: Rotating log files

Distro Details:

Distro: Slackware 14.1
Arch: x86_64
Kernel: 3.14.18
tmux: tmux 1.8
GLIBC: 2.19

I did comment about this in another issue thinking the two might be related, but ended up creating a separate issue since it was more appropriate.

Originally created by @Xylemon on GitHub (Jan 31, 2015). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/282 Since I've updated all the functions and scripts, Killing Floor no longer starts: kfserver start tail: cannot open '3' for reading: No such file or directory /linktoscript/kf/functions/fn_start: line 47: [: : integer expression expected [ FAIL ] Starting kf-server: Unable to start Killing Floor Server Check log files: /linktoscript/kf/log The logs just says: Jan 30 23:11:07 kf-server: Starting: Killing Floor Server Jan 30 23:11:08 kf-server: Starting: Rotating log files Distro Details: Distro: Slackware 14.1 Arch: x86_64 Kernel: 3.14.18 tmux: tmux 1.8 GLIBC: 2.19 I did comment about this in another issue thinking the two might be related, but ended up creating a separate issue since it was more appropriate.
kerem 2026-02-27 02:00:20 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@dgibbs64 commented on GitHub (Feb 1, 2015):

Tested this on CentOS and there is no error. Im guessing that Slackware is playing silly buggers again. Here is the offending code. My guess is that tmux -V part of the code is not returning an integer. Even though when I have tested in on other distros it works.

# tmux pipe-pane not supported in tmux versions < 1.6
if [ "$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd [:digit:]|tail -c 3)" -lt "16" ]; then
    echo "Console logging disabled: Tmux => 1.6 required" >> "${consolelog}"
    echo "Currently installed: $(tmux -V)" >> "${consolelog}"
else
    tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'"
fi
<!-- gh-comment-id:72391704 --> @dgibbs64 commented on GitHub (Feb 1, 2015): Tested this on CentOS and there is no error. Im guessing that Slackware is playing silly buggers again. Here is the offending code. My guess is that tmux -V part of the code is not returning an integer. Even though when I have tested in on other distros it works. ``` # tmux pipe-pane not supported in tmux versions < 1.6 if [ "$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd [:digit:]|tail -c 3)" -lt "16" ]; then echo "Console logging disabled: Tmux => 1.6 required" >> "${consolelog}" echo "Currently installed: $(tmux -V)" >> "${consolelog}" else tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" fi ```
Author
Owner

@Xylemon commented on GitHub (Feb 8, 2015):

What can I do to help solve this issue? I would like to get my Killing Floor server back up as soon as possible.

<!-- gh-comment-id:73434358 --> @Xylemon commented on GitHub (Feb 8, 2015): What can I do to help solve this issue? I would like to get my Killing Floor server back up as soon as possible.
Author
Owner

@dgibbs64 commented on GitHub (Feb 8, 2015):

Not sure I may require access to a slackware vps so I can investigate this. OVH don't do that as an option. I will test again on centos to be sure that this is only a Slackware issue.

<!-- gh-comment-id:73437021 --> @dgibbs64 commented on GitHub (Feb 8, 2015): Not sure I may require access to a slackware vps so I can investigate this. OVH don't do that as an option. I will test again on centos to be sure that this is only a Slackware issue.
Author
Owner

@lambarena commented on GitHub (Feb 11, 2015):

I am having the same problem with my Ubuntu 14.04 installation.

The log ends with Rotating log files

<!-- gh-comment-id:73829749 --> @lambarena commented on GitHub (Feb 11, 2015): I am having the same problem with my Ubuntu 14.04 installation. The log ends with Rotating log files
Author
Owner

@dgibbs64 commented on GitHub (Feb 14, 2015):

fixed

github.com/dgibbs64/linuxgameservers@29d80e88ce

<!-- gh-comment-id:74393210 --> @dgibbs64 commented on GitHub (Feb 14, 2015): fixed https://github.com/dgibbs64/linuxgameservers/commit/29d80e88ce8d8b44dbece05cb33c9ab64e9067fd
Author
Owner

@Xylemon commented on GitHub (Feb 14, 2015):

Sadly this did not fix the issue.

<!-- gh-comment-id:74394077 --> @Xylemon commented on GitHub (Feb 14, 2015): Sadly this did not fix the issue.
Author
Owner

@dgibbs64 commented on GitHub (Feb 14, 2015):

What error are you getting now?

<!-- gh-comment-id:74394243 --> @dgibbs64 commented on GitHub (Feb 14, 2015): What error are you getting now?
Author
Owner

@Xylemon commented on GitHub (Feb 15, 2015):

Just:

[ FAIL ] Starting kf-server: Unable to start Killing Floor Server
Check log files: /linktoscript/kf/log

Log files still empty sadly.

<!-- gh-comment-id:74399718 --> @Xylemon commented on GitHub (Feb 15, 2015): Just: [ FAIL ] Starting kf-server: Unable to start Killing Floor Server Check log files: /linktoscript/kf/log Log files still empty sadly.
Author
Owner

@dgibbs64 commented on GitHub (Feb 15, 2015):

Making some progress. Try debug mode. I want to see what that says

<!-- gh-comment-id:74408019 --> @dgibbs64 commented on GitHub (Feb 15, 2015): Making some progress. Try debug mode. I want to see what that says
Author
Owner

@dgibbs64 commented on GitHub (Feb 15, 2015):

The been investigating the issue and looks like the server is simply failing to start. I think debug mode will reveal the issue.

Also tmux pipe-pane which is responsible for console logs is not always working now for some reason.

<!-- gh-comment-id:74437544 --> @dgibbs64 commented on GitHub (Feb 15, 2015): The been investigating the issue and looks like the server is simply failing to start. I think debug mode will reveal the issue. Also tmux pipe-pane which is responsible for console logs is not always working now for some reason.
Author
Owner

@dgibbs64 commented on GitHub (Feb 15, 2015):

What version of tmux are you using? Just found that version 1.8 has a bug in which pipe-pane does not work.
http://sourceforge.net/p/tmux/mailman/message/32033641/

<!-- gh-comment-id:74441460 --> @dgibbs64 commented on GitHub (Feb 15, 2015): What version of tmux are you using? Just found that version 1.8 has a bug in which pipe-pane does not work. http://sourceforge.net/p/tmux/mailman/message/32033641/
Author
Owner

@Xylemon commented on GitHub (Feb 16, 2015):

OK seems the issue was a silly mistake in the script (I think it was something I did). Basically it was that in the parameters section "ini=" was set to something different. Setting it to "ini=${servercfg}" fixed everything, thanks for suggesting debug mode! I also did update Tmux to the 1.9a just now to avoid any issues with Tmux comparability.

<!-- gh-comment-id:74476810 --> @Xylemon commented on GitHub (Feb 16, 2015): OK seems the issue was a silly mistake in the script (I think it was something I did). Basically it was that in the parameters section "ini=" was set to something different. Setting it to "ini=${servercfg}" fixed everything, thanks for suggesting debug mode! I also did update Tmux to the 1.9a just now to avoid any issues with Tmux comparability.
Author
Owner

@dgibbs64 commented on GitHub (Feb 16, 2015):

Awesome. I will be adding using debug mode in to the error message. To remind Admins to use that feature when having problems. I will also be adding a message in about tmux 1.8 bug.

<!-- gh-comment-id:74479851 --> @dgibbs64 commented on GitHub (Feb 16, 2015): Awesome. I will be adding using debug mode in to the error message. To remind Admins to use that feature when having problems. I will also be adding a message in about tmux 1.8 bug.
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:406445739 --> @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#240
No description provided.