[GH-ISSUE #2860] Cannot connect to cod4 server after updating LinuxGSM #2053

Closed
opened 2026-02-27 03:00:34 +03:00 by kerem · 11 comments
Owner

Originally created by @methmal59 on GitHub (May 3, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2860

I updated LinuxGSM and changed the cod 4 MOD I was using. Then I started the server, and everything looked fine. Even when I tried using "./cod4server details", it said that the server is connected. But I couldn't connect to the server as a player. I tried removing the MOD and then I could connect to the server. The problem happens when I set some command line arguments in "common.cfg" file.

So I reinstalled the VPS OS and tried again. Still, it says the server is online. But I can't connect to it. This only happened after I updated LinuxGSM

I have another server running which I didn't update yet and it's working fine.

Originally created by @methmal59 on GitHub (May 3, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2860 I updated LinuxGSM and changed the cod 4 MOD I was using. Then I started the server, and everything looked fine. Even when I tried using "./cod4server details", it said that the server is connected. But I couldn't connect to the server as a player. I tried removing the MOD and then I could connect to the server. The problem happens when I set some command line arguments in "common.cfg" file. So I reinstalled the VPS OS and tried again. Still, it says the server is online. But I can't connect to it. This only happened after I updated LinuxGSM I have another server running which I didn't update yet and it's working fine.
Author
Owner

@Raamkonijn commented on GitHub (Jun 4, 2020):

I had exactly the same experience with cod2server. Everything looks okay in the details and console, but unable to connect. I had done the exact same install a few weeks ago with an older version of LinuxGSM (v20.2.0) which was working perfect. The new install (v20.3.3) wouldn't work. After using the older version (v20.2.0) everything worked again.

<!-- gh-comment-id:638765734 --> @Raamkonijn commented on GitHub (Jun 4, 2020): I had exactly the same experience with cod2server. Everything looks okay in the details and console, but unable to connect. I had done the exact same install a few weeks ago with an older version of LinuxGSM (v20.2.0) which was working perfect. The new install (v20.3.3) wouldn't work. After using the older version (v20.2.0) everything worked again.
Author
Owner

@dgibbs64 commented on GitHub (Jun 4, 2020):

the cod4 archive has been updated to a newer version of cod4x
cod2 however has not changed apart from now using tar.xz instead of tar.bz2

<!-- gh-comment-id:638785517 --> @dgibbs64 commented on GitHub (Jun 4, 2020): the cod4 archive has been updated to a newer version of cod4x cod2 however has not changed apart from now using tar.xz instead of tar.bz2
Author
Owner

@methmal59 commented on GitHub (Jun 4, 2020):

The updated cod4 is not working right now. While using pml220, a red error message appears on the screen on every client saying 'Invalid IWD files detected'. I tried many things but none of them worked, so I had to edit the mod.ff of pml220 and remove all the warning messages.

<!-- gh-comment-id:638787200 --> @methmal59 commented on GitHub (Jun 4, 2020): The updated cod4 is not working right now. While using pml220, a red error message appears on the screen on every client saying 'Invalid IWD files detected'. I tried many things but none of them worked, so I had to edit the mod.ff of pml220 and remove all the warning messages.
Author
Owner

@dgibbs64 commented on GitHub (Jun 4, 2020):

thanks I will be testing this out

<!-- gh-comment-id:638787456 --> @dgibbs64 commented on GitHub (Jun 4, 2020): thanks I will be testing this out
Author
Owner

@dgibbs64 commented on GitHub (Jun 4, 2020):

tested can confirm its broken. Not sure the exact cause yet but I will get a hotfix out when it's sorted.

<!-- gh-comment-id:638800311 --> @dgibbs64 commented on GitHub (Jun 4, 2020): tested can confirm its broken. Not sure the exact cause yet but I will get a hotfix out when it's sorted.
Author
Owner

@dgibbs64 commented on GitHub (Jun 4, 2020):

scratch that it was a port binding issue. the server is working for me

<!-- gh-comment-id:638808416 --> @dgibbs64 commented on GitHub (Jun 4, 2020): scratch that it was a port binding issue. the server is working for me
Author
Owner

@dgibbs64 commented on GitHub (Jun 4, 2020):

does the error state what files are missing?

<!-- gh-comment-id:638810956 --> @dgibbs64 commented on GitHub (Jun 4, 2020): does the error state what files are missing?
Author
Owner

@methmal59 commented on GitHub (Jun 4, 2020):

nope, just that invalid IWD files detected

<!-- gh-comment-id:638843733 --> @methmal59 commented on GitHub (Jun 4, 2020): nope, just that invalid IWD files detected
Author
Owner

@dgibbs64 commented on GitHub (Jun 4, 2020):

so my theory is that the iwd files e.g iw_13.iwd md5 check fails. I am going to check the files against the game to see if they match. If not there are also some iwd files for the mod that might be the issue

<!-- gh-comment-id:638951379 --> @dgibbs64 commented on GitHub (Jun 4, 2020): so my theory is that the iwd files e.g `iw_13.iwd` md5 check fails. I am going to check the files against the game to see if they match. If not there are also some iwd files for the mod that might be the issue
Author
Owner

@dgibbs64 commented on GitHub (Jul 13, 2020):

I re-downloaded and installed and I am unable to replicate the issue.

<!-- gh-comment-id:657828774 --> @dgibbs64 commented on GitHub (Jul 13, 2020): I re-downloaded and installed and I am unable to replicate the issue.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 14, 2021):

This issue 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:879485482 --> @github-actions[bot] commented on GitHub (Jul 14, 2021): This issue 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#2053
No description provided.