English   German
  #1  
Old 28-08-2002, 18:07
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
RPM available

I've created an RPM (and matching SRPM) for 2.0.17.17:

ftp://ftp.matureasskickers.net/pub/TeamSpeak/ts2/

Please report feedback here.

Note that the restart option doesn't work properly at this time because the process killer in the initscript library doesn't wait for the server to completely exit. Hopefully Ralf can help with that. I think the problem is that the parent exits before all the children are dead, and the killproc function only waits for the process listed in the PID file to die. An alternative is to list all the child PID's in the PID file. I think the killproc function can handle multiple PID's in the file.
Reply With Quote
  #2  
Old 28-08-2002, 18:10
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
BTW, to start the server, run "service tss2 start". To make the server start at boot time, use chkconfig or ntsysv to add the service to your default runlevel.

The program has been renamed to /usr/bin/tss2. It runs as user "nobody" with the working directory set to /etc/tss2, and the server.ini and server.db files are kept there. It logs to /var/log/tss2.

Since the server.db file contains passwords, it is set readable only by user "nobody".
Reply With Quote
  #3  
Old 28-08-2002, 18:15
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
Crap. Looks like you need to delete the initial server.db file as the latest server binary is not regenerating it if it's present but zero size. (I generate an empty one in the RPM so that it will be recorded in the RPM database as a do-not-replace config file. There's another way to do that, and I'll work that in in the next release.)
Reply With Quote
  #4  
Old 29-08-2002, 08:34
Bones_taw Bones_taw is offline
-= TeamSpeak Lover =-
 
Join Date: Aug 2002
Location: Silicon Valley
Posts: 44
Bones_taw is on a distinguished road
Hi,
thanks for making RPM.

Here is what happened to me:

I'm running mandrake 8.1 on P133
I installed binary

Looked ok.
When I start service, I get...
[root@robin tss2]# service tss2 start
Starting TeamSpeak service: Error stating daemon. Aborted
[FAILED]
[root@robin tss2]#

I can connect to TSS2 ok. Howevery admin page won't load. In login file, I see....
28-08-02 16:22:30,ALL,Info,server, Server startup finished
28-08-02 16:22:30,WARNING,Info,server, TeamSpeak Server daemon activated
28-08-02 16:24:39,WARNING,Info,WEBINTERFACE, File not found: /httpdocs/index.
html
28-08-02 16:24:46,WARNING,Info,WEBINTERFACE, File not found: /httpdocs/index.
html
28-08-02 16:24:53,WARNING,Info,WEBINTERFACE, File not found: /httpdocs/index.
html
28-08-02 16:29:46,ERROR,All,WEBINTERFACE, OnException Exception: Connectio
n Closed Gracefully.
28-08-02 16:30:46,,,server, Server shutdown initialized
28-08-02 16:30:54,,,server, Server shutdown finished

Any ideas?

tia

Bones
Reply With Quote
  #5  
Old 29-08-2002, 16:43
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
[em]28-08-02 16:24:39,WARNING,Info,WEBINTERFACE, File not found: /httpdocs/index.
html[/em]

That's curious. That suggests that it's trying to start the server while in the root directory. The httpdocs are installed in /etc/tss2/httpdocs.

The initscript starts the server by using the initscript library function "daemon". This is defined in the file /etc/rc.d/init.d/functions. On Red Hat, this doesn't change directories. Does it change directories on Mandrake?

(I've requested that the devs give me another command line switch to deal with this situation, allowing me to tell tss2 where to find the httpdocs directory.)
Reply With Quote
  #6  
Old 30-08-2002, 07:40
Bones_taw Bones_taw is offline
-= TeamSpeak Lover =-
 
Join Date: Aug 2002
Location: Silicon Valley
Posts: 44
Bones_taw is on a distinguished road
I created a link to root dir now browser login works. I.e.

cd /
ln -s /etc/tss2/httpdocs httpdocs

I installed rpm on another computer with redhat 7.3.
I don't get the daemon error like on mandrake, but I still get the not found problem on httpdocs. Did workaround like link above.

Bones
Reply With Quote
  #7  
Old 31-08-2002, 02:35
Bones_taw Bones_taw is offline
-= TeamSpeak Lover =-
 
Join Date: Aug 2002
Location: Silicon Valley
Posts: 44
Bones_taw is on a distinguished road
Access to admin through web seems to die after a while.
I get messages like this one in the log file:

29-08-02 16:44:42,ERROR,All,WEBINTERFACE, OnException Exception: Connectio
n Closed Gracefully.

Any ideas?

Bones
Reply With Quote
  #8  
Old 31-08-2002, 23:36
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
The problem with httpdocs is weird. I built the RPM on RH7.3 so it shouldn't have a problem. In /etc/rc.d/init.d/tss2, there should be a line that cd's to /etc/tss2 just before starting the tss2 server. What version of initscripts do you have loaded? (I have initscripts-6.67-1. This provides the /etc/rc.d/init.d/functions library.)

The webadmin crash is a known problem and not related to the RPM packaging. Check the Linux server forums for more help on that.
Reply With Quote
  #9  
Old 26-10-2002, 22:50
ScratchMonkey ScratchMonkey is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2002
Location: Northern California
Posts: 350
ScratchMonkey is on a distinguished road
I've got a new RPM with the latest tss2 server and a tweaked initscript.

The new script uses a helper script to get the working directory right so that httpdocs will be found. Apparently there's something weird in the "daemon" function supplied for initscripts that resets the working directory to "/" if the server is run as a specific user (ie. nobody) so I use a helper script to set the working directory to /etc/tss2.

I also now permit an optional sysconfig file, /etc/sysconfig/tss2. For now the only useful thing to put in this file is a line like this to force the admin password in case the db file gets lost:

TSS2ARGS="-ADMINPW=secret"

The new RPM's (source and binary) are here:

ftp://ftp.matureasskickers.net/pub/TeamSpeak/ts2
Reply With Quote
  #10  
Old 06-06-2004, 06:16
nicotine nicotine is offline
-= TeamSpeak User =-
 
Join Date: Oct 2003
Location: NorCal
Posts: 2
nicotine is on a distinguished road
when will you release a new RPM of 2.0.20.1? and I am unable to find any of your previous releases at the two mentioned urls.
Reply With Quote
  #11  
Old 09-06-2004, 02:28
r0dman
Guest
 
Posts: n/a
need to login to your ftp to download it???
Reply With Quote
  #12  
Old 10-06-2004, 00:33
maggy maggy is offline
-= TeamSpeak Addict =-
 
Join Date: Jun 2003
Location: na
Posts: 145
maggy has a spectacular aura aboutmaggy has a spectacular aura aboutmaggy has a spectacular aura about
*bump*
yes, this is something we need as well...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:50.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices