Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 4 of 4
  1. #1
    Join Date
    May 2014
    Location
    Under Your Bed
    Posts
    5

    linux auto restart server

    i made a auto restarting ts3 script service

    Code:
    #!/bin/sh
    # chkconfig: 2345 99 10
    USER="ts3user"
    TS3='/home/ts3user/ts3server'
    STARTSCRIPT="$TS3/ts3server_startscript.sh"
    cd $TS3
    case "$1" in
    'start')
    su $USER -c "$STARTSCRIPT start"
    ;;
    'stop')
    su $USER -c "#STARTSCRIPT stop"
    ;;
    'restart')
    su $USER -c "$STARTSCRIPT restart"
    ;;
    'status')
    su $USER -c "$STARTSCRIPT status"
    ;;
    *)
    echo "Usage $0 start|stop|restart|status"
    esac
    when when i freebooter my vps

    and when i did service ts3 status

    it says server may have died

    and when i reboots my vpn my ts3 wont start

    please help me

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    Post any relevant information maybe. Like logs, output, etc.

  3. #3
    Join Date
    May 2014
    Location
    Under Your Bed
    Posts
    5
    Quote Originally Posted by numma_cway View Post
    Post any relevant information maybe. Like logs, output, etc.
    here is my putty thing
    Code:
    Using username "root".
    [email protected]'s password:
    Last login: Wed May 28 10:03:38 2014 from 59.177.188.174
    [[email protected] ~]# service ts3 status
    Server seems to have died
    [[email protected] ~]# service ts3 start
    ts3server.pid found, but no server running. Possibly your previously started server crashed
    Please view the logfile for details.
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    [[email protected] ~]#
    and here are my two logs
    Code:
    2014-05-28 14:03:57.480716|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.10.3 (2014-01-01 16:28:39)
    2014-05-28 14:03:57.480938|INFO    |ServerLibPriv |   | SystemInformation: Linux 2.6.32-042stab084.26 #1 SMP Mon Feb 17 21:00:14 MSK 2014 x86_64 Binary: 64bit
    2014-05-28 14:03:57.480985|INFO    |ServerLibPriv |   | Using hardware aes
    2014-05-28 14:03:57.504600|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2014-05-28 14:03:57.506963|INFO    |DatabaseQuery |   | dbPlugin version: 3.7.3
    2014-05-28 14:03:57.521626|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2014-05-28 14:03:57.696509|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
    2014-05-28 14:04:11.783527|INFO    |              |   | Puzzle precompute time: 13995
    2014-05-28 14:04:11.785975|INFO    |FileManager   |   | listening on 0.0.0.0:30033
    2014-05-28 14:04:12.086652|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1, 
    2014-05-28 14:04:12.087374|INFO    |Query         |   | listening on 0.0.0.0:10011
    2014-05-28 14:05:09.240649|INFO    |ServerMain    |   | Received signal SIGTERM, shutting down.
    and other log two were made

    Code:
    2014-05-28 14:04:12.085947|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
    2014-05-28 14:05:11.247811|DEVELOP |VirtualServerBase|  1| After 2 seconds there were still 1Clients connected

  4. #4
    Join Date
    September 2012
    Posts
    6,079
    Quote Originally Posted by rahulnegi1409 View Post
    Code:
    2014-05-28 14:04:12.087374|INFO    |Query         |   | listening on 0.0.0.0:10011
    2014-05-28 14:05:09.240649|INFO    |ServerMain    |   | Received signal SIGTERM, shutting down.
    You're telling the server to shut down purposefully and so it does...
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Problem] Server restart AUTO
    By what? in forum Linux / FreeBSD
    Replies: 1
    Last Post: May 25th, 2015, 10:13 PM

Posting Permissions

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