Could not load database plugin

When I start the server it comes:
./ts3server_startscript.sh start
ts3server.pid found, but no server running. Possibly your previously started server crashed
Please view the logfile for details.
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
ts3@vmd:~$ 2021-02-16 13:13:42.343184|CRITICAL|DatabaseQuery | |Could not load database plugin

?? why can the database not be loaded?

Please do and tell us more.

2 Likes

I wanted to restart the server and then this came … i dont know…

log

2021-02-16 13:13:42.316585|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.12.1 (2020-03-27 10:38:47)
2021-02-16 13:13:42.321936|INFO    |ServerLibPriv |   |SystemInformation: Linux 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 Binary: 64bit
2021-02-16 13:13:42.322014|INFO    |ServerLibPriv |   |Using hardware aes
2021-02-16 13:13:42.343063|ERROR   |DatabaseQuery |   |Failed to import "ts3dbplugin_getlastinsertid" from "libts3db_sqlite3.so"
2021-02-16 13:13:42.343151|ERROR   |DatabaseQuery |   |Failed to import "ts3dbplugin_getmodifiedrowcount" from "libts3db_sqlite3.so"
2021-02-16 13:13:42.343184|CRITICAL|DatabaseQuery |   |Could not load database plugin

This worked before? Never saw such error.

Make a backup of the ts3server.sqlitedb and then update your server to the latest version.
Make sure you overwrite all files and that permissions are set for the user to read and write into server folder.

2 Likes

I did it, he still doesn’t want to start

ts3@vmd:~$ ./ts3server_startscript.sh start
ts3server.pid found, but no server running. Possibly your previously started server crashed
Please view the logfile for details.
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
ts3@vmd:~$ ./ts3server_startscript.sh status
Server seems to have died

log

2021-02-16 13:46:08.798436|INFO    |VirtualServerBase|1  |listening on 0.0.0.0:9987, [::]:9987
2021-02-16 13:46:08.803953|INFO    |VirtualServerBase|1  |stopped

Log 0 please.
I guess the same error?

How did you restart the server when the original error appeared?
Did you kill the server process or used a command to stop it first or ?

2 Likes

first when I wanted to restart the server I did ./ts3server_startscript.sh restart

log 0

2021-02-16 13:46:07.032631|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.13.3 (2020-12-16 14:17:05)
2021-02-16 13:46:07.034115|INFO    |ServerLibPriv |   |SystemInformation: Linux 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 Binary: 64bit
2021-02-16 13:46:07.034183|INFO    |ServerLibPriv |   |Using hardware aes
2021-02-16 13:46:07.035502|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2021-02-16 13:46:07.035561|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
2021-02-16 13:46:07.036150|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
2021-02-16 13:46:07.173087|WARNING |Accounting    |   |Unable to open licensekey.dat, falling back to limited functionality
2021-02-16 13:46:07.173486|INFO    |Accounting    |   |Licensing Information
2021-02-16 13:46:07.173528|INFO    |Accounting    |   |licensed to       : Anonymous
2021-02-16 13:46:07.173551|INFO    |Accounting    |   |type              : No License
2021-02-16 13:46:07.173578|INFO    |Accounting    |   |starting date     : Thu Oct  1 00:00:00 2020
2021-02-16 13:46:07.173598|INFO    |Accounting    |   |ending date       : Tue Nov  1 00:00:00 2022
2021-02-16 13:46:07.173616|INFO    |Accounting    |   |max virtualservers: 1
2021-02-16 13:46:07.173634|INFO    |Accounting    |   |max slots         : 32
2021-02-16 13:46:07.674243|ERROR   |Accounting    |   |failed to register local accounting service: File exists
2021-02-16 13:46:08.515351|INFO    |              |   |Puzzle precompute time: 1300
2021-02-16 13:46:08.516537|INFO    |FileManager   |   |listening on 0.0.0.0:30033, [::]:30033
2021-02-16 13:46:08.520485|INFO    |Query         |   |Using a query thread pool size of 2
2021-02-16 13:46:08.799339|INFO    |Query         |   |listening for query on 0.0.0.0:10011, [::]:10011
2021-02-16 13:46:08.800037|INFO    |Query         |   |listening for ssh query on 0.0.0.0:10022, [::]:10022
2021-02-16 13:46:08.800794|INFO    |Query         |   |listening for http query on 0.0.0.0:10080, [::]:10080
2021-02-16 13:46:08.801649|INFO    |CIDRManager   |   |updated query_ip_allowlist ips: 127.0.0.1/32, ::1/128,

There is still a server instance running OR the file we use is locked and wasn’t deleted.
Check if there is a server process left on the machine and if that’s not the case you may restart the machine to ensure the file is no longer locked.

2 Likes

what exactly must be in the ts3server.pid?

A server that is offline needs a ts3server.pid right?

ist es einfacher vlt auf einen ts server zu reden?? oder macht ihr das darüber nicht?

That’s not really what i asked in post before?
You may follow that one first.

2 Likes

I know. could you tell me that? Because I still have several backups on the server and there are no ts3server.pid files in it.

and which server should I restart? The ts server or the V server?

Did not mention the server.pid file ? Ignore that file.

Also did not say to restart the server ??

2 Likes

Check if there is a server process left on the machine and if that’s not the case you may restart the machine to ensure the file is no longer locked.

sorry my English is not that good…

so, there is no other TeamSpeak Server Online …
no idea whether the file is locked I don’t know how to look it up?

did I understand your question correctly?

With machine i mean the computer where Linux is running on.

3 Likes

i know,
you mean i schould restart the linux machine?

yes

2 Likes

ok I can only do that tomorrow morning because there are still websites on it that shouldn’t be offline.

as stupid as it is, after the restart everything is working.
(actually I had restarted the server yesterday but it didn’t work somehow screaming.)