Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • 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.

Bot funktioniert nicht | Bot is not working

Status
Not open for further replies.

TheTree

Member
Wenn ich den Bot starte bekomme ich ein Paar Fehlermeldungen. Ich benutze Debian 7 64 bit.

teamspeak@greenlandcraft:~/sinbot$ xinit /home/teamspeak/sinbot/ts3bot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/------------t:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

(C) 2013-2015 Michael Friese. All rights reserved.

2015/08/08 23:27:33 fdc9e892 INFO Initializing bot://fdc9e892-abff-4d44-9c85-b51b67b65162
2015/08/08 23:27:33 fdc9e892 1b3d9ac9 DEBUG Spawning instance shortly due to missing configuration file
2015/08/08 23:27:33 fdc9e892 1b3d9ac9 INFO Loaded
2015/08/08 23:27:33 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/08/08 23:27:33 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/08/08 23:27:33 fdc9e892 1b3d9ac9 INFO Starting instance ts3server://---------?port=9987&nickname=MusicBot&password=&channel=&channelpassword=
2015/08/08 23:27:33 RadioStation data loaded
QXcbConnection: Could not connect to display :0.0
/home/teamspeak/ts3-client/ts3client_runscript.sh: line 17: 9979 Aborted ./ts3client_linux_amd64 $@
2015/08/08 23:27:34 fdc9e892 1b3d9ac9 INFO TSClient quit.
2015/08/08 23:27:34 Imported radio stations
2015/08/08 23:27:38 fdc9e892 1b3d9ac9 WARN Could not request shutdown
2015/08/08 23:28:04 fdc9e892 1b3d9ac9 DEBUG Storing configuration.
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Heyho,

<blockquote>QXcbConnection: Could not connect to display :0.0
/home/teamspeak/ts3-client/ts3client_runscript.sh: line 17: 9979 Aborted ./ts3client_linux_amd64 $@</blockquote>

bereits versucht den Client allein zu Starten?

mit:

xinit /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac


Obwohl es doch eher danach aussieht als ob dein Xserver nicht richtig startet, versuch allerdings erstmal den Client allein zu Starten und Screen mal den Output bitte.
 

flyth

is reticulating splines
Staff member
Developer
Contributor
<blockquote>/home/teamspeak/ts3-client/ts3client_runscript.sh: line 17: 9979 Aborted ./ts3client_linux_amd64 $@</blockquote>

Nutze bitte wie in der Doku angegeben nicht die *_runscript.sh in der config.ini sondern direkt die ts3client_linux_amd64. Dann sollte es gehen.

Wobei die ersten Meldungen "_XSERVTransSocketOpenCOTSServer"... auch merkwürdig aussehen...
 

TheTree

Member
Sorry das ich so spät antworte aber besser als nie. Also hier der Output wenn ich den TS3 Client normale starte.


<blockquote>bereits versucht den Client allein zu Starten?

mit:

xinit /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac


Obwohl es doch eher danach aussieht als ob dein Xserver nicht richtig startet, versuch allerdings erstmal den Client allein zu Starten und Screen mal den Output bitte. </blockquote>

teamspeak@xxxxx:~/sinbot$ xinit /home/teamspeak/ts3-client/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/greenlandcraft:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
/home/teamspeak/ts3-client/ts3client_linux_amd64: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
xinit: connection to X server lost

waiting for X server to shut down


<blockquote>Nutze bitte wie in der Doku angegeben nicht die *_runscript.sh in der config.ini sondern direkt die ts3client_linux_amd64. Dann sollte es gehen.

Wobei die ersten Meldungen "_XSERVTransSocketOpenCOTSServer"... auch merkwürdig aussehen... </blockquote>


teamspeak@xxxxxx:~/sinbot$ ./ts3bot
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

(C) 2013-2015 Michael Friese. All rights reserved.

2015/08/15 21:48:52 fdc9e892 INFO Initializing bot://fdc9e892-abff-4d44-9c85-b51b67b65162
2015/08/15 21:48:53 fdc9e892 1b3d9ac9 DEBUG Spawning instance shortly due to missing configuration file
2015/08/15 21:48:53 fdc9e892 1b3d9ac9 INFO Loaded
2015/08/15 21:48:53 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/08/15 21:48:53 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/08/15 21:48:53 fdc9e892 1b3d9ac9 INFO Starting instance ts3server://xxxxx?port=9987&nickname=MusicBot&password=&channel=&channelpassword=
QXcbConnection: Could not connect to display :0.0
2015/08/15 21:48:53 fdc9e892 1b3d9ac9 INFO TSClient quit.
2015/08/15 21:48:53 RadioStation data loaded
2015/08/15 21:48:53 Imported radio stations
2015/08/15 21:48:58 fdc9e892 1b3d9ac9 WARN Could not request shutdown


Also es funktioniert leider nicht :(
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
<blockquote>xinit /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac</blockquote>

Vorher:

export LD_LIBRARY_PATH="/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64"

Hatte ich vergessen sorry.
 

TheTree

Member
Das ist der Output;

teamspeak@xxxx:~/sinbot$ export LD_LIBRARY_PATH="/home/teamspeak/ts3-client/"

teamspeak@xxxx:~/sinbot$ xinit /home/teamspeak/ts3-client/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/xxxxxx:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Heyho,

also:

<blockquote>_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/xxxxxx:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6</blockquote>

er versucht da auf IPV6 Sockets aufzukriegen was wohl nicht funktioniert da IPV6 gar nicht oder Fehlerhaft konfiguriert ist. Bzw dort eventuell schon eine X-Session Läuft (Weiß nicht ob du nicht vielleicht sogar eine Grafische Oberfläche darauf hast^^) .

Ich würde zunächst Probieren nen anderen X- Port zu nehmen:

export LD_LIBRARY_PATH="/home/teamspeak/ts3-client/"
DISPLAY=:2 xinit /home/teamspeak/ts3-client/ts3client_linux_amd64 -- /usr/bin/Xvfb :2 -screen 0 800x600x16 -ac

alternativ kannst du Versuchen IPV6 zu deaktivieren:

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

um das ganze permanent zu halten:

nano /etc/sysctl.d/01-disable-ipv6.conf

und da rein:

net.ipv6.conf.all.disable_ipv6 = 1
 

TheTree

Member
Es funktioniert leider auch nicht.

<blockquote>Weiß nicht ob du nicht vielleicht sogar eine Grafische Oberfläche darauf hast^^</blockquote>

Das kann sein da ich früher schonmal einen anderen Bot hatte. Diesen hatte ich nach dieser Anleitung gemacht: http://forum.teamspeak.com/showthread.php/101054-GUIDE-WALKTHROUGH-Music-bot-without-GUI-or-soundcard-ideal-for-VPS-server

Ich bin mir aber auch nicht sicher ob ich das mit dem ipv6 richtig deaktiviert habe.
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Heyho,

ja das kann schon sein, kann ich aber nichts genaues zu sagen wenn du die Möglichkeit hast würde ich von ner neuen Installation anfangen, wenn da irgendwo im System was versaut ist ist schwer zu finden was.
 

TheTree

Member
Das will ich eigentlich nicht machen da ich wieder alles sichern und wiederherstellen muss. Gibt es noch irgentwelche anderen Möglichkeiten?
 

TheTree

Member
TS3Path = "/home/teamspeak/ts3-client/ts3client_linux_amd64"
ListenHost = "ip.ip.ip.ip"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [157, 18, 142, 190, 93, 46, 204, 35, 177, 73, 111, 133, 185, 64, 90, 171, 30, 77, 241, 96, 136, 232, 243, 41, 30, 27, 38, 15, 54, 207, 213, 234]
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]

Hab da nicht verändert außer dem Pfad und dem LogLevel.
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Die Config sieht soweit auch okay aus.
 

recon

Member
Hab genau das selbe Problem. Allerdings ist es ein frisch installierter Server.
IPv6 nicht vorhanden, falls relevant.
 

recon

Member
Man kann dem xinit ein "-nolisten inet6" übergeben. Das behebt dann schon mal diesen Fehler.
Allerdings bleibt folgendes Problem bestehen:
Code:
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
/home/ts/ts3bot: 1: /home/ts3bot/ts3bot:ELF: not found
/home/ts/ts3bot: 2: /home/ts3bot/ts3bot: Syntax error: ")" unexpected
xinit: connection to X server lost
 

flyth

is reticulating splines
Staff member
Developer
Contributor
ARM wird leider eh nicht unterstützt, weil es keinen Client dafür gibt. Der Bot an sich könnte das schon... :/
 
Status
Not open for further replies.
Top