Raised This Month: $ Target: $400
 0% 

Solved Sourcemod and metamod don't work on WSL2 Ubuntu 20.04 LTS


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
umar_0x01
Junior Member
Join Date: May 2021
Old 06-22-2021 , 09:30   Sourcemod and metamod don't work on WSL2 Ubuntu 20.04 LTS
Reply With Quote #1

Hi everyone,

I've recently been trying to get sourcemod work on the latest WSL2 Ubuntu 20.04's installation. Since WSL2 imitates the Linux kernel, all's well and CS:GO server runs fine too.

I'm doing the setup for some local testing of plugins before pushing to my (AWS - Ubuntu 18.04) server which is working fine with both sourcemod and metamod.

I've installed almost all dependency issues I found, made sure to follow the installation guide of sourcemod too but sourcemod or metamod still don't work.

I'm installing the dependencies through:
Code:
sudo apt-get -y install unzip zip software-properties-common aria2 lib32z1 zlib1g mysql-server lib32gcc1 net-tools
Using the following snippet for setting up the CS:GO server:
Code:
# Installing steamcmd for installation of csgo
mkdir -p /home/$USER/steamcmd && \
    cd /home/$USER/steamcmd && \
    download http://media.steampowered.com/installer/steamcmd_linux.tar.gz -o steamcmd_linux.tar.gz && \
    tar -xvf steamcmd_linux.tar.gz && \
    rm -rfv steamcmd_linux.tar.gz

# Installing csgo server in ~/csgo-ds/ directory
cd && \
	/home/$USER/steamcmd/steamcmd.sh +login anonymous +force_install_dir $CSGO_INSTALL_LOCATION +app_update 740 +quit
OS release:
Code:
└─$ cat /etc/*release                                                                                                                                                                                      130 ⨯
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
I've attached the file containing the complete logs of the server running. Also, the tree of the addons folder. I'm also using latest version of both sourcemod and metamod.

Thanks for looking into this!
Attached Files
File Type: txt server-log.txt (42.9 KB, 105 views)
File Type: txt file-dir.txt (75.5 KB, 95 views)

Last edited by umar_0x01; 06-24-2021 at 10:45.
umar_0x01 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode