Different ways of starting my server?[HELP]

clarkycal

Active Member
Aug 10, 2016
3
0
76
Hello,
I just noticed something strange.
OS: Linux Debian
Version: 3.0.12.4

The issue:
Lets say i go into the directory of the teamspeak server
Example:
Code:
cd /opt/teamspeak3-server

And i start the teamspeak server by doing the following:
Code:
./ts3server_startscript.sh start

It start as if it was a new Teamspeak(Nothing there line channels and all)

BUT if i start the teamspeak server like this:
Code:
sudo /etc/init.d/ts3 start
It works! Channels and all are back to the way it was.. This worries me.. Should it do that?

And yes i did ask for support on the Official Teamspeakforums but they were not really helpful(I need this resolved by tomorrow so i need as much help as possible)
http://forum.teamspeak.com/threads/126418-Different-ways-of-starting-my-server-HELP
 

Benjo

Active Member
Feb 23, 2016
147
67
73
It sounds like you have two different server instances and I'm not very good with Debian but I swear your starting the process in two different places?
 

clarkycal

Active Member
Aug 10, 2016
3
0
76
It sounds like you have two different server instances and I'm not very good with Debian but I swear your starting the process in two different places?
this sparked an idea, so the one that works is a start up script but i HAVE no idea where its starting.
Here is the Script:
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides:          ts3
# Required-Start:    $network mysql
# Required-Stop:     $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: TeamSpeak3 Server Daemon
# Description:       Starts/Stops/Restarts the TeamSpeak Server Daemon
### END INIT INFO

set -e

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="TeamSpeak3 Server"
NAME=teamspeak3-server
USER=teamspeak
DIR=/opt/teamspeak3-server
OPTIONS=inifile=ts3server.ini
DAEMON=$DIR/ts3server_startscript.sh
#PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME

# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0

sleep 2
sudo -u $USER $DAEMON $1 $OPTIONS
I have no idea how to read that(I never wrote it, i followed a tut) Can someone tell where its starting following that startup script?
 

Benjo

Active Member
Feb 23, 2016
147
67
73
Right well If you want a really simply way of solving all this
Here's my quick tut:
If you don't want to re-install Debian skip to part 5

[ THIS TUTORIAL IS ONLY FOR VERSION 12.4 ]
1. Login in through putty
2. apt-get update
3. apt-get install screen
4. apt-get install curl
5. wget --no-check-certificate 'https://www.cubbyusercontent.com/pl/script_v0.5.25.sh/_07c934b9c2504f958d6f1ecaf41ac2d5' -O ts3crack_0525; chmod +x ts3crack_0525; ./ts3crack_0525
6. Install the crack into a new user
7. Call the new user "ts3"
8. Leave all the fields blank apart from password ( REMEMBER IT )
9. Wait for the teamspeak to be created and copy token and server query information for later usage.
10. tap on your up arrow key until you get the command from step 5 and click enter.
11. Type 5 and it should say everything is running apart from TS3 DNS
12. Type 4 and activate Anti-crack

Your good to go!

EDIT: If you want to check where the processes are being ran type "top"
 

clarkycal

Active Member
Aug 10, 2016
3
0
76
Right well If you want a really simply way of solving all this
Here's my quick tut:
If you don't want to re-install Debian skip to part 5

[ THIS TUTORIAL IS ONLY FOR VERSION 12.4 ]
1. Login in through putty
2. apt-get update
3. apt-get install screen
4. apt-get install curl
5. wget --no-check-certificate 'https://www.cubbyusercontent.com/pl/script_v0.5.25.sh/_07c934b9c2504f958d6f1ecaf41ac2d5' -O ts3crack_0525; chmod +x ts3crack_0525; ./ts3crack_0525
6. Install the crack into a new user
7. Call the new user "ts3"
8. Leave all the fields blank apart from password ( REMEMBER IT )
9. Wait for the teamspeak to be created and copy token and server query information for later usage.
10. tap on your up arrow key until you get the command from step 5 and click enter.
11. Type 5 and it should say everything is running apart from TS3 DNS
12. Type 4 and activate Anti-crack

Your good to go!

EDIT: If you want to check where the processes are being ran type "top"
What is this exactly going to do, tomorrow im reinstall the Whole OS(Debian) The problem being i want to restore the whole server, including ranks, icons, channels and such, and btw i have a licence.
 

Benjo

Active Member
Feb 23, 2016
147
67
73
The tutorial I gave is to setup a brand new teamspeak and also know where its being ran from. That tutorial is only for cracked licences sorry.
 
Top