Ryuk Posted January 15, 2015 Share Posted January 15, 2015 Hello,I was trying to use SQL stats logger http://mygamingtalk.com/forums/files/file/18-sql-stats-logger/ by Sol and I get this error on startup: 0:12 Lua API: Loading dbstats.lua 0:12 Lua API: G_LuaStartVM error running lua script: D:\Program Files\ETserver\silent\LUA/dblib.lua:9: module 'luasql.mysql' not found: no field package.preload['luasql.mysql'] no file 'D:\Program Files\ETserver\silent\luasql\mysql.lua' no file 'D:\Program Files\ETserver\silent\lualibs\luasql\mysql.lua' no file 'D:\Program Files\ETserver\silent\lualibs\luasql\mysql.dll' no file 'D:\Program Files\ETserver\silent\lualibs\luasql.dll' What does it mean? Do I need something more than regular silEnT mod installation to run this script? Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted January 15, 2015 Management Share Posted January 15, 2015 I guess you need this:http://keplerproject.github.io/luasql/doc/us/ Quote Link to comment Share on other sites More sharing options...
Ryuk Posted January 17, 2015 Author Share Posted January 17, 2015 Is it possible to install this on linux if i don't have shell access? Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted January 17, 2015 Management Share Posted January 17, 2015 If you can place files in your silent install dir without shell access it would be possible. Quote Link to comment Share on other sites More sharing options...
Ryuk Posted January 17, 2015 Author Share Posted January 17, 2015 I can and i did that but these files doesn't work properly. I downloaded mysql.so from NOQ files and placed it in silent/lualibs/luasql/ and now i get this error: 2377:19 Lua API: G_LuaStartVM error running lua script: error loading module 'luasql.mysql' libssl.so.0: cannot open shared object file: No such file or directory Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted January 17, 2015 Management Share Posted January 17, 2015 It looks like it has dependency on the libssl library and it is not available. You could either put it there and export the LD_LIBRARY_PATH variable to point to the directory with the libssl library prior to running the server or ask the server maintainer to install libssl system wide. I would recommend the latter. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted January 17, 2015 Management Share Posted January 17, 2015 Also, you need to use the dynamic Lua version of the silEnT mod for the scripts to load additional libraries. Quote Link to comment Share on other sites More sharing options...
Ryuk Posted January 20, 2015 Author Share Posted January 20, 2015 Thanks for your help. I did what you suggested and the server maintainer asks me which libssl exactly has to be installed. Do you have any ideas? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.