Community Forums Today's Posts     Member List     Archive    
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2009
    Location
    Canada
    Posts
    6

    Could Not Bind Socket (CentOS v5)

    I have created 4 servers through the webadmin panel but after I start 3 of them I get an error saying that the server was NOT started. I tried to restart the whole server via the startscript but then I get a deamon error. In the server logs I find the following:

    ---------------------------------------------------------------
    -------------- log started at 12-06-09 08:01 -------------
    ---------------------------------------------------------------
    12-06-09 08:01:38,ALL,Info,server, Server init initialized
    12-06-09 08:01:38,ALL,Info,server, Server version: 2.0.23.19 Linux
    12-06-09 08:01:38,ALL,Info,server, Starting VirtualServer id:1 with port:8767
    12-06-09 08:01:38,ERROR,All,SERVER, VirtualServer startup failed with port 8767, Exception: EIdCouldNotBindSocket.Could not bind socket. Address and port are already in use.
    12-06-09 08:01:40,ALL,Info,server, Starting VirtualServer id:2 with port:8769
    12-06-09 08:01:40,ERROR,All,SERVER, VirtualServer startup failed with port 8769, Exception: EIdCouldNotBindSocket.Could not bind socket. Address and port are already in use.
    12-06-09 08:01:43,ALL,Info,server, Starting VirtualServer id:3 with port:8770
    12-06-09 08:01:43,ERROR,All,SERVER, VirtualServer startup failed with port 8770, Exception: EIdCouldNotBindSocket.Could not bind socket. Address and port are already in use.
    12-06-09 08:01:45,ALL,Info,server, Starting VirtualServer id:4 with port:8771
    12-06-09 08:01:45,ERROR,All,SERVER, VirtualServer startup failed with port 8771, Exception: EIdCouldNotBindSocket.Could not bind socket. Address and port are already in use.
    12-06-09 08:01:47,ALL,Info,server, Starting VirtualServer id:5 with port:8772
    12-06-09 08:01:47,ERROR,All,SERVER, VirtualServer startup failed with port 8772, Exception: EIdCouldNotBindSocket.Could not bind socket. Address and port are already in use.
    ----------------------------------------------------------
    ---------------------------------------------------------------
    --------------- log ended at 12-06-09 08:01 --------------
    ---------------------------------------------------------------
    12-06-09 08:01:49,ERROR,All,WEBINTERFACE, WebInterface startup failed with port 14534, Exception:Could not bind socket. Address and port are already in use.
    12-06-09 08:01:49,ALL,Info,server, Server init finished
    12-06-09 08:01:49,WARNING,Info,server, TeamSpeak Server daemon activated


    Any ideas on how I can go about fixing this? The last time I fixed it I just re-installed the server but then I just ran into the same problems after tryign to start the servers after remaking them.

  2. #2
    Join Date
    Jun 2003
    Posts
    246
    It could be possible that you have another server instance already running and that is what is holding the ports. Search your process list and kill any old server processes and try again.

  3. #3
    Join Date
    Jun 2009
    Location
    Canada
    Posts
    6
    Quote Originally Posted by maggy View Post
    It could be possible that you have another server instance already running and that is what is holding the ports. Search your process list and kill any old server processes and try again.
    I have tried that and have been able to reinstall teamspeak anew and able to start 3 servers but as soon as i start the 4th the whole thing crashes and i start getting that error.

  4. #4
    Join Date
    May 2006
    Location
    Europe/Czech Rep.
    Posts
    1,299

    result?

    I imagine this might sound stupid but
    netstat -n -l
    Last edited by Tomas; 13-06-2009 at 19:18.

  5. #5
    Join Date
    Jun 2009
    Location
    Canada
    Posts
    6
    Quote Originally Posted by Tomas View Post
    I imagine this might sound stupid but
    Not sure what that was suppose to do but here are the results:

    Code:
    # netstat -n -l
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             Stat              e
    tcp        0      0 0.0.0.0:2082                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:2083                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:2086                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:2087                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:28266               0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:2095                0.0.0.0:*                   LIST              EN
    tcp        0      0 127.0.0.1:783               0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:2096                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:8081                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LIST              EN
    tcp        0      0 174.137.51.222:53           0.0.0.0:*                   LIST              EN
    tcp        0      0 174.137.51.221:53           0.0.0.0:*                   LIST              EN
    tcp        0      0 174.137.51.220:53           0.0.0.0:*                   LIST              EN
    tcp        0      0 174.137.51.219:53           0.0.0.0:*                   LIST              EN
    tcp        0      0 174.137.51.218:53           0.0.0.0:*                   LIST              EN
    tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LIST              EN
    tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:7994                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:26                  0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:7995                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:2077                0.0.0.0:*                   LIST              EN
    tcp        0      0 0.0.0.0:2078                0.0.0.0:*                   LIST              EN
    tcp        0      0 :::993                      :::*                        LIST              EN
    tcp        0      0 :::995                      :::*                        LIST              EN
    tcp        0      0 :::110                      :::*                        LIST              EN
    tcp        0      0 :::143                      :::*                        LIST              EN
    tcp        0      0 :::465                      :::*                        LIST              EN
    tcp        0      0 :::21                       :::*                        LIST              EN
    tcp        0      0 :::22                       :::*                        LIST              EN
    tcp        0      0 :::25                       :::*                        LIST              EN
    tcp        0      0 :::26                       :::*                        LIST              EN
    udp        0      0 0.0.0.0:17421               0.0.0.0:*                                     
    udp        0      0 174.137.51.222:53           0.0.0.0:*                                     
    udp        0      0 174.137.51.221:53           0.0.0.0:*                                     
    udp        0      0 174.137.51.220:53           0.0.0.0:*                                     
    udp        0      0 174.137.51.219:53           0.0.0.0:*                                     
    udp        0      0 174.137.51.218:53           0.0.0.0:*                                     
    udp        0      0 127.0.0.1:53                0.0.0.0:*                                     
    udp        0      0 :::29296                    :::*                                          
    Active UNIX domain sockets (only servers)
    Proto RefCnt Flags       Type       State         I-Node Path
    unix  2      [ ACC ]     STREAM     LISTENING     7063   /var/spool/authdaemon/s              ocket.tmp
    unix  2      [ ACC ]     STREAM     LISTENING     7444   /var/lib/mysql/mysql.so              ck
    unix  2      [ ACC ]     STREAM     LISTENING     6644   /var/run/audispd_events
    unix  2      [ ACC ]     STREAM     LISTENING     6983   /var/run/setrans/.setra              ns-unix
    unix  2      [ ACC ]     STREAM     LISTENING     7069   /var/run/dbus/system_bu              s_socket
    unix  2      [ ACC ]     STREAM     LISTENING     11533  @/var/run/hald/dbus-CIO              equI3qp
    unix  2      [ ACC ]     STREAM     LISTENING     7269   /var/run/acpid.socket
    unix  2      [ ACC ]     STREAM     LISTENING     9045   /usr/local/apache/logs/              fpcgisock
    unix  2      [ ACC ]     STREAM     LISTENING     9109   /var/run/ftpd.sock
    unix  2      [ ACC ]     STREAM     LISTENING     10300  /var/run/cphulkd.sock
    unix  2      [ ACC ]     STREAM     LISTENING     11534  @/var/run/hald/dbus-5hB

  6. #6
    Join Date
    May 2006
    Location
    Europe/Czech Rep.
    Posts
    1,299
    that command should print all used ports by that machine the one I gave you is for listening ports mainly
    -a
    should print all I think
    -n
    will not gonna translate IPs and ports with DNS etc it can slow the ouput to minutes...
    -l
    listening


    well from the one you posted it should start up.... might some other app connecting from a port?? even thru its more like not possible.

    remove the output from netstat in previous post.
    I could say what services are running there what DNS you use ....

    yea well next time I should say what you should get heh. my bad. was thinking you would know.
    you have IPv6? O

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help Please
    By Asudragon in forum [TeamSpeak 2] Client Support
    Replies: 13
    Last Post: 17-10-2007, 19:16
  2. Unable to bind socket 8767
    By trl1986 in forum [TeamSpeak 2] Server Support
    Replies: 5
    Last Post: 22-01-2007, 17:44
  3. Socket Error # 10013
    By jjanus in forum [TeamSpeak 2] Client Support
    Replies: 2
    Last Post: 19-11-2004, 18:16

Posting Permissions

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