GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.18k stars 801 forks source link

[Bug]: [CS1.6] ./csserver install =>Failed to check for virtualization: Operation not permitted #4520

Open that-is-not-great opened 4 months ago

that-is-not-great commented 4 months ago

User story

As a user, I want to install so that no errors appear.

Game

CS 1.6

Linux distro

Ubuntu 20.04

Command

command: install

Further information

fresh install on a ubuntu 20.04 root server, as non-root sudo user, cs 1.6, already during install ./csserver install Failed to check for virtualization: Operation not permitted

later on the server console, not sure if related NET_SendPacket: ERROR: Operation not permitted

$ ./csserver start
[ .... ] Starting csserver: Failed to check for virtualization: Operation not permitted
Failed to check for virtualization: Operation not permitted
Failed to check for virtualization: Operation not permitted
[  OK  ] Starting csserver: Counter-Strike 1.6 Server
lscpu
...
Virtualization: AMD-V

sudo ufw allow 27015/udp;

Relevant log output

$ ./csserver install

Creating Log Directories
=================================
installing log dir: /home/cs/log...OK
installing LinuxGSM log dir: /home/cs/log/script...OK
creating LinuxGSM log: /home/cs/log/script/csserver-script.log...OK
installing console log dir: /home/cs/log/console...OK
creating console log: /home/cs/log/console/csserver-console.log...OK
installing game log dir: /home/cs/serverfiles/cstrike/logs...OK
creating symlink to game log dir: /home/cs/log/server -> /home/cs/serverfiles/cstrike/logs...OK
fetching GitHub check_deps.sh...OK

Checking Counter-Strike 1.6 Dependencies
=================================
Failed to check for virtualization: Operation not permitted
Failed to check for virtualization: Operation not permitted
fetching GitHub ubuntu-20.04.csv...OK
bc
binutils
bsdmainutils
bzip2
ca-certificates
cpio
curl
distro-info
file
gzip
hostname
jq
lib32gcc1
lib32stdc++6
libsdl2-2.0-0:i386
netcat
python3
steamcmd
tar
tmux
unzip
util-linux
uuid-runtime
wget
xz-utils
Information! Required dependencies already installed.
fetching GitHub install_steamcmd.sh...OK

Installing SteamCMD
=================================
fetching GitHub check_steamcmd.sh...OK
fetching GitHub core_steamcmd.sh...OK
Information! SteamCMD is already installed...OK
fetching GitHub install_server_files.sh...OK

Installing Counter-Strike 1.6 Server
=================================
fetching GitHub update_steamcmd.sh...OK
Failed to check for virtualization: Operation not permitted
Failed to check for virtualization: Operation not permitted
[ START ] Installing csserver: SteamCMD

...

$ sudo ./csserver install

Checking Counter-Strike 1.6 Dependencies as root
=================================
Information! Checking any missing dependencies for Counter-Strike 1.6 server only.
Information! This will NOT install a Counter-Strike 1.6 server.
bc
binutils
bsdmainutils
bzip2
ca-certificates
cpio
curl
distro-info
file
gzip
hostname
jq
lib32gcc1
lib32stdc++6
libsdl2-2.0-0:i386
netcat
python3
steamcmd
tar
tmux
unzip
util-linux
uuid-runtime
wget
xz-utils
Information! Required dependencies already installed.

Steps to reproduce

./csserver install