GameServerManagers / GameServerManagers/LinuxGSM

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

Open
#4,520 0 comments 0 reactions 0 assignees View on GitHub
command: install distro: Ubuntu game: Counter-Strike 1.6 info: dependency info: steamcmd type: bug
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

### 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

```shell
$ ./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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.