English   German
  #1  
Old 08-09-2002, 17:12
direwolf's Avatar
direwolf direwolf is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Oz
Posts: 15
direwolf is on a distinguished road
error starting TS2

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

Quote:
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.
Reply With Quote
  #2  
Old 08-09-2002, 17:21
maletin's Avatar
maletin maletin is offline
-= TeamSpeak Lover =-
 
Join Date: Aug 2002
Location: Germany
Posts: 79
maletin is on a distinguished road
Send a message via ICQ to maletin Send a message via Skype™ to maletin
Re: error starting TS2

Quote:
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.
Reply With Quote
  #3  
Old 09-09-2002, 05:36
direwolf's Avatar
direwolf direwolf is offline
-= TeamSpeak User =-
 
Join Date: Aug 2002
Location: Oz
Posts: 15
direwolf is on a distinguished road
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 06:23.
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 22:45.


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