Results 1 to 11 of 11
-
13-06-2012, 02:04 #1
-= TeamSpeak User =-
- Join Date
- Jun 2012
- Posts
- 7
Server is killed after disconnect from ssh (putty)
I took the time to resetup the teamspeak after it crashed today and now when i use screen and detach the screen it will kill itself within 10 minutes of shutting off putty. I tried checking all permissions, running as sudo, and i'm at a loss. Please help me if you can.
Here is my current list of files and permissions:
drwxr-xr-x 8 root root 4096 2012-06-12 19:57 .
drwx------ 47 james james 57344 2012-06-12 17:21 ..
-rwxr-xr-x 1 root root 168 2012-06-12 18:17 autorestart.sh
-rw-r--r-- 1 james james 37312 2012-04-22 23:48 CHANGELOG
drwxr-xr-x 2 james james 4096 2012-04-22 23:48 doc
drwx------ 3 james james 4096 2012-06-12 17:25 files
-rwxr-xr-x 1 james james 217096 2012-04-22 23:48 libts3db_mysql.so
-rwxr-xr-x 1 james james 1056280 2012-04-22 23:48 libts3db_sqlite3.so
-rw-r--r-- 1 james james 24099 2012-04-22 23:48 LICENSE
-rw-r--r-- 1 james james 882 2012-06-12 17:25 licensekey.dat
drwx------ 2 james james 4096 2012-06-12 19:35 logs
-rw------- 1 james james 0 2012-06-12 17:25 nohup.out
-rw-r--r-- 1 james james 1 2012-06-12 17:25 query_ip_blacklist.txt
-rw-r--r-- 1 james james 10 2012-06-12 17:25 query_ip_whitelist.txt
-rw-r--r-- 1 james james 112 2012-06-12 17:25 serverkey.dat
drwxr-xr-x 2 james james 20480 2012-04-22 23:48 serverquerydocs
drwxr-xr-x 4 james james 20480 2012-04-22 23:48 sql
-rw-r--r-- 1 james james 406 2012-06-12 18:58 ts3.log
-rwxr-xr-x 1 root root 5447240 2012-04-22 23:48 ts3server_linux_amd64
-rwxr-xr-x 1 root root 432 2012-04-22 23:48 ts3server_minimal_runscript.sh
-rw-r--r-- 1 root root 6 2012-06-12 19:35 ts3server.pid
-rw-r--r-- 1 james james 260096 2012-06-12 19:57 ts3server.sqlitedb
-rwxr-xr-x 1 root root 2842 2012-04-22 23:48 ts3server_startscript.sh
drwxr-xr-x 2 james james 4096 2012-04-22 23:48 tsdns
As long as i am logged into ssh the server will remain online.
-
13-06-2012, 04:47 #2
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
Not all of the Files have the proper owner.
use the ts3server_startscript.sh to run the server! It will make sure the server continues to run after exiting from ssh.
Code:chown -hR james:james /path/to/above/folder /path/to/above/folder/ts3server_startscript.sh start
-
13-06-2012, 04:53 #3
-= TeamSpeak User =-
- Join Date
- Jun 2012
- Posts
- 7
They did originally and i have tried running it that way. I'll reset them back to my ownership and try logging out of ssh and i'll give you a update.
-
13-06-2012, 05:39 #4
-= TeamSpeak User =-
- Join Date
- Jun 2012
- Posts
- 7
Okay. It stayed up for 45 minutes instead of the normal 5-20. I looked in the logs and they aren't reporting anything out of the ordinary.
Anyone got a idea to try next?
-
19-06-2012, 15:21 #5
-= TeamSpeak Team =-
- Join Date
- Jun 2008
- Posts
- 7,762
This is exactly the same problem. I hope this thread helps here.
http://forum.teamspeak.com/showthrea...ght=disconnect---------------------------------------------------------
Please don't send me private support questions.
They belong into the forum and maybe other users have these questions/problems too.
TeamSpeak FAQ || What should i report, when i open a client thread? || Report and upload your Crashdump here
NPL License (Registration)
-
20-06-2012, 01:10 #6
-= TeamSpeak User =-
- Join Date
- Jun 2012
- Posts
- 7
I have tried everything in that thread. nohup, screen, tmux, and everything else doesn't seem to help.
I am getting some errors and i don't know if the hard drive or what.
2012-06-14 04:35:22.924363|ERROR |DatabaseQuery | | db_exec failed unable to open database file
2012-06-14 04:35:22.924532|ERROR |DatabaseQuery | | db_exec() delete from instance_properties where string_id = '' ; error: unable to open database file
2012-06-14 04:35:22.924728|ERROR |ServerLibPriv | | Server() error while starting servermanager, error: database error
2012-06-14 04:35:22.925215|ERROR |DatabaseQuery | | db_exec failed unable to open database file
2012-06-14 04:35:22.925355|ERROR |DatabaseQuery | | db_exec() delete from instance_properties where string_id = '' ; error: unable to open database file2012-06-14 05:10:15.882549|ERROR |DatabaseQuery | | db_exec failed disk I/O error
2012-06-14 05:10:15.882865|ERROR |DatabaseQuery | | db_exec() update clients set client_lastconnected=1339650615, client_totalconnec error: disk I/O error
2012-06-14 05:10:15.883003|CRITICAL|DatabaseQuery | | Assertion "error == ERROR_ok" failed at server/serverlib/database/db_database.cpp:113;
-
20-06-2012, 05:18 #7
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
That Logs show that the Server cannot write the database file, as if you changed the permissions of the database file while the server was running.
In any case post output of ls -alh and make sure the Database file is owned by the user you are running the server as.
-
20-06-2012, 05:24 #8
-= TeamSpeak User =-
- Join Date
- Jun 2012
- Posts
- 7
i see the . directory is not owned by me. How do i fix that?
drwxr-xr-x 8 james root 4.0K 2012-06-19 22:57 .
drwx------ 47 james james 56K 2012-06-19 19:17 ..
-rw-r--r-- 1 james james 37K 2012-04-22 23:48 CHANGELOG
drwxr-xr-x 2 james james 4.0K 2012-04-22 23:48 doc
drwx------ 3 james james 4.0K 2012-06-12 17:25 files
-rwxr-xr-x 1 james james 213K 2012-04-22 23:48 libts3db_mysql.so
-rwxr-xr-x 1 james james 1.1M 2012-04-22 23:48 libts3db_sqlite3.so
-rw-r--r-- 1 james james 24K 2012-04-22 23:48 LICENSE
-rw-r--r-- 1 james james 882 2012-06-12 17:25 licensekey.dat
drwx------ 2 james james 16K 2012-06-19 18:25 logs
-rw------- 1 james james 4.4K 2012-06-19 18:25 nohup.out
-rw-r--r-- 1 james james 1 2012-06-12 17:25 query_ip_blacklist.txt
-rw-r--r-- 1 james james 10 2012-06-12 17:25 query_ip_whitelist.txt
-rw-r--r-- 1 james james 112 2012-06-12 17:25 serverkey.dat
drwxr-xr-x 2 james james 20K 2012-04-22 23:48 serverquerydocs
drwxr-xr-x 4 james james 20K 2012-04-22 23:48 sql
-rw-r--r-- 1 james james 406 2012-06-12 18:58 ts3.log
-rwxr-xr-x 1 james james 5.2M 2012-04-22 23:48 ts3server_linux_amd64
-rwxr-xr-x 1 james james 432 2012-04-22 23:48 ts3server_minimal_runscript.sh
-rw-r--r-- 1 james james 5 2012-06-19 18:25 ts3server.pid
-rw-r--r-- 1 james james 404K 2012-06-19 22:57 ts3server.sqlitedb
-rwxr-xr-x 1 james james 2.8K 2012-04-22 23:48 ts3server_startscript.sh
drwxr-xr-x 2 james james 4.0K 2012-04-22 23:48 tsdns
-
20-06-2012, 05:27 #9
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,038
See Post #2 above ^^
Also make sure you have enough free Disk Space df -h
-
20-06-2012, 05:42 #10
-= TeamSpeak User =-
- Join Date
- Jun 2012
- Posts
- 7
I did it. Should i restart the TS server and see if there is any issues now?
Also, here is the print from the disk space:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 671G 35G 603G 6% /
none 3.9G 188K 3.9G 1% /dev
none 4.0G 84K 4.0G 1% /dev/shm
none 4.0G 196K 4.0G 1% /var/run
none 4.0G 0 4.0G 0% /var/lock
none 4.0G 0 4.0G 0% /lib/init/rw
/home/james/.Private 671G 35G 603G 6% /home/james
-
21-06-2012, 03:01 #11
-= TeamSpeak User =-
- Join Date
- Jun 2012
- Posts
- 7
I figured out there was no .ini and i created one. Here is some of the errors from the last 24 hours:
I hope this helps you solve my problem.2012-06-21 01:36:15.459905|ERROR |DatabaseQuery | | db_exec failed disk I/O error
2012-06-21 01:36:15.460233|ERROR |DatabaseQuery | | db_exec() update clients set client_lastconnected=1340242575, client_totalconnec error: disk I/O error
2012-06-21 01:36:15.460371|CRITICAL|DatabaseQuery | | Assertion "error == ERROR_ok" failed at server/serverlib/database/db_database.cpp:113;
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
ERROR |PktHandler - server killed
By Slater in forum Bug ReportsReplies: 10Last Post: 07-11-2011, 08:28 -
TS3-Server crashes by leaving putty
By Jennifer_Anson in forum Linux / FreeBSDReplies: 4Last Post: 22-09-2010, 14:26 -
Cannot connect to Virtual Server and Putty.
By Zitrone in forum WindowsReplies: 6Last Post: 29-12-2009, 12:30 -
Server über putty starten
By Mafa in forum [TeamSpeak 2] Server SupportReplies: 7Last Post: 01-05-2003, 17:47


Reply With Quote
