• Linux Garry's mod server problem or addons ?
    18 replies, posted
hello, I am currently in the process of opening my garry 's mod server on a linux server but I am having a problem that some addons malfunctioning as ACRBANK , distributor eats the bank card each use and do give more I checked what could be causing this problem because fully reinstalling the mod ( removing datas associated) and i really think the problem is that : [CODE] Nav File is wrong or something (1) Initializing Steam libraries for secure Internet server [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. dlopen failed trying to load: /root/.steam/sdk32/libsteam.so with error: /root/.steam/sdk32/libsteam.so: cannot open shared object file: No such file or directory [/CODE] i saw that solution : [QUOTE]fixed this. In the folder you have your steamcmd binary, there's a folder called Linux32; inside there copy linuxstdc++.so.6 to your gmod dedicated server folders bin folder. cp ~/server/steamcmd/linux32/linuxstdc++.so.6 ~/server/gmod/bin/[/QUOTE] but i can't find "linuxstdc++.so.6" in my steamcmd/linux32 folders... can you help me? thank you Server is on Debian Release 7.9 (wheezy) 64-bit Kernel Linux 2.6.32-042stab108.8 PS : Sorry for my english, i'm french =\
I can promise you that having a broken addon isn't related to that error.
so what can i do?
[QUOTE=onizuka470;48626665]so what can i do?[/QUOTE] Contact the author of ARC Bank for support since it's a paid addon iirc.
I'm fairly sure that error doesn't affect how the server runs, so you should be fine. It says it on my server but people can still join and it seems to work as it should
Okay, i think i found the problem, first it's not arcbank. When i want to give me a weapon, the weapon does not appear in top menu, and nothing the inventory. So I think I must have a problem with the top menu with weapons
Please don't run your server as root
[QUOTE=Adam.GameDev;48627063]Please don't run your server as root[/QUOTE] That wouldn't really affect anything other than give that warning on start up and make the server a bit more insecure.
Yes, i will not use root for start the server when is done. (a user for steam is already created, but for testing it's faster) But i really think i've to reinstall my garry's mod server, now it's errors like that [code][ERROR] gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:287: attempt to write a readonly database (REPLACE INTO playerinformation VALUES('xxxx', 'xxxx');) 1. error - [C]:-1 2. query - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:287 3. retrievePlayerData - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:231 4. restorePlayerData - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:299 5. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:567[/code] i don't use mysql :\
[QUOTE=onizuka470;48627845]Yes, i will not use root for start the server when is done. (a user for steam is already created, but for testing it's faster) But i really think i've to reinstall my garry's mod server, now it's errors like that [code][ERROR] gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:287: attempt to write a readonly database (REPLACE INTO playerinformation VALUES('xxxx', 'xxxx');) 1. error - [C]:-1 2. query - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:287 3. retrievePlayerData - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:231 4. restorePlayerData - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:299 5. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:567[/code] i don't use mysql :\[/QUOTE] Look at your config files. Also make sure you have a sv.db file in garrysmod/
To fix the first error you need to copy libsteam.so to the directory it's trying to read it from. If the directory doesn't exist, create it. That error wouldn't be causing your issues though. Regarding the second error as stated above make sure sv.db exists and if you are not running the server as root then make sure the user you are running the game server under has permission to read and write to the sv.db file.
Hi darksoul, that's the problem, i don't have libsteam.so anywhere, can you send me ? Thanx
[QUOTE=onizuka470;48630619]Hi darksoul, that's the problem, i don't have libsteam.so anywhere, can you send me ? Thanx[/QUOTE] Its not the problem. Ive been running server with that error and all is fine. Check sv.db.
[QUOTE=onizuka470;48630619]Hi darksoul, that's the problem, i don't have libsteam.so anywhere, can you send me ? Thanx[/QUOTE] It should come with every Garry's Mod server. Update your search database and search for libsteam.so via your search command. If you still can't find anything use steamcmd to validate the server files. I can guarantee the libsteam error has nothing to do with your issues either way.
libsteam.so is in the garrysmod/bin/ directory, it should work fine when you copy that to the .steam/sdk32/ directory (.steam is located where steam should is installed).
Edit : Fixed !
[QUOTE=YourStalker;48627577]a bit more insecure.[/QUOTE] If someone manages to obtain code execution, god help you.
[QUOTE=sasherz;48642377]If someone manages to obtain code execution, god help you.[/QUOTE] This is true but I just don't use the root user because its more organized and boots faster. It's also easier to maintain multiple servers by naming the user stuff like ttt, darkrp, etc. Even if its a little extra security, might as well.
don't panic, i use a custom user with right for the server now.
Sorry, you need to Log In to post a reply to this thread.