Community Forums Today's Posts     Member List     Archive    
Page 15 of 16 FirstFirst ... 513141516 LastLast
Results 211 to 225 of 236
  1. #211
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    11
    add linux_enable="YES" to your rc.conf and restart the box. Apart from that you need to check if the server_linux binary is set as a linux binary file using the brandelf command.

  2. #212
    Join Date
    May 2006
    Location
    Russia
    Posts
    3

    autorun problem

    FreeBSD 5.4 Release.
    (I'm speak Eng. very bad - sorry) There is "ts - run scriipt" in /etc/rc.d directory, but after server reboot(manualy or power loss) - tsserver not start. After then, I'm logon manualy by SSH(and 'su' mode) and write "/etc/rc.d/ts start" and tsserver UP! 8(
    ts (run script) listing
    #!/bin/sh -
    # Copyright (c) 2002 TeamSpeak team All rights reserved.
    #
    # Author: Niels Werensteijn 2002
    #

    case "$1" in
    start)
    cd /usr/local/lib/teamspeak_server/; ./server_linux
    ;;
    stop)
    killall -9 server_linux
    ;;
    restart)
    $0 stop && $0 start || return=$rc_failed
    ;;
    *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
    esac
    exit 0

    ps. where is my mistake?

  3. #213
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    11
    add linux_enable="YES" to your rc.conf and restart the box.

    Quote Originally Posted by doctornkz
    FreeBSD 5.4 Release.
    (I'm speak Eng. very bad - sorry) There is "ts - run scriipt" in /etc/rc.d directory, but after server reboot(manualy or power loss) - tsserver not start. After then, I'm logon manualy by SSH(and 'su' mode) and write "/etc/rc.d/ts start" and tsserver UP! 8(
    ts (run script) listing
    #!/bin/sh -
    # Copyright (c) 2002 TeamSpeak team All rights reserved.
    #
    # Author: Niels Werensteijn 2002
    #

    case "$1" in
    start)
    cd /usr/local/lib/teamspeak_server/; ./server_linux
    ;;
    stop)
    killall -9 server_linux
    ;;
    restart)
    $0 stop && $0 start || return=$rc_failed
    ;;
    *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
    esac
    exit 0

    ps. where is my mistake?

  4. #214
    Join Date
    May 2006
    Location
    Russia
    Posts
    3
    Quote Originally Posted by Valutus
    add linux_enable="YES" to your rc.conf and restart the box.
    this option already has been.... I checked this before wrote about my problem.... Have U other way for solve it?

  5. #215
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    11
    try this script:

    #!/bin/sh
    #
    # Start/stop the TeamSpeak 2 server
    #

    TSHOME=/usr/local/lib/teamspeak_server
    PIDFILE=${TSHOME}/server.pid

    cd "$TSHOME"

    case "$1" in
    start)
    su -fm teamspeak -c './server_linux >/dev/null' && echo -n ' teamspeak_server'
    ;;
    stop)
    kill -TERM `cat "$PIDFILE"`
    ;;
    restart)
    $0 stop
    echo 5 second pause before restart. . .
    sleep 5
    $0 start
    ;;
    *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
    esac
    exit 0

  6. #216
    Join Date
    May 2006
    Location
    Russia
    Posts
    3
    LOL. Im lamo 8( run script must be in /usr/local/etc/rc.d or not in ./etc/rc.d 8( all right now. TNX&SORRY

  7. #217
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    11
    haha, linux users

  8. #218
    Join Date
    May 2006
    Location
    Sweden
    Posts
    2

    Server starts fine, Webinterface does not

    What would be the problem if the server starts fine, but the webinterface does not?

    Kinda annoying having no way to administer the server... really.

  9. #219
    Join Date
    Apr 2004
    Location
    Australia
    Posts
    11
    You installed TS from the ports ? You need to provide more information about your setup or we cant help

  10. #220
    Bastian Guest

  11. #221
    Join Date
    May 2006
    Location
    Sweden
    Posts
    2
    Quote Originally Posted by Valutus
    You installed TS from the ports ? You need to provide more information about your setup or we cant help
    Yes, ports.
    The 2 variations I could come up with are these...

    [19:07][root@obaasan local/lib/teamspeak_server]% ./server_linux
    Error starting daemon. Aborted

    [19:08][root@obaasan local/lib/teamspeak_server]% sockstat -4 | grep server
    root server_lin 33936 19 udp4 *:8767 *:*
    root server_lin 33935 19 udp4 *:8767 *:*
    root server_lin 33934 19 udp4 *:8767 *:*
    root server_lin 33933 19 udp4 *:8767 *:*
    root server_lin 33932 19 udp4 *:8767 *:*
    root server_lin 33931 19 udp4 *:8767 *:*

    No tcpquery port open or webinterface ports.

    Both 14534 and 51234 are "free" and not currently in use when the server is started.

    If I change
    HTTPServer Enabled=1
    to
    HTTPServer Enabled=0

    [19:10][root@obaasan local/lib/teamspeak_server]% ./server_linux
    TeamSpeak Server Daemon started with PID 34157
    [19:10][root@obaasan local/lib/teamspeak_server]% sockstat -4 | grep server
    root server_lin 34163 19 udp4 *:8767 *:*
    root server_lin 34163 22 tcp4 *:51234 *:*
    root server_lin 34162 19 udp4 *:8767 *:*
    root server_lin 34162 22 tcp4 *:51234 *:*
    root server_lin 34161 19 udp4 *:8767 *:*
    root server_lin 34161 22 tcp4 *:51234 *:*
    root server_lin 34160 19 udp4 *:8767 *:*
    root server_lin 34160 22 tcp4 *:51234 *:*
    root server_lin 34159 19 udp4 *:8767 *:*
    root server_lin 34159 22 tcp4 *:51234 *:*
    root server_lin 34158 19 udp4 *:8767 *:*
    root server_lin 34158 22 tcp4 *:51234 *:*
    root server_lin 34157 19 udp4 *:8767 *:*
    root server_lin 34157 22 tcp4 *:51234 *:*

    It starts both the servers, and the tcpquery stuff.

    Why would it have a problem initializing the webinterface?
    Tried a straight up install of 6.1 in VMware and then cvsup of ports, and "make install" of teamspeak there, so the port itself is ok, there is something off on my setup...

    No firewall in place either (behind NAT, both the Vmware 6.1 box and the current one, 5.3)

  12. #222
    Join Date
    Jul 2006
    Location
    West Coast
    Posts
    4

    Hang while starting server

    On FreeBSD 6.0 Release

    Installed port http://www.freshports.org/audio/teamspeak_server

    kldstat returns
    Id Refs Address Size Name
    1 8 0xc0400000 3c073c kernel
    2 1 0xc07c1000 2364 accf_http.ko
    3 16 0xc07c4000 568dc acpi.ko
    4 1 0xc3b89000 15000 linux.ko

    Linux Binary Compatibilty is installed and on

    fomr pkg_info
    linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386)
    linux_base-rh-7.3 Basic packages for Linux mode from Red Hat 7.3/i386

    I found the trouble while typing this post. TS2 appears to require /bin/bash
    so method ot fix is
    whereis bash
    cd to the ports dir
    make install clean
    ln -s /usr/local/bin/bash /bin/bash


    now lets see if i can figure out the rest of this mess

  13. #223
    Join Date
    Jul 2006
    Location
    West Coast
    Posts
    4
    the issue is that the server seems to hang on launch

    > sh ./teamspeak2-server_startscript start
    starting the teamspeak2 server

    and then it'll hang around for eternity. Installing on a non-SMP box to see if that has anything to do w/ it.

  14. #224
    Join Date
    Jul 2006
    Location
    West Coast
    Posts
    4
    On a non-smp kernel the server starts up no problem.

    /me goes to look for linux smp issues in team speak.

  15. #225
    Join Date
    Jul 2006
    Location
    West Coast
    Posts
    4
    on cpu 3 from top
    51523 root 1 20 0 5888K 2144K pause 0 0:00 0.00% server_linux
    51522 root 1 8 0 1632K 1192K wait 3 0:00 0.00% sh

    Is there any logging going on that i can look at???

    EDIT: pasted a suspended proc instead of an active one :P

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. TeamSpeak server on FreeBSD - Getting it done quick
    By Kordau in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 07-08-2008, 22:47
  2. Teamspeak2 für FreeBSD amd64
    By CRAZyBUg in forum [TeamSpeak 2] General Questions
    Replies: 1
    Last Post: 12-09-2007, 20:10
  3. FreeBSD 6.0, latest TS2 -- cannot play AND use TS.
    By bsduser in forum [TeamSpeak 2] Client Support
    Replies: 1
    Last Post: 29-03-2006, 17:00
  4. FreeBSD Support
    By Degas in forum [TeamSpeak 2] General Questions
    Replies: 1
    Last Post: 31-10-2004, 05:15
  5. FreeBSD 5.1 microphone/speakers muted
    By curt in forum [TeamSpeak 2] Client Support
    Replies: 1
    Last Post: 16-06-2003, 01:25

Posting Permissions

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