Community Forums Today's Posts     Member List     Archive    
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2002
    Location
    Oz
    Posts
    15

    error starting TS2

    When I start my TS2 server on RedHat 7.2 I get this error

    Executing /etc/rc.d/init.d/tss2 start ..

    TeamSpeak Server Daemon started with PID 22987
    /server/websites/ghost-bear.net/tss2/server.ini: [Main: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: HTTPServer: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: HTTPServer: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: hh:nn:ss: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: [WebPost]: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: [server_cfg: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: Ghost: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: to: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: [Servers]: command not found
    /server/websites/ghost-bear.net/tss2/server.ini: 0=server_cfg: command not found
    This is my start Script
    PHP Code:
    #! /bin/bash
    # Copyright (c) 2002 TeamSpeak team   All rights reserved.
    #
    # Author: Niels Werensteijn 2002
    #

    case "$1" in
        start
    )
            /
    server/websites/ghost-bear.net/tss2/server_linux -PID=tsserver2.pid
            
    /server/websites/ghost-bear.net/tss2/server.db -DB=server.db
            
    /server/websites/ghost-bear.net/tss2/server.ini -INI=server.ini
            
    /server/websites/ghost-bear.net/tss2/server.log -LOG=server.log
        
    ;;
        
    stop)
            
    kill -TERM `cat tsserver2.pid`
        ;;
        
    restart)
        $
    0 stop && $0 start || return=$rc_failed
        
    ;;
        *)
        echo 
    "Usage: $0 {start|stop|restart}"
        
    exit 1
    esac
    exit 
    For some reason TS2 creates and uses server.ini, server.log, server.db and server.pid in a path for webmin????

    /usr/libexec/webmin/init

    I have not set this anywhere it just creates them there instead of the path in the start script. If the files are not present as per the start script I also get an error saying the files are not found.

  2. #2
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    79

    Re: error starting TS2

    Originally posted by direwolf

    PHP Code:
    case "$1" in
        start
    )
            /
    server/websites/ghost-bear.net/tss2/server_linux -PID=tsserver2.pid
            
    /server/websites/ghost-bear.net/tss2/server.db -DB=server.db
            
    /server/websites/ghost-bear.net/tss2/server.ini -INI=server.ini
            
    /server/websites/ghost-bear.net/tss2/server.log -LOG=server.log
        
    ;; 
    maybe it should look like this:

    /server/websites/ghost-bear.net/tss2/server_linux -PID=tsserver2.pid -DB=/server/websites/ghost-bear.net/tss2/server.db -INI=/server/websites/ghost-bear.net/tss2/server.ini -LOG=/server/websites/ghost-bear.net/tss2/server.log

    your script looks like starting 4 programms instead of starting one programm with four parameters.

  3. #3
    Join Date
    Aug 2002
    Location
    Oz
    Posts
    15
    Thank you.

    That now works but the server.db file is not created. Should it?

    Edit: I just re-checked and found that the server.db file is created in the following path

    /usr/libexec/webmin/init

    This is even after I have said for it to be in the same path as the other files in the start-up script.

    ?? ??
    Last edited by direwolf; 09-09-2002 at 05:23.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. TS2 Server wird nicht erkannt...
    By Tr3nDy in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 12-09-2007, 19:26
  2. Windows TS2 Server to Remote MySQL Server?
    By xCav8r in forum [TeamSpeak 2] Server Support
    Replies: 4
    Last Post: 19-02-2005, 15:57
  3. Found some problems (and fixed) with a TS2 and MySQL installation
    By MaD-Ogre in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 20-01-2005, 22:21
  4. Kann ts2 nicht starten.
    By doedalu in forum [TeamSpeak 2] Server Support
    Replies: 13
    Last Post: 22-05-2004, 05:52
  5. Problem: Höre nach ca. 20-30min niemanden mehr im TS2
    By LOC-MAXX in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 02-07-2003, 15:49

Posting Permissions

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