CoD4x_Server icon indicating copy to clipboard operation
CoD4x_Server copied to clipboard

cannot execute: required file not found debug

Open Leproide opened this issue 1 year ago • 4 comments

Hi all, After a vps reset the cod4x server wont start. After uplloading the backup folder this is the error:

./cod4x18_dedrun +exec server.cfg +map_rotate +sv_pure 1 -bash: ./cod4x18_dedrun: cannot execute: required file not found

How i can debug this? Have a nice day

Leproide avatar Apr 01 '24 21:04 Leproide

Check the things discussed here https://unix.stackexchange.com/questions/721844/linux-bash-shell-script-error-cannot-execute-required-file-not-found

bbashy avatar Apr 05 '24 16:04 bbashy

Tnx, but not working

Leproide avatar Apr 05 '24 19:04 Leproide

your system doesn't recognize that the file is an executable. you probably have a 64bit os and this is a 32bit binary. i haven't touched this in a very long time, but if you're on a debian based system you can check out the "Compiling on Linux" section in the readme.

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib

D4edalus avatar Apr 06 '24 09:04 D4edalus

Perfect, now run without need to recompile :D Tnx m8 <3

Leproide avatar Apr 06 '24 11:04 Leproide