• tmysql issue with cider/Applejack
    7 replies, posted
I have an issue with the cider/Applejack (I've tried both) gamemode. Whenever I try to launch the server, it crashes. My server is running CentOS6 64-bit and I've got the tmysql3 modules. In Applejack the configuration does not have "" marks around the password, so it gives this error. bad argument #3 to 'initialize' (string expected, got nil)(Hook: Initialize) And as soon as the "" marks are added around the password, it crashes again. If I try using the -debug mode, I get this error at the end. PreMinidumpCallback: updating dump comment Uploading dump (in-process) [proxy ''] /tmp/dumps/crash_20120305114319_1.dmp success = yes response: CrashID=bp-290033fe-5f7b-4fd9-913d-1b6a02120305 cat: hlds.21631.pid: No such file or directory email debug.log to [email]linux@valvesoftware.com[/email] Mon Mar 5 11:43:20 CET 2012: Server restart in 10 seconds
The real Question is why are you using CentOS? Is it all you can get on your server or is it all you are familiar with?
[QUOTE=Tessius;35030599]The real Question is why are you using CentOS? Is it all you can get on your server or is it all you are familiar with?[/QUOTE] Its the only OS I am familiar with, yes.
[lua] local Host, User, Pass, DB, Port = [[localhost]], [[admin]], [[password1234]], [[database]], 3306 tmysql.initialize( Host, User, Pass, DB, Port ) [/lua] Example usage if you cant use "".
Then put quotes around the password........
[QUOTE=Ruzza;35035200]Then put quotes around the password........[/QUOTE] [QUOTE=Aitsihia;35003820] And as soon as the "" marks are added around the password, it crashes again. If I try using the -debug mode, I get this error at the end.[/QUOTE]
Then you're doing something wrong, I'm highly positive putting quotes around a string in LUA will not crash your server, if it did then all the built in scripts that come with Garry's Mod would have crashed your server as quotes are used many times.
Apparently it was not the quotes, since I tried the way Aide told, but the server still crashes. The error I get is the same I entered above. [code]PreMinidumpCallback: updating dump comment Uploading dump (in-process) [proxy ''] /tmp/dumps/crash_20120307200751_1.dmp success = yes response: CrashID=bp-efcd01da-91dd-4247-aa25-d780f2120307 cat: hlds.21544.pid: No such file or directory email debug.log to linux@valvesoftware.com Wed Mar 7 20:08:30 CET 2012: Server restart in 10 seconds[/code] Assuming there is something wrong with MySQL then. [B]EDIT:[/B] I managed to get rid of that error, but now each time I start the server I get the "Failed to connet to DB" text. I have checked the config's and everything is just fine.
Sorry, you need to Log In to post a reply to this thread.