Page 1 of 2

MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 12:17 am
by Meldric
Hallo!

MB geupdated, danach verbindet der Client nicht mehr. Ist nicht gebannt. Neue Identität hat nichts gebracht. Es gibt kein client.log im Ordner, also startet der Client ganricht? Im Webinterface ist Client rot, alles andere sieht normal aus.

TS3 client could not connect after 3 tries. Retry in 60 seconds. [1.] Check if 212.227.253.80:9987 is online.! [2.] The TS3MusicBot has not got banned by someone.
TS3 client could not connect after 3 tries. Retry in 60 seconds. [1.] Check if 212.227.253.80:9987 is online.! [2.] The TS3MusicBot has not got banned by someone.

Was kann das sein?

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 1:01 pm
by Crypto90
Starte deinen Bot einmal mit:
Code: Select all
-debug-exec-client
Und sende mir die Ausgabe zu.

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 1:03 pm
by Crypto90

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 1:35 pm
by Meldric
Hi!

In welchem Log soll die Ausgabe stehen? Ein client.log gibt es nicht. In der error Datei steht das hier:

/usr/bin/xauth: creating new authority file /tmp/TS3MusicBot.root.5380.8080
SELinux: Disabled on system, not enabling in X server

EDIT:
Es hat alles problemlos funktioniert, bis ich gestern dem update zugestimmt habe...

EDIT 2:
Das aus dem anderen Thread hat nichts gebracht.

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 1:39 pm
by Crypto90
Starte deinen TS3MusicBot mit zusätzlichem Parameter:
Code: Select all
-debug-exec-client
Dann siehst du woran der Client abstürzt (direkt in der Konsole).

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 1:48 pm
by Meldric
Hi!

Ok, das kommt:

...
TS3MusicBot 4.6.8.3b (01.06.2018) started...
------------------ UPDATE MANAGER STARTED ------------------
Checking for updates...
ln: creating symbolic link `.dep/cde-root/TS3MusicBot_play': File exists
------------------ UPDATE MANAGER FINISHED -----------------
Initializing instance: c9bceb9f19d87b5c5bde23f0e42d8f800a07886b
Listening on port 8080.

TS3MusicBot: TS3MusicBot "TS3MusicBot" starts now
TS3MusicBot: =============================================================
TS3MusicBot: TeamSpeak mode enabled
TS3MusicBot: =============================================================
Starting with account: warwolfen@gmail.com

TS3MusicBot: Login as "Phelan" successful!
TS3MusicBot: Successful selected virtual server on port 9987!
TS3MusicBot: All new connecting clients get the default welcome message
TS3MusicBot: Advertising will be send to virtual server every 60 minutes (1 messages found)
TS3MusicBot: Clients with away status will be moved to Channel "AFK" (208) after 15 seconds
TS3MusicBot: Bot started and connected successful, write !botinfo in server chat to get an answer!
Starting client.. done

Console input started (use 'help' for a list of commands):
Starting client[pid 25785] +++ killed by SIGTERM +++[pid 25817] +++ killed by SIGTERM +++[pid 25824] +++ killed by SIGTERM +++QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
Fontconfig error: Cannot load default config file
process 25735: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
/client/ts3client_runscript.sh: line 47: 25735 Terminated ./ts3client_linux_amd64 $@
.. done
Starting client[pid 26855] +++ killed by SIGTERM +++[pid 26895] +++ killed by SIGTERM +++[pid 26932] +++ killed by SIGTERM +++QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
Fontconfig error: Cannot load default config file
process 26846: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
/client/ts3client_runscript.sh: line 47: 26846 Terminated ./ts3client_linux_amd64 $@
^C[pid 27738] +++ killed by SIGINT +++^C

Du hattest dann Recht mit diesem Problem. Aber die Datei ist da (ich hab das Konsolenkommando ausgeführt). Die Datei /etc/machine-id gehört root

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 2:00 pm
by Crypto90
Selbes problem wie im obigen verlinkten Post.
Dein Dbus ist nicht korrekt auf dem Server konfiguriert:
Code: Select all
process 26846: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
Um das zu beheben:
Code: Select all
dbus-uuidgen > /etc/machine-id
oder ggf. wenn das nicht hilft das Paket "dbus" neu installieren.

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 2:00 pm
by Crypto90
Die Datei /etc/machine-id gehört root
Um die machine ID zu generieren muss der Befehl auch mit root ausgeführt werden und nicht mit einem User.

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 2:02 pm
by Meldric
Hi!

Ich hatte das schon so gemacht (mit root auf der Konsole). Die Datei ist da und da ist auch eine ID drin. Trotzdem kommt der Fehler.

Re: MusicBot startet, Client verbindet nicht

Posted: Sat Jun 02, 2018 2:03 pm
by Crypto90
Dann lösche die Datei einmal und generiere sie neu.