PDA

View Full Version : Help unable to open database


pclover
20-06-2008, 06:46
Hi i am running Team Speak Server 2 on CentOS 5. The fist time i ran the start script it worked great but now its saying the logs unable to open database. I want to use a server.db file but what do i need to do to fix this? I used the default settings the fist time so what i am thinking is i need to is to delete the old database and recreate it or is the a way to fix it? If so i want to keep the old database because i have some servers and settings with them. Thanks

Here is my server.log

---------------------------------------------------------------
-------------- log started at 19-06-08 21:39 -------------
---------------------------------------------------------------
19-06-08 21:39:53,ALL,Info,server, Server init initialized
19-06-08 21:39:53,ALL,Info,server, Server version: 2.0.23.19 Linux
19-06-08 21:39:53,ERROR,All,SQL, Database initialization error: SQL logic error or missing database
19-06-08 21:39:53,ERROR,All,SQL, Database initialization error: SQL logic error or missing database
19-06-08 21:39:53,ERROR,All,SERVER, Start_Server: unable to open database
----------------------------------------------------------
---------------------------------------------------------------
--------------- log ended at 19-06-08 21:39 --------------
---------------------------------------------------------------

BHKai
22-06-2008, 20:10
It might be corrupt. Try renaming the db so that TS will create another db and you will still have the other db.

pclover
23-06-2008, 06:11
Did not help anything. So i just want to start form scratch i removed the old installation and reinstalled but still gives me the same error. How do i remove the MySQL database i used the default settings running it for the first time.

BHKai
23-06-2008, 14:53
it is just sql-lite not mysql. Just delete or rename the server.db file.

pclover
24-06-2008, 01:41
it is just sql-lite not mysql. Just delete or rename the server.db file.

did that no help :(