Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 15 of 15
  1. #1
    Join Date
    February 2013
    Posts
    8

    CentOS: Server running but unable to connect

    try as i might i am unable to get connected to the server, i am at the point now where i am completely unsure what the problem is.

    I've setup a virtual server account on my dedicated server (webmin/virtualmin) to run ts on, telnet in to the shell for the virtual server and setup the server as per the quick setup guide, run the server, everything fine without error. Try to connect, unable. so i check if the ports are listening with netstat:

    Code:
    tcp        0      0 0.0.0.0:30033               0.0.0.0:*                   LISTEN      7023/./ts3server_li
    tcp        0      0 0.0.0.0:10011               0.0.0.0:*                   LISTEN      7023/./ts3server_li
    udp        0      0 0.0.0.0:9987                0.0.0.0:*                               7023/./ts3server_li
    Seems fine.
    I check the log file and it doesn't even show attempts to connect to the server so its like its not even getting through. what am i missing?

    im no unix expert, i have this server for hosting and get by with the limited unix i know and google the rest, however this has me stumped.

  2. #2
    Join Date
    September 2012
    Posts
    6,079
    Make sure the connection gets correctly routed into the virtual machine you set up. If there are multiple IP addresses you might try one of the others or force the TeamSpeak server to use a specific ip only.

  3. #3
    Join Date
    February 2013
    Posts
    8
    The server only uses one ip.

    When you say routing the connection do you mean with the likes of iptables in unix? i had checked that but that doesnt seem to be in use at all yet there are several domains running off this machine already getting routed to the right virtual machine so im not sure what im missing here.

    edit://
    added output of iptables
    Code:
    $ /sbin/iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    edit://
    The domain forwards to the right virtual machine, as going to the address in the browser takes you to the apache server running on the same virtual machine
    Last edited by Glotty; February 15th, 2013 at 10:52 PM. Reason: extra information.

  4. #4
    Join Date
    February 2013
    Posts
    8
    I would really appreciate further input, the log files don't show any errors, as far as the server side is concerned the server is running there just seems to be an issue connecting, i cant connect via query etc

    i'm at a loss as to what is wrong and could really do with some help

  5. #5
    Join Date
    December 2010
    Location
    United Kingdom
    Posts
    340
    Hello !

    same problem was resolved by me when my friend had same problem like yours, have OS: Centos but i installed to him version 3.0.7 Beta version from 24.10.2012 Teamsepak 3 and work well, but i prefer use the OS: Debian Squeeze 6.0 with teamspeak 3, i don't know why the 3.0.6.1 doesn't work with Centos.

  6. #6
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    Quote Originally Posted by hunterpl View Post
    same problem was resolved by me when my friend had same problem like yours, have OS: Centos but i installed to him version 3.0.7 Beta version from 24.10.2012 Teamsepak 3 and work well, but i prefer use the OS: Debian Squeeze 6.0 with teamspeak 3, i don't know why the 3.0.6.1 doesn't work with Centos.
    You can't say that teamspeak 3.0.6.1 does not like CentOS. I've a teamspeak 3.0.6.1 server running for more than 200 day uptime like a charm with no problems on CentOS 5.9...

  7. #7
    Join Date
    February 2013
    Posts
    8
    im running CentOs 5.8 just so you guys know, and im not in a position to change it, if there is any other information that can help just let me know.

  8. #8
    Join Date
    December 2010
    Location
    United Kingdom
    Posts
    340
    if work on Centos 5.9 so Glotty just update to 5.9 that's all

  9. #9
    Join Date
    February 2013
    Posts
    8
    as i said, im unable to update the OS, there are other sites running off this machine and they cannot have downtime, in particular just so i can setup a ts server. There must be a way of getting it to work on 5.8

    Frankly im that frustrated by this id be willing to give someone access to the virtual machine this is on to have a look and see if they can spot the problem, but i wont be able to give root (as i said before there are other sites/VM's on this machine.

  10. #10
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    My teamspeak is running on the same server since CentOS 5.6... I've updated it live to 5.7, to 5.8 and finally to 5.9... all the time teamspean worked without any issues.

  11. #11
    Join Date
    February 2013
    Posts
    8
    Quote Originally Posted by Barungar View Post
    My teamspeak is running on the same server since CentOS 5.6... I've updated it live to 5.7, to 5.8 and finally to 5.9... all the time teamspean worked without any issues.
    Well its good to know it will work on 5.8 but i just cant get it to

  12. #12
    Join Date
    February 2013
    Posts
    8
    upon checking with a port scanner the ports do appear to be closed, i will try adding a rule to iptables see if that sorts it and will report back

    edit//:

    Ok that did nothing as iptables is not even running, what else could be blocking the ports?

    edit//:

    deleting server and starting fresh with default settings and i have port 10011 showing as listening
    Code:
    tcp        0      0 *:10011                     *:*                         LISTEN
    however a port scan shows it as being closed, somebody with more knowledge of unix please help

    edit//:

    ive just noticed something in the log file, it appears after a certain amount of time and i dont believe it is triggered by any activity im doing as i have not tried to connect to the ts server at all

    Code:
    2013-02-20 22:18:51.709848|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.6.1 (2012-06-29 07:59:05)
    2013-02-20 22:18:51.710290|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2013-02-20 22:18:51.710345|INFO    |DatabaseQuery |   | dbPlugin version: 3.7.3
    2013-02-20 22:18:51.710746|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2013-02-20 22:18:51.766421|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
    2013-02-20 22:18:51.798434|INFO    |FileManager   |   | listening on 0.0.0.0:30033
    2013-02-20 22:18:51.859294|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1, ***.***.***.***,
    2013-02-20 22:18:51.859539|INFO    |Query         |   | listening on 0.0.0.0:10011
    2013-02-20 22:23:53.000035|ERROR   |              |   | TS3ANetwork::Send failed error: 111
    2013-02-20 22:23:55.000014|ERROR   |              |   | TS3ANetwork::Send failed error: 111
    the last two lines are what appear.
    Last edited by Glotty; February 20th, 2013 at 11:44 PM.

  13. #13
    Join Date
    September 2012
    Posts
    6,079
    that's the server telling you that it cannot contact the TeamSpeak weblist server, which shouldn't happen unless ports / communication are/is blocked.
    Error 111 is connection refused, so apparently some firewall is blocking connections to the weblist server.

  14. #14
    Join Date
    February 2013
    Posts
    8
    Quote Originally Posted by Chris View Post
    that's the server telling you that it cannot contact the TeamSpeak weblist server, which shouldn't happen unless ports / communication are/is blocked.
    Error 111 is connection refused, so apparently some firewall is blocking connections to the weblist server.
    Is there any way of finding out what is blocking the ports if it is not iptables?

  15. #15
    Join Date
    October 2013
    Posts
    5
    CentOS have a default firewall activated...
    Deactivate the fw and run your TS3 Server:

    # service iptables save
    # service iptables stop
    # chkconfig iptables off

    Greetings

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Resolved] Issues connecting to a running server. CentOS
    By Morthawt in forum Linux / FreeBSD
    Replies: 9
    Last Post: July 25th, 2012, 11:53 AM
  2. [Resolved] Error starting server on vps running centos 5
    By Samkitz in forum Linux / FreeBSD
    Replies: 1
    Last Post: July 24th, 2012, 11:51 PM
  3. TS3 -> Error on running server on CentOS
    By KevinsL in forum Linux
    Replies: 8
    Last Post: June 28th, 2011, 08:30 PM
  4. Problem running TS3 on Centos vps
    By some_user in forum Linux / FreeBSD
    Replies: 22
    Last Post: January 26th, 2010, 04:34 PM
  5. Server running client unable to connect
    By erolz in forum Linux / FreeBSD
    Replies: 2
    Last Post: January 16th, 2010, 11:56 AM

Posting Permissions

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