• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Problems running my OTS 8.6

demon088

#088 in the Horde
Joined
Jun 17, 2009
Messages
249
Solutions
3
Reaction score
30
Location
Hell
Hi,
I recently purchased a service at Spigu Cloud and I can't run my own OTS 8.6 with tfs 0.4 engine. I compiled the tfs 0.4 from this github repository https://github.com/otservme/global860. But when I try to run my OTS:
Tn6K04n.png

I can't find out how to solve this problem and I'm hurry for setting online my OTS, so please if you can help me I'd be thankful!
 
In case you don't see the output in the log (as above), you can always run the server in the foreground (as opposed to in the background and via auto-restarter service) to check what the problem is.
I just did that for you and the output was:
Code:
otsmanager@158-69-12-209:~/ots$ ./theforgottenserver
[20:45:54.516] [TFS] Revisado por Chaitosoft.com - a sua loja de otserv, version 0.3.7_SVN (Crying Damson)
[20:45:54.516] Compiled with GNU C++ version 5.2.1 20151010 (x86_64: 1) at Apr 27 2016, 18:56:33.
[20:45:54.516] A server developed by Elf, Talaturen, Dalkon, BeniS, Tryller and Kornholijo.
[20:45:54.516] Visit our forum for updates, support and resources: http://otland.net.

[20:45:54.516] >> Loading config (config.lua)
[20:45:54.517] > Opening logs
[20:45:54.517] > Using SHA1 encryption
[20:45:54.517] >> Checking software version...
[20:45:54.517] > Ignoring version check, using SVN
[20:45:54.518] >> Loading RSA key
[20:45:54.518] > Calculating dmp1, dmq1 and iqmp for RSA... done
[20:45:54.519] >> Starting SQL connection

[20:45:54.520] Failed connecting to database - MYSQL ERROR: Access denied for user 'root'@'localhost' (using password: NO) (1045)
theforgottenserver: databasemysql.cpp:39: DatabaseMySQL::DatabaseMySQL(): Assertion `connect(false)' failed.
Aborted
 
The error indicates that you have not provided correct username and password to access the database.
The original config.lua that we ship with the server has correct username and password for the forgottenserver database. You can use that one or create one yourself. Just supply a correct password and database name.
 
I'm done with that, but now it seems that its not loading the sql database. I edited the config.lua correctly but I guess the .s3db file is wrong with something because it can't load the databse. What can I do to solve this?
Thanks again!
 
Do you have a version with SQLite support? I hope you don't, you should be using the MySQL database (in which case you can disregard the s3db file settings).
 
Uhm, you'd need an AAC that supports sqlite and it will be slower. I highly suggest you use MySQL just like everybody else is doing these days. There is rarely any material on using sqlite nowadays here on Otland.
 
Back
Top