Community Forums Today's Posts     Member List     Archive    
Results 1 to 12 of 12

Thread: RPM available

  1. #1
    Join Date
    Jun 2002
    Location
    Northern California
    Posts
    351

    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.

  2. #2
    Join Date
    Jun 2002
    Location
    Northern California
    Posts
    351
    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".

  3. #3
    Join Date
    Jun 2002
    Location
    Northern California
    Posts
    351
    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.)

  4. #4
    Join Date
    Aug 2002
    Location
    Silicon Valley
    Posts
    45
    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

  5. #5
    Join Date
    Jun 2002
    Location
    Northern California
    Posts
    351
    [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.)

  6. #6
    Join Date
    Aug 2002
    Location
    Silicon Valley
    Posts
    45
    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

  7. #7
    Join Date
    Aug 2002
    Location
    Silicon Valley
    Posts
    45
    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

  8. #8
    Join Date
    Jun 2002
    Location
    Northern California
    Posts
    351
    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.

  9. #9
    Join Date
    Jun 2002
    Location
    Northern California
    Posts
    351
    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

  10. #10
    Join Date
    Oct 2003
    Location
    NorCal
    Posts
    2
    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.

  11. #11
    r0dman Guest
    need to login to your ftp to download it???

  12. #12
    Join Date
    Jun 2003
    Posts
    246
    *bump*
    yes, this is something we need as well...

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 SME 7.x (RPM)
    By cool34 in forum [TeamSpeak 2] Server Support
    Replies: 0
    Last Post: 07-06-2007, 10:22
  2. Seg Faults, setarch doesn't help
    By Steddyj in forum [TeamSpeak 2] Server Support
    Replies: 31
    Last Post: 23-08-2006, 21:08
  3. Installation on SUSE 10.0 OSS
    By 'Matt in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 24-12-2005, 18:47
  4. System crahses for Team Speack
    By ek112 in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 28-10-2005, 15:11
  5. RC2 & FreeBSD & SQLite = Error starting daemon. Aborted
    By bbs in forum [TeamSpeak 2] Server Support
    Replies: 82
    Last Post: 22-03-2003, 17:28

Posting Permissions

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