Closed ghost closed 7 years ago
any error logs? have you compiled the plugins? maybe it's a mySQL problem?
no im not compile plugins, how i can do this on my linux server?
https://www.sourcemod.net/downloads.php?branch=stable
here you can download SM with the compiler for linux in the "scripting" folder you have a file named "Compiler", just drag and drop the .sp files on the compiler.
How i can do that on my server? always got
Compiling shavit-chat.sp ...
./compile.sh: line 18: 2630 Segmentation fault ./spcomp $sourcefile -ocompiled/$smxfile
when im trying to ./compile.sh
cd /csgo-ds/csgo/addons/sourcemod/scripting
./compile.sh
So i compile plugin, uploaded, trying to run server, in console i saw some plugins (used sm plugins) but have much errors there is error log file: (cant upload pastebin) https://satont.xyz/s/errors_20170501.log
you need to setup your database in config/databases.cfg
please read this: https://github.com/shavitush/bhoptimer/blob/master/README.md Here you have the installation tutorial + the required plugins you must have installed on your server.
Im already did this. Installed all requred plugins, setuped by mysql
can you copy and paste your databases.cfg here please
my databases.cfg: https://satont.xyz/s/databases.cfg Database created: Mysql daemon working fine (have my site with mysql using)
L 05/01/2017 - 13:46:31: [SM] Unable to load plugin "dhooks-test.smx": Required extension "dhooks" file("dhooks.ext") not running L 05/01/2017 - 13:46:32: [SM] Unable to load extension "dbi.mysql.ext": libz.so.1: cannot open shared object file: No such file or directory L 05/01/2017 - 13:46:32: [SM] Exception reported: Timer startup failed. Reason: Driver "mysql" not found
these three lines we need to focus on
run this command through ssh ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
which operating system are you running on your server?
debian 8
when you installed your server did you install the required dependencies
try tunning this and see if it is installed on your server
sudo apt-get install lib32gcc1
delete dhooks-test.smx from your plugins folder
Yep i did this:
apt-get install lib32gcc1
Reading package lists... Done
Building dependency tree
Reading state information... Done
lib32gcc1 is already the newest version.
The following packages were automatically installed and are no longer required:
libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Here is new log file, after ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
run ldd -d -r addons/sourcemod/extensions/dbi.mysql.ext.so
in your csgo directory and paste the output
linux-gate.so.1 (0xf771e000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf7525000)
libz.so.1 => not found
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7508000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf74ff000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7352000)
/lib/ld-linux.so.2 (0xf7721000)
sudo apt-get install zlib1g
already isntalled..
apt-get install zlib1g
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g is already the newest version.
The following packages were automatically installed and are no longer required:
libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
sudo apt-get install zlib1g:i386
U r my god
sm plugins
"Admin File Reader" (1.8.0.5992) by AlliedModders LLC
"[shavit] Sounds" (1.5b) by shavit
"Nextmap" (1.8.0.5992) by AlliedModders LLC
"Anti-Flood" (1.8.0.5992) by AlliedModders LLC
"Admin Help" (1.8.0.5992) by AlliedModders LLC
"Basic Chat" (1.8.0.5992) by AlliedModders LLC
"[shavit] World Records" (1.5b) by shavit
"Fun Votes" (1.8.0.5992) by AlliedModders LLC
"Sound Commands" (1.8.0.5992) by AlliedModders LLC
"Admin Menu" (1.8.0.5992) by AlliedModders LLC
To see more, type "sm plugins 11"
] sm plugins 11
"Client Preferences" (1.8.0.5992) by AlliedModders LLC
"[shavit] Miscellaneous" (1.5b) by shavit
"Test Messages" (1.0.0) by Keith Warren (Drixevel)
"Player Commands" (1.8.0.5992) by AlliedModders LLC
"[shavit] Rankings" (1.5b) by shavit
"Dynamic" (0.0.26) by Neuro Toxin
"The RTLer" (1.0.5) by alongub
"[shavit] Chat" (1.5b) by shavit
"Dynamic Test" (1.0.2) by Neuro Toxin
"Basic Comm Control" (1.8.0.5992) by AlliedModders LLC
"Reserved Slots" (1.8.0.5992) by AlliedModders LLC
To see more, type "sm plugins 22"
] sm plugins 22
"Fun Commands" (1.8.0.5992) by AlliedModders LLC
"Basic Votes" (1.8.0.5992) by AlliedModders LLC
"[shavit] Map Zones" (1.5b) by shavit
"[shavit] Core" (1.5b) by shavit
"[shavit] Replay Bot" (1.5b) by shavit
"Basic Commands" (1.8.0.5992) by AlliedModders LLC
"Basic Ban Commands" (1.8.0.5992) by AlliedModders LLC
"[shavit] HUD" (1.5b) by shavit
"Basic Info Triggers" (1.8.0.5992) by AlliedModders LLC
"[shavit] Dynamic Timelimits" (1.5b) by shavit
"[shavit] Player Stats" (1.5b) by shavit
glad i could help :)
i'd close this issue now :)
Yea, big thx
But i think need to add this all do requeriment servers
you can run multiple servers on the same system but if you plan on running it on a separate server then you have to rerun
sudo apt-get install zlib1g:i386
sudo apt-get install lib32gcc1
on those separate systems
if you get the same errors as before
idk i uploaded all files, but plugin wont work