Community Forums Today's Posts     Member List     Archive    
Page 1 of 7 123 ... LastLast
Results 1 to 15 of 101
  1. #1
    Join Date
    Aug 2008
    Location
    Whois
    Posts
    597

    Smile [BETA]Powerful Teamspeak3 Server Startscript for Linux with "AUTOMATIC"UPDATE!

    This Script doesn't works with BETA Server !



    Version 1.4.0 ( Last Update 21/JUL/2012 )


    Hi folks!

    I have created a powerful TeamSpeak3 Multistartscript.
    Some threat's and script on this site give's me a inspiration to create it.

    HOT-Function: "AUTOMATIC"UPDATE
    (Without losing your Database! )

    Functions overview:
    ~~~~~~~~~~~~~~
    start|stop|restart|update|status|watch|check
    Click image for larger version. 

Name:	TS3MultiStartscript.png 
Views:	4209 
Size:	29.3 KB 
ID:	2055


    "check" is ja new function, for email notification if an update available

    Requirements packages:
    ~~~~~~~~~~~~~~~~~
    AWK
    Screen
    Expect
    global


    Allowed:
    ~~~~~~
    Change
    Copy&Paste for own Scripts
    Modifiy
    To improve


    NOT Allowed:
    ~~~~~~~~~
    Delete the Headlines ( Copyleft )


    ~~ BUGLIST ~~

    * Fixed a typing error

    * Fixed a UpdateBug to beta-1X

    * Fixed load PluginBUG


    ~~ IN DEVELOPMENT v 1.3.0~~

    * All functions included :-)



    [Troubleshooting]

    Info for SuSE Linux:
    http://www.gizmola.com/blog/archives...directory.html

    Color problem?

    Link sh to bash:
    sudo rm /bin/sh && sudo ln -s bash /bin/sh
    Unlink it:
    sudo rm /bin/sh && sudo ln -s dash /bin/sh

    You have problems with the update from beta-15 to beta-16?

    Change this Line (240):
    wget -O - $FTPPATH$(cat current)/ 2> /dev/null | grep -o -E $FILENAME[^\"]+tar.gz -o | tail -n1 > name

    to this:

    wget -O -
    $FTPPATH$(cat current)/ 2>/dev/null | cut -d '"' -f 2 | grep linux | tail -n1 > name



    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Thanks & Credits


    Thanks Ethaniel for improve the Script to v1.3.0
    Thanks bl33ding edge for improve the Script to v1.2.1
    Thanks Germeshausen.de for allowed use this.
    Thanks Obbi for help me by grep out a information for the Updatefeature!
    Thanks BlackScript, now the SuSE Users can run my Script to!
    Thanks nickvergessen for report a BUG!
    Thanks BizzWare for report a BUG!
    Thanks CoolRunner for report a BUG!
    Thanks Simeon for report a BUG!


    Other nice and sense scripts:
    [RELEASE] Client revision check - inform and inform/kick the client

    A simple ts3 serveradmin password recovery script (win + linux)

    TS3-PHPPear Mod ( Anti Recording, Anti Idle, Protect Nicks and Groups )
    http://forum.teamspeak.com/showpost....55&postcount=3


    Attention!!! This Script is ALPHA NONFULLTESTED !!! I cannot guarantee, all works fine!!!
    UPDATE TO v1.4.0!This Script is tested under Linux version 2.6.32-12-pve (root@maui) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Tue May 15 06:02:20 CEST 2012
    Attached Files Attached Files
    Last edited by /dev/null/; 21-07-2012 at 22:48.

  2. #2
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    6
    Code:
    if [ ! -x /usr/bin/expectt ]; then 
      echo""
      echo -en "\E[31mFehler  \E[37m~~> Startscript kann nicht gestartet werden,";
      tput sgr0
      echo""
      echo -en "\E[31mFehler  \E[37m~~> da das Packet \E[25;44mEXPECT\E[37;40m \E[37;41mnicht installiert\E[37;40m ist!";
      tput sgr0
      echo""
      echo""
      echo -en "\E[32mTipp    \E[37m~~> Benutze \E[33;40mapt-get install expect\E[37;40m, oder installier das Packet 'expect'.";
      tput sgr0
      echo""
      echo""
      exit 1;
    change to--->
    Code:
    if [ ! -x /usr/bin/expect ]; then 
      echo""
      echo -en "\E[31mFehler  \E[37m~~> Startscript kann nicht gestartet werden,";
      tput sgr0
      echo""
      echo -en "\E[31mFehler  \E[37m~~> da das Packet \E[25;44mEXPECT\E[37;40m \E[37;41mnicht installiert\E[37;40m ist!";
      tput sgr0
      echo""
      echo""
      echo -en "\E[32mTipp    \E[37m~~> Benutze \E[33;40mapt-get install expect\E[37;40m, oder installier das Packet 'expect'.";
      tput sgr0
      echo""
      echo""
      exit 1;

  3. #3
    Join Date
    Aug 2008
    Location
    Whois
    Posts
    597
    o.O Thanks for Feeback!

    BUG Fixed

  4. #4
    Join Date
    Dec 2009
    Location
    Brasil
    Posts
    6
    would be good if you put all in english, i got an error but can find what happens.

  5. #5
    Join Date
    Dec 2009
    Location
    Germany - NRW - Moers
    Posts
    1
    [English]Hey the auto update fuction doesn't work
    beta 10 is out
    and the script find only beta-9
    please fix it.

    *** English only ***
    Last edited by dante696; 04-01-2010 at 13:13. Reason: English only

  6. #6
    Join Date
    Aug 2008
    Location
    Whois
    Posts
    597
    Thanks for the Info.

    UpdateBUG is Fixed.

  7. #7
    Join Date
    Dec 2009
    Location
    Germany, Siegen
    Posts
    23
    I cannot unzip the File because of a "Method Error"

    Kann die Datei leider nicht entpacken. Sagt sowohl unter Linux als auch unter Windows:

    Unbekannte Methode
    Last edited by sebbuch79de; 28-12-2009 at 09:45.

  8. #8
    Join Date
    Mar 2008
    Location
    Belgium
    Posts
    3
    Could you post an English version plz?

  9. #9
    Join Date
    Aug 2008
    Location
    Whois
    Posts
    597
    The file was compressed with 7zip, know i have compress it with WinZIP 4all

    If I have time, i will translate it.
    Last edited by /dev/null/; 28-12-2009 at 10:34.

  10. #10
    Join Date
    Aug 2008
    Location
    Mannheim
    Posts
    16
    hi
    i cannot extract this file

  11. #11
    Join Date
    Aug 2008
    Location
    Whois
    Posts
    597
    Please download the file again, you have download the "old" version.
    TS3MultiStartscript.zip (3,9 KB, 0x views)

  12. #12
    Join Date
    Dec 2009
    Location
    Frankfurt
    Posts
    1
    Hi,

    I become a Error Message. Can you help me?

    Code:
    ts3@static:~> ll
    total 6272
    -rw-r--r-- 1 ts3 users    7553 Dec 28 05:05 CHANGELOG
    -rw-r--r-- 1 ts3 users   23747 Dec 28 05:05 LICENSE
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 doc
    drwx------ 3 ts3 users    4096 Dec 28 13:06 files
    -rwxr-xr-x 1 ts3 users  194829 Dec 28 05:05 libts3db_mysql.so
    -rwxr-xr-x 1 ts3 users  821513 Dec 28 05:05 libts3db_sqlite3.so
    -rw-r--r-- 1 ts3 root      864 Dec 28 13:37 licensekey.dat
    drwx------ 2 ts3 users    4096 Dec 28 14:16 logs
    -rw-r--r-- 1 ts3 users     112 Dec 28 13:38 serverkey.dat
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 serverquerydocs
    drwxr-xr-x 4 ts3 users    4096 Dec 28 05:05 sql
    -rwxr--r-- 1 ts3 root    10166 Dec 28 14:36 startscript.sh
    -rw-r--r-- 1 ts3 users  174080 Dec 28 14:21 ts3server.sqlitedb
    -rwxr-xr-x 1 ts3 users 5121692 Dec 28 05:05 ts3server_linux_x86
    -rwxr--r-- 1 ts3 root      824 Dec 28 14:35 versionscheck.sh
    ts3@static:~> ./startscript.sh start
    bash: ./startscript.sh: /bin/sh^M: bad interpreter: No such file or directory
    ts3@static:~>
    I edit the config to this one.

    Code:
    #!/bin/sh
    #Teamspeak3 MultiStartscript
    
    # Version: 1.1
     
    # Written by:
    # J. Daniel (/dev/null/ âka Pikniker )
    # http://www.goxts.com
    
    
    # ~~ Change this Settings for you own Serverconfiguration ~~
    
    
    PAT='/home/ts3/'										# Path to you TeamSpeak3Server files
    #( !Attention! Requirement / at the ends of the line )
    
    TITLE='TeamSpeak3 Server'									# Set you own Screentitle
    NAME='ts3'													# Set you own PID Name
    
    SERVER='ts3server_linux_x86'								# Alternative ts3server_linux_amd64
    LOADPLUGIN='dbplugin=ts3db_mysql'							# For SQLite leave blank ( MySQL: dbplugin=ts3db_mysql )
    
    FILENAME='teamspeak3-server_linux-x86'						# For 64Bit Server change it to teamspeak3-server_linux-amd64
    DISTVER='x86-3.0.0'											# For 64Bit Server change it to amd64-3.0.0
    
    STATUS='beta'												# To change the name "beta" in the files when beta is over
    
    USER='ts3'													# User for start the Server
    
    FTPPATH='http://ftp.4players.de/pub/hosted/ts3/releases/'	# FTP Downloadpath from TeamSpeak3 ( Normally you must dont edit this Line )
    #( !Attention! Requirement / at the ends of the line )
    
    
    # ~~ END OF CONFIGURATION ~~
    Thanks for help

    Moony

    PS: is a Linux Suse

    Sorry for my english :-)
    Last edited by Moonbear; 28-12-2009 at 13:42. Reason: Version

  13. #13
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    20
    Quote Originally Posted by Moonbear View Post
    Hi,

    I become a Error Message. Can you help me?

    Code:
    ts3@static:~> ll
    total 6272
    -rw-r--r-- 1 ts3 users    7553 Dec 28 05:05 CHANGELOG
    -rw-r--r-- 1 ts3 users   23747 Dec 28 05:05 LICENSE
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 doc
    drwx------ 3 ts3 users    4096 Dec 28 13:06 files
    -rwxr-xr-x 1 ts3 users  194829 Dec 28 05:05 libts3db_mysql.so
    -rwxr-xr-x 1 ts3 users  821513 Dec 28 05:05 libts3db_sqlite3.so
    -rw-r--r-- 1 ts3 root      864 Dec 28 13:37 licensekey.dat
    drwx------ 2 ts3 users    4096 Dec 28 14:16 logs
    -rw-r--r-- 1 ts3 users     112 Dec 28 13:38 serverkey.dat
    drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 serverquerydocs
    drwxr-xr-x 4 ts3 users    4096 Dec 28 05:05 sql
    -rwxr--r-- 1 ts3 root    10166 Dec 28 14:36 startscript.sh
    -rw-r--r-- 1 ts3 users  174080 Dec 28 14:21 ts3server.sqlitedb
    -rwxr-xr-x 1 ts3 users 5121692 Dec 28 05:05 ts3server_linux_x86
    -rwxr--r-- 1 ts3 root      824 Dec 28 14:35 versionscheck.sh
    ts3@static:~> ./startscript.sh start
    bash: ./startscript.sh: /bin/sh^M: bad interpreter: No such file or directory
    ts3@static:~>
    I edit the config to this one.

    Code:
    #!/bin/sh
    #Teamspeak3 MultiStartscript
    
    # Version: 1.1
     
    # Written by:
    # J. Daniel (/dev/null/ âka Pikniker )
    # http://www.goxts.com
    
    
    # ~~ Change this Settings for you own Serverconfiguration ~~
    
    
    PAT='/home/ts3/'										# Path to you TeamSpeak3Server files
    #( !Attention! Requirement / at the ends of the line )
    
    TITLE='TeamSpeak3 Server'									# Set you own Screentitle
    NAME='ts3'													# Set you own PID Name
    
    SERVER='ts3server_linux_x86'								# Alternative ts3server_linux_amd64
    LOADPLUGIN='dbplugin=ts3db_mysql'							# For SQLite leave blank ( MySQL: dbplugin=ts3db_mysql )
    
    FILENAME='teamspeak3-server_linux-x86'						# For 64Bit Server change it to teamspeak3-server_linux-amd64
    DISTVER='x86-3.0.0'											# For 64Bit Server change it to amd64-3.0.0
    
    STATUS='beta'												# To change the name "beta" in the files when beta is over
    
    USER='ts3'													# User for start the Server
    
    FTPPATH='http://ftp.4players.de/pub/hosted/ts3/releases/'	# FTP Downloadpath from TeamSpeak3 ( Normally you must dont edit this Line )
    #( !Attention! Requirement / at the ends of the line )
    
    
    # ~~ END OF CONFIGURATION ~~
    Thanks for help

    Moony

    PS: is a Linux Suse

    Sorry for my english :-)


    I have the same error with the script .....
    ::::::EDIT::::::

    i found the reason and after the fix it works fine

    just do this http://www.gizmola.com/blog/archives...directory.html

  14. #14
    Join Date
    Dec 2009
    Location
    Tunisia
    Posts
    45
    You are sure this is correct ?

    PAT='/home/ts3/'

  15. #15
    Join Date
    Dec 2009
    Location
    Poland, Warsaw
    Posts
    14
    Update without lost data?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [solved] i need some help with my ts server
    By rebelwarrior in forum [TeamSpeak 2] Client Support
    Replies: 3
    Last Post: 14-11-2008, 00:34
  2. Server stops responding
    By Xeroed in forum [TeamSpeak 2] Server Support
    Replies: 10
    Last Post: 27-09-2006, 04:08
  3. Friends can't connect
    By shadow127 in forum [TeamSpeak 2] Server Support
    Replies: 86
    Last Post: 01-01-2006, 20:45
  4. Server
    By lars-andre-petersen in forum [TeamSpeak 2] Server Support
    Replies: 70
    Last Post: 26-09-2005, 11:54
  5. Scheisse habe QDSL alles geht nur keine REG
    By Creeper in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 29-08-2002, 09:06

Posting Permissions

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