Community Forums Today's Posts     Member List     Archive    
Results 1 to 12 of 12
  1. #1
    Join Date
    Apr 2011
    Posts
    19

    Solved Teamspeak Server Update, failed to connect, no errors in logs.

    I've been running my teamspeak server for a little over a year now. I use Bluehost (AMD 64) and connect to the server using putty. I tried upgrading the server a few months ago but the database corrupted and I didn't try again until this morning; the same thing happened, and I wasn't able to connect to the TS server anymore, but this time I did remember to back up my old server files. However, even after downgrading again, I still can't connect to my teamspeak server.

    I'm not getting any reports of errors in my logs-- I'm not really getting anything in my logs (just to make sure, I deleted all of them and teamspeak hasn't created a new one since). The last update was a sigterm (which my host sends out automatically), and that was right before I updated.

    If anyone could help, my users and I would greatly appreciate it. I'd also like to mention that I know *very* little about the way a teamspeak server works; I had to follow a step by step guide just to get it set up. Please treat me like a two year old trying to learn mechanical physics.

    What I can say that might help:

    There is no issue with ports or firewalls. All of that was taken care of when I first started the server a year ago. This all started this morning after I attempted to upgrade, before that my server was working fine.

  2. #2
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    2,042
    You didn't tell us anything about what exactly you did in order to upgrade your Server.

    Without knowing what you tried or what you did exactly to reach the current state, we can only guess. Since upgrading a TS3 Server is a real easy and straightforward process it makes things even harder without knowing what you did (wrong).

  3. #3
    Join Date
    Apr 2011
    Posts
    19
    I backed up my server files from the previous version and then overwrote them with all of the files and folders in the update. So far, the only thing I can think of that could have gone wrong was that I didn't properly shut down my server before upgrading (the sigterm caused it to crash, and I figured since it was down anyway I would just go ahead and upgrade it). I'm pretty confident that the server wasn't running, though, since there wasn't a .pid file.

  4. #4
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    2,042
    .pid files don't really mean anything.
    If your Server was running during the Update it might've caused some issues.

    Did you download the file for the same architecture as your old server? (ie. 64bit)

    Please switch to the directory of your TS3 Server installation and post the output of
    Code:
    ls -alh
    as well as the output of
    Code:
    ps aux | grep ts3server

  5. #5
    Join Date
    Apr 2011
    Posts
    19
    Here was the result for lh -alh:


    drwxr-xr-x 8 dualityg dualityg 4.0K May 8 07:06 ./
    drwx--x--- 27 dualityg nobody 4.0K Mar 21 21:17 ../
    -rw-r--r-- 1 dualityg dualityg 37K May 8 06:34 CHANGELOG
    -rw-r--r-- 1 dualityg dualityg 24K May 8 06:34 LICENSE
    drwxr-xr-x 2 dualityg dualityg 4.0K May 14 2011 doc/
    drwx------ 3 dualityg dualityg 4.0K May 14 2011 files/
    -rwxrwxrwx 1 dualityg dualityg 213K May 8 06:34 libts3db_mysql.so*
    -rwxrwxrwx 1 dualityg dualityg 1.1M May 8 06:34 libts3db_sqlite3.so*
    -rw-r--r-- 1 dualityg dualityg 899 May 8 05:56 licensekey.dat
    drwxrw-rw- 2 dualityg dualityg 24K May 8 07:05 logs/
    -rw------- 1 dualityg dualityg 4.0K May 8 05:56 nohup.out
    -rw-r--r-- 1 dualityg dualityg 1 May 8 05:56 query_ip_blacklist.txt
    -rw-r--r-- 1 dualityg dualityg 10 May 8 05:56 query_ip_whitelist.txt
    -rw-r--r-- 1 dualityg dualityg 112 May 8 05:56 serverkey.dat
    drwxr-xr-x 2 dualityg dualityg 4.0K May 8 05:29 serverquerydocs/
    drwxr-xr-x 4 dualityg dualityg 4.0K May 8 05:30 sql/
    -rw-r--r-- 1 dualityg dualityg 8.1K May 8 05:56 ts3.log
    -rw-r--r-- 1 dualityg dualityg 5 May 8 07:06 ts3server.pid
    -rwxrwxrwx 1 dualityg dualityg 7.2M May 8 05:58 ts3server.sqlitedb*
    -rwxr-xr-x 1 dualityg dualityg 5.2M May 8 06:35 ts3server_linux_amd64*
    -rwxr-xr-x 1 dualityg dualityg 432 May 8 06:34 ts3server_minimal_runscript.sh*
    -rwxr-xr-x 1 dualityg dualityg 2.8K May 8 06:34 ts3server_startscript.sh*
    drwxr-xr-x 2 dualityg dualityg 4.0K Jun 15 2011 tsdns/


    And the result for ps aux | grep ts3server:

    dualityg 376 0.0 0.0 6368 648 pts/0 R+ 10:11 0:00 grep ts3server

  6. #6
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    2,042
    Your Server is not currently running!

    Switch to the Directory of your Server Installation and do
    Code:
    ./ts3server_startscript.sh start
    If you cannot connect to your server after you did that, please post the content of the latest Logfile (which you can find in ./logs)

  7. #7
    Join Date
    Apr 2011
    Posts
    19
    When I tried to start it, I got this message:

    ts3server.pid found, but no server running. Possibly your previously started server crashed
    Please view the logfile for details.

    I manually deleted the ts3server.pid and started the server again, but I still can't connect. Teamspeak did not create a log file.

    Edit: I'm not sure if this will help or not, since teamspeak isn't creating logs anymore, but this was the very last log I got-- it was either directly before or during the upgrade itself, since it came after the sigterm (when my server crashed, then I upgraded):


    Received signal SIGTERM, shutting down. <---At this point my TS server went down. The sigterm is sent out by my host every morning, there's usually a short down time and then I manually restart the server using the startscript. This time, I didn't restart it. I tried to upgrade it while I assumed the server was down. I do not have a script that automatically restarts my server.

    2012-05-08 10:57:00.628703|INFO |VirtualServer | 1| stopped
    2012-05-08 10:57:00.734713|ERROR |DatabaseQuery | | db_exec failed disk I/O error
    2012-05-08 10:57:00.734817|ERROR |DatabaseQuery | | db_exec() insert into log (server_id, log_timestamp, log_level, log_channel, log error: disk I/O error
    2012-05-08 10:57:00.746234|ERROR |DatabaseQuery | | db_exec failed disk I/O error
    2012-05-08 10:57:00.746303|ERROR |DatabaseQuery | | db_exec() delete from instance_properties where string_id = '' ; error: disk I/O error

    I get this error every morning so I'm not sure if it's even relevant, seeing as it's connected with the sigterm. But since this is the very last error I got, and it's what happened directly before the upgrade, maybe it will help.


    Edit 2: Also, I was upgrading from beta 30.
    Last edited by Aelle; 09-05-2012 at 04:20.

  8. #8
    Join Date
    May 2012
    Posts
    2
    I'm from Aelle's group-
    any help in resolving this would be greatly appreciated as at the moment we have no server at all. We have a sizable community that relies on this server daily and we'd rather not have to move to using Skype. We're hoping it's just a minor thing we've overlooked but unfortunately none of us are any more knowledgeable about the TS3 set-up then Aelle.

  9. #9
    Join Date
    Jun 2008
    Posts
    7,775
    It looks, like the database is broken. Have you tried, to start the server without that database?

    db_exec failed disk I/O error < This message shows, that the database could not be read or is not writeable.
    This can happen, when the file is brkne, or when the user (who starts the server) has no permissions, to read or write into that folder.
    ---------------------------------------------------------
    Please don't send me private messages with support questions as long I or someone else from Teamspeak Staff asked for it.
    Seriously > 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)

  10. #10
    Join Date
    Apr 2011
    Posts
    19
    You are correct, there is a problem with the database. I'm not sure how or when it happened, but my old database file was corrupted. I decided to do a completely fresh reinstall and everything worked fine, but then when I tried to restore my old database file to get back all of my previous settings and permissions, I was no longer able to connect. Which is a shame because that means we'll have to start over from scratch, but at least we have our server back.

  11. #11
    Join Date
    Jun 2008
    Posts
    7,775
    I'm sorry for you, but it's the worst case, that can happen, when a file gets written that often.
    ---------------------------------------------------------
    Please don't send me private messages with support questions as long I or someone else from Teamspeak Staff asked for it.
    Seriously > 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)

  12. #12
    Join Date
    Apr 2011
    Posts
    19
    Edit: Sorry about that, issue resolved.
    Last edited by Aelle; 10-05-2012 at 13:20.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. No Server Errors in Logs but can't connect
    By Tslinux in forum Linux / FreeBSD
    Replies: 2
    Last Post: 20-04-2012, 11:33
  2. Private messages logs, channel logs, server logs
    By tjyeee in forum [TeamSpeak 2] Client Support
    Replies: 0
    Last Post: 14-12-2011, 07:03
  3. After Update - Failed to connect to server.
    By Gabb1942 in forum Windows
    Replies: 0
    Last Post: 11-08-2011, 09:02
  4. Teamspeak 3 failed to connect PLEASE HELP!
    By pitbull999 in forum General Questions
    Replies: 2
    Last Post: 30-05-2011, 18:52
  5. server failed update
    By Assasen11 in forum Windows
    Replies: 7
    Last Post: 19-05-2011, 10:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •