Results 211 to 225 of 236
Thread: FreeBSD guide to TeamSpeak2_RC2
-
21-04-2006, 15:24 #211
-= TeamSpeak User =-
- 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.
-
17-05-2006, 02:53 #212
-= TeamSpeak User =-
- 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?
-
17-05-2006, 04:34 #213
-= TeamSpeak User =-
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 11
add linux_enable="YES" to your rc.conf and restart the box.
Originally Posted by doctornkz
-
17-05-2006, 05:20 #214
-= TeamSpeak User =-
- Join Date
- May 2006
- Location
- Russia
- Posts
- 3
this option already has been.... I checked this before wrote about my problem.... Have U other way for solve it?
Originally Posted by Valutus
-
17-05-2006, 06:44 #215
-= TeamSpeak User =-
- 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
-
17-05-2006, 08:00 #216
-= TeamSpeak User =-
- 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
-
17-05-2006, 08:01 #217
-= TeamSpeak User =-
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 11
haha, linux users
-
22-05-2006, 23:29 #218
-= TeamSpeak User =-
- 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.
-
22-05-2006, 23:54 #219
-= TeamSpeak User =-
- 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
-
23-05-2006, 07:27 #220Bastian Guest
-
08-06-2006, 18:14 #221
-= TeamSpeak User =-
- Join Date
- May 2006
- Location
- Sweden
- Posts
- 2
Yes, ports.
Originally Posted by Valutus
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)
-
02-07-2006, 01:13 #222
-= TeamSpeak User =-
- 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
-
02-07-2006, 01:25 #223
-= TeamSpeak User =-
- 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.
-
02-07-2006, 01:34 #224
-= TeamSpeak User =-
- 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.
-
02-07-2006, 01:39 #225
-= TeamSpeak User =-
- 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
-
TeamSpeak server on FreeBSD - Getting it done quick
By Kordau in forum [TeamSpeak 2] Server SupportReplies: 2Last Post: 07-08-2008, 22:47 -
Teamspeak2 für FreeBSD amd64
By CRAZyBUg in forum [TeamSpeak 2] General QuestionsReplies: 1Last Post: 12-09-2007, 20:10 -
FreeBSD 6.0, latest TS2 -- cannot play AND use TS.
By bsduser in forum [TeamSpeak 2] Client SupportReplies: 1Last Post: 29-03-2006, 17:00 -
FreeBSD Support
By Degas in forum [TeamSpeak 2] General QuestionsReplies: 1Last Post: 31-10-2004, 05:15 -
FreeBSD 5.1 microphone/speakers muted
By curt in forum [TeamSpeak 2] Client SupportReplies: 1Last Post: 16-06-2003, 01:25


Reply With Quote