• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Solved "TS Client quit"

Status
Not open for further replies.

Frizzant

Member
Contributor
Hello everyone

I am setting up the TS bot, but I can't get it to connect to my TS Sever.
The TS Sever is running on the VServer, as also the TS Client with Sinusbot.

VServer
OS: Debian 8, jessie
64bit
2GB Ram
1GHz CUP

i run this, because it currently does not work without root. I will get into that, after if get the bot working on root.
xinit /usr/local/teamspeak3/teamspeak3-server_linux-amd64/teamspeak3/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac
(...)


get it running. I can also login to the Admin web panel. I can "Activate" the bot, but when i click the red "turn on" button, it turns green for 1 sec, then it is red again. And no connection on the TS server is seen.

log:
2015/12/27 13:00:22 7991c643 5899bf65 INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3-Soundbot&password=&channel=&channelpassword=
2015/12/27 13:00:22 7991c643 5899bf65 INFO TSClient quit.


--> The entire folder is 777, so there should not be a issue with rights i guess... especially when running as root.
--> running as root (till i get it running)
--> i made a identity, logged on the server, even gave him moderator rights, not helping.

What else can i do? Restarting server does nothing. Did i forget something?
I went using this (standard) guide: LINK

config.ini:
TS3Path = "/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/ts3bot"
ListenHost = "0.0.0.0"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [-i guess this might not be good for public-]
EnableLocalFS = false
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
MTU = 1500
SampleInterval = 100
StartVNC = false
EnableMulticastMetadata = false
EnableWebStream = false
[StreamRewrites]
 
Last edited:

flyth

is reticulating splines
Staff member
Developer
Contributor
Please set
LogLevel = 10
in your config.ini and post the logs you get when trying to launch the instance.
 

Frizzant

Member
Contributor
Hab ich jetzt gerade gemacht :) -->
(...)
-gentoken=false: generate new auth-token
-update=false: check for updates
2015/12/27 13:34:10 7991c643 73d7429f INFO TSClient quit.
flag provided but not defined: -nosingleinstance
Usage of /usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/ts3bot:
-RunningAsRootIsEvilAndIKnowThat=false: override root-user check
-delay=false: delay startup
-genkey=false: generate new keypair (be careful!)
-gentoken=false: generate new auth-token
-update=false: check for updates
2015/12/27 13:34:10 7991c643 5899bf65 INFO TSClient quit.
2015/12/27 13:34:10 RadioStation data loaded
2015/12/27 13:34:10 Imported radio stations
2015/12/27 13:34:12 7991c643 73d7429f INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3SB-Soundbot&password=&channel=&channelpassword=
flag provided but not defined: -nosingleinstance
Usage of /usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/ts3bot:
-RunningAsRootIsEvilAndIKnowThat=false: override root-user check
-delay=false: delay startup
-genkey=false: generate new keypair (be careful!)
-gentoken=false: generate new auth-token
-update=false: check for updates
2015/12/27 13:34:12 7991c643 73d7429f INFO TSClient quit.
2015/12/27 13:34:15 7991c643 73d7429f WARN Could not request shutdown
2015/12/27 13:34:15 7991c643 5899bf65 WARN Could not request shutdown
2015/12/27 13:34:40 7991c643 73d7429f DEBUG Storing configuration.
2015/12/27 13:34:40 7991c643 5899bf65 DEBUG Storing configuration.
2015/12/27 13:35:24 7991c643 5899bf65 INFO BOT-CONFIG [admin] CHAN CHANPW ANNOUNCE ANNOUNCESTR DUCKING DUCKINGVOLUME STICKY TTSLOCALE CHATIGNSRV CHATIGNPRIV CHATIGNCHAN CC OK
2015/12/27 13:35:35 7991c643 5899bf65 INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3-Soundbot&password=&channel=&channelpassword=
flag provided but not defined: -nosingleinstance
Usage of /usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/ts3bot:
-RunningAsRootIsEvilAndIKnowThat=false: override root-user check
-delay=false: delay startup
-genkey=false: generate new keypair (be careful!)
-gentoken=false: generate new auth-token
-update=false: check for updates
2015/12/27 13:34:36 7991c643 5899bf65 INFO TSClient quit.
(hats abgeschnitten, hab ich mit dem oberen ersetzt)
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Da hast du wohl in der config.ini statt des ts clients nochmal den Pfad zum bot angegeben. Korrigiere das mal (siehe Anleitung), dann läuft es bestimmt :)
 

Frizzant

Member
Contributor
Da hast du wohl in der config.ini statt des ts clients nochmal den Pfad zum bot angegeben. Korrigiere das mal (siehe Anleitung), dann läuft es bestimmt :)
hmm... jetzt krieg ich das:


xinit: XFree86_VT property unexpectedly has 0 items instead of 1
2015/12/27 13:56:26 !!!!!!! YOU ARE RUNNING THE BOT AS UID 0 (ROOT) WITHOUT HAVING SET ANOTHER UID. THIS IS A SERIOUS SECURITY VIOLATION !!!!!!!!
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|
(C) 2013-2015 Michael Friese. All rights reserved.
2015/12/27 13:56:27 7991c643 INFO Initializing bot://7991c643-08b0-4e6d-9b35-738cf7669547
2015/12/27 13:56:27 7991c643 73d7429f DEBUG Spawning instance shortly due to missing configuration file
2015/12/27 13:56:27 7991c643 73d7429f INFO Loaded
2015/12/27 13:56:27 Auto-Starting 7991c643-08b0-4e6d-9b35-738cf7669547/73d7429f-d3f7-4364-9f9f-9449a1508b69 in 2500 ms...
2015/12/27 13:56:27 7991c643 73d7429f INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3SB-Soundbot&password=&channel=&channelpassword=
2015/12/27 13:56:27 7991c643 5899bf65 DEBUG Spawning instance shortly due to missing configuration file
2015/12/27 13:56:27 7991c643 5899bf65 INFO Loaded
2015/12/27 13:56:27 Auto-Starting 7991c643-08b0-4e6d-9b35-738cf7669547/5899bf65-28a5-41cf-8678-9d68158367f0 in 5000 ms...
2015/12/27 13:56:27 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/12/27 13:56:27 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/12/27 13:56:27 7991c643 5899bf65 INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3-Soundbot&password=&channel=&channelpassword=
Unrecognized flag : -nosingleinstance
Makeself version 2.2.0
1) Getting help or info about /usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run :
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --help Print this message
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --info Print embedded info : title, default target directory, embedded script ...
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --lsm Print embedded lsm entry (or no LSM)
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --list Print the list of files in the archive
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --check Checks integrity of the archive
2) Running /usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run :
(...)


(...)
2015/12/27 13:56:32 7991c643 5899bf65 INFO TSClient quit.
2015/12/27 13:56:56 7991c643 5899bf65 INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3-Soundbot&password=&channel=&channelpassword=
Unrecognized flag : -nosingleinstance
Makeself version 2.2.0
1) Getting help or info about /usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run :
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --help Print this message
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --info Print embedded info : title, default target directory, embedded script ...
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --lsm Print embedded lsm entry (or no LSM)
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --list Print the list of files in the archive
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run --check Checks integrity of the archive
2) Running /usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run :
/usr/local/teamspeak3/teamspeak3-server_linux-amd64/ts3soundboard/TeamSpeak3-Client-linux_amd64-3.0.18.2.run [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--quiet Do not print anything except error messages
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--noprogress Do not show the progress during the decompression
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target dir Extract directly to a target directory
directory path can be either absolute or relative
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
2015/12/27 13:56:56 7991c643 5899bf65 INFO TSClient quit.
2015/12/27 13:56:57 7991c643 73d7429f DEBUG Storing configuration.
2015/12/27 13:56:57 7991c643 5899bf65 DEBUG Storing configuration.
 

Frizzant

Member
Contributor
bin grade an einer lösung.. habe zu .run gewiesen... hat aber noch mehr was falsch sein muss
 

Frizzant

Member
Contributor
Es ist drauf! ich hatte das libsound...blabla... im falschen plugin ordner, und auch noch zum falschen tsclient gewiesen. Jetzt ist der bot zwar stumm... aber das wird wohl lösbar sein
 

Frizzant

Member
Contributor
Ja super... jetzt krieg ich das unmuten nicht hin. Da gibts jetzt nur einen Forenbeitrag dazu, und der hilft genau nichts. Help.

Fixed :D
Reboot hat dann gehlofen :D
 
Status
Not open for further replies.
Top