• If you need help or want to discuss things, you now can also join us on our Discord Server!

Solved sinusbot doesn't start

olokos

Insider
Insider
For some reason on fresh server setup sinusbot wouldn't start.

Beta10 on ubuntu server 20.04 LTS

Instance logs below
2020-06-16T02:05:12+02:00 TSClient quit.
2020-06-16T02:05:11+02:00 New connection status 0; Error 1797
2020-06-16T02:05:11+02:00 The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong, the default channel doesn't exist, the bot has been banned, the server is an illegal installation, the password is wrong, the security level of your identity is too low, the nickname is too short or too long or the server does not allow the version of the client you are using. See our Wiki / Forums for more help.
2020-06-16T02:05:11+02:00 TS |INFO |ClientUI |1 |Failed to connect to server, want autoreconnect = 0
2020-06-16T02:05:11+02:00 TS |INFO |ClientUI |1 |Connect status: Disconnected
2020-06-16T02:05:06+02:00 TS |INFO | | |Statistics report: Not yet, next report on Tue Jun 23 16:50:13 2020
2020-06-16T02:05:06+02:00 TS |INFO |ClientUI | |Last update check was: Sat Jan 1 00:00:01 2022
2020-06-16T02:05:06+02:00 TS |INFO |Bookmarks | |Collecting autoconnect bookmarks
2020-06-16T02:05:06+02:00 New connection status 1; Error 0
2020-06-16T02:05:06+02:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2020-06-16T02:05:06+02:00 TS |INFO |ClientUI |1 |Initiating connection: 127.0.0.1:9987
2020-06-16T02:05:06+02:00 TS |INFO |ClientUI |1 |Connect to server: 127.0.0.1
2020-06-16T02:05:06+02:00 TS |INFO |ClientUI | |ts3server: 127.0.0.1?port=9987&nickname=MusicBot2&password=&channel=&channelpassword=
2020-06-16T02:05:05+02:00 TS |INFO | | |successfully downloaded revocation list for myteamspeak id
2020-06-16T02:05:05+02:00 TS |INFO | | |successfully downloaded revocation list for accounting
2020-06-16T02:05:05+02:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data/ts3/066714c6-c728-4bfd-8bee-2d2c03d3b3b8/7cc140b2-35c2-4a66-a47a-beacd4fd4723/settings.db
2020-06-16T02:05:05+02:00 TS |INFO |ClientUI | |Qt version: 5.12.1
2020-06-16T02:05:05+02:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2020-06-16T02:05:05+02:00 TS |INFO | | |*** Time [INIT]: 138
2020-06-16T02:05:05+02:00 TS |INFO | | |*** Time [MAINWINDOW]: 138
2020-06-16T02:05:05+02:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2020-06-16T02:05:05+02:00 TS |INFO |Query | |listening on 127.0.0.1:25639
2020-06-16T02:05:05+02:00 TS |INFO |Plugins | |Loading plugin: libclientquery_plugin_linux_amd64.so
2020-06-16T02:05:05+02:00 TS |INFO |Addons | |Checking for addon updates...
2020-06-16T02:05:05+02:00 TS |ERROR |RevocationListCache| |Failed to import revocation list from cache
2020-06-16T02:05:05+02:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
2020-06-16T02:05:05+02:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/TeamSpeak3-Client-linux_amd64/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2020-06-16T02:05:05+02:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/TeamSpeak3-Client-linux_amd64/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2020-06-16T02:05:04+02:00 TS |INFO | | |Using hardware aes
2020-06-16T02:05:04+02:00 TS |INFO | | |SystemInformation: Linux 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 Binary: 64bit
2020-06-16T02:05:04+02:00 TS |INFO | | |TeamSpeak Client 3.5.3 (2020-05-06 09:07:50)
2020-06-16T02:05:04+02:00 Starting instance ts3server://127.0.0.1?port=9987&nickname=MusicBot2&password=&channel=&channelpassword=
2020-06-16T02:05:04+02:00 Could not create Notifications-Tabletable Notifications already exists
2020-06-16T02:05:04+02:00 Could not create WhisperReceive-Tabletable WhisperReceive already exists
2020-06-16T02:05:04+02:00 Could not create Chat-Tabletable Chat already exists
2020-06-16T02:05:02+02:00 BOT-CONFIG [admin] HOST CHANPW CHAN ANNOUNCE DESCRIPTION ANNOUNCESTR TTSURL CC OK
2020-06-16T02:04:08+02:00 TSClient quit.
2020-06-16T02:04:07+02:00 New connection status 0; Error 1797
2020-06-16T02:04:07+02:00 The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong, the default channel doesn't exist, the bot has been banned, the server is an illegal installation, the password is wrong, the security level of your identity is too low, the nickname is too short or too long or the server does not allow the version of the client you are using. See our Wiki / Forums for more help.
2020-06-16T02:04:07+02:00 TS |INFO |ClientUI |1 |Failed to connect to server, want autoreconnect = 0
2020-06-16T02:04:07+02:00 TS |INFO |ClientUI |1 |Connect status: Disconnected
2020-06-16T02:04:02+02:00 TS |INFO | | |Statistics report: Not yet, next report on Tue Jun 23 16:50:13 2020
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI | |Last update check was: Sat Jan 1 00:00:01 2022
2020-06-16T02:04:02+02:00 TS |INFO |Bookmarks | |Collecting autoconnect bookmarks
2020-06-16T02:04:02+02:00 New connection status 1; Error 0
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI |1 |Initiating connection: 127.0.0.1:9987
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI |1 |Resolve successful: 127.0.0.1:9987
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI |1 |Lookup finished: ip=127.0.0.1 port=9987 query=localhost error=0
2020-06-16T02:04:02+02:00 TS |INFO |TSDNS | |A/AAAA DNS resolve successful, "localhost" =(h: 127.0.0.1 p:0)
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI |1 |Trying to resolve localhost
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI |1 |Connect to server: localhost
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI | |ts3server: localhost?port=9987&nickname=MusicBot2&password=&channel=&channelpassword=
2020-06-16T02:04:02+02:00 TS |INFO | | |successfully downloaded revocation list for myteamspeak id
2020-06-16T02:04:02+02:00 TS |INFO | | |successfully downloaded revocation list for accounting
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data/ts3/066714c6-c728-4bfd-8bee-2d2c03d3b3b8/7cc140b2-35c2-4a66-a47a-beacd4fd4723/settings.db
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI | |Qt version: 5.12.1
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2020-06-16T02:04:02+02:00 TS |INFO | | |*** Time [INIT]: 150
2020-06-16T02:04:02+02:00 TS |INFO | | |*** Time [MAINWINDOW]: 150
2020-06-16T02:04:02+02:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2020-06-16T02:04:02+02:00 TS |INFO |Query | |listening on 127.0.0.1:25639
2020-06-16T02:04:02+02:00 TS |INFO |Plugins | |Loading plugin: libclientquery_plugin_linux_amd64.so
2020-06-16T02:04:02+02:00 TS |INFO |Addons | |Checking for addon updates...
2020-06-16T02:04:02+02:00 TS |ERROR |RevocationListCache| |Failed to import revocation list from cache
2020-06-16T02:04:02+02:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
2020-06-16T02:04:02+02:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/TeamSpeak3-Client-linux_amd64/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2020-06-16T02:04:01+02:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/TeamSpeak3-Client-linux_amd64/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2020-06-16T02:04:01+02:00 TS |INFO | | |Using hardware aes
2020-06-16T02:04:01+02:00 TS |INFO | | |SystemInformation: Linux 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 Binary: 64bit
2020-06-16T02:04:01+02:00 TS |INFO | | |TeamSpeak Client 3.5.3 (2020-05-06 09:07:50)
2020-06-16T02:04:01+02:00 Starting instance ts3server://localhost?port=9987&nickname=MusicBot2&password=&channel=&channelpassword=
2020-06-16T02:04:01+02:00 Could not create Notifications-Tabletable Notifications already exists
2020-06-16T02:04:01+02:00 Could not create WhisperReceive-Tabletable WhisperReceive already exists
2020-06-16T02:04:01+02:00 Could not create Chat-Tabletable Chat already exists
2020-06-16T02:03:16+02:00 script sinusbot-commands loaded
2020-06-16T02:03:16+02:00 [sinusbot-commands:86:12] Loaded SinusBot Commands v1.0.0 by Jonas Bögle (@irgendwr).
2020-06-16T02:03:16+02:00 Initialization complete
2020-06-16T02:03:16+02:00 script command loaded

diagscript below
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Ubuntu 20.04 LTS
 - Kernel: Linux 5.4.0-37-generic x86_64
 - Load Average: 0.14 0.16 0.09
 - Uptime: 0 days, 0 hours, 6 minutes, 37 seconds
 - OS x64 check: OK
 - OS Updates: 1 (updates available!)
 - OS Missing Packages: None
 - OS APT Last Update: 15.06.2020 21:00:02 UTC +00:00:00
 - Shell Locale: en_US.UTF-8
 - Bot Start Script: not found
 - CPU:
    Architecture:                    x86_64
    CPU(s):                          8
    Thread(s) per core:              2
    Core(s) per socket:              4
    Socket(s):                       1
    Model name:                      Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
    CPU MHz:                         1553.624
    Virtualization:                  VT-x
 - RAM: 2.47 GB/22.94 GB in use (10%)
 - SWAP: 0 B/7.99 GB in use (0%)
 - DISK: 15.88 GB/233.23 GB in use (6%)
 - Package versions:
   - libglib: 2.64.2-1~fakesync1

BOT INFORMATION
 - Status: running (PIDs: 1139 1105, User: sinusbot)
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /opt/sinusbot/sinusbot
 - Binary Info: MD5 Hash: 224b687db910b732fe5a7cfec4f6c78e, Perms: 755, User: sinusbot
 - Version:
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: aa483aea105cb62033392b1ce6d317ab
   - TS3 Client: aa483aea105cb62033392b1ce6d317ab
 - Config:
   - LogLevel = 3
   - TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.5.3)
   - YoutubeDLPath = not set
 - Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; followme.js; norecording.js; rememberChannel.js; sinusbot-commands.js; welcome.js

BOT TECHNICAL INFORMATION
 - File exists:
   - TS3Client/libqxcb-glx-integration.so: no
 - LDD output:
    linux-vdso.so.1 (0x00007ffca1de0000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007f2a69107000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007f2a68daf000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007f2a689ae000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007f2a68049000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007f2a67dd5000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2a67dbc000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2a67c6b000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2a67c48000)
    libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2a67a67000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2a67a4c000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2a6785a000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2a6783e000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f2a67831000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f2a69323000)

REACHABILITY CHECKS
 - HTTPS check with IPv4 mode: SUCCESS [Connection established to www.sinusbot.com, CODE #200]
 - HTTPS check with IPv6 mode: IGNORED [Disabled]
 - DNS resolution check: SUCCESS [www.sinusbot.com resolved to 172.67.132.160]
 - Update server checks:
    update01.sinusbot.com -> 172.67.132.160: SUCCESS [CODE #404]
    update02.sinusbot.com -> 172.67.132.160: SUCCESS [CODE #404]
    update03.sinusbot.com -> 104.28.15.74: SUCCESS [CODE #404]

TIME INFORMATION
 - Time (local): 16.06.2020 00:09:41 UTC +00:00:00
 - Time (remote): 16.06.2020 00:09:41 UTC +00:00:00
 - Time (difference): 0 secs (Time diff less than 2 secs. Good.)
 - Timezone: Etc/UTC

OTHER INFORMATION
 - TeamSpeak3 Version: 3.5.3
 - youtube-dl Version: unknown
 - DiagScript Version: 0.8.0
==========================================================
 

olokos

Insider
Insider
Problem solved thanks to help of @rotherpanter

Turns out my sinusbot was able to connect using remote IP/domain name, but not localhost or 127.0.0.1

Problem was twofold.

First: ts3server.ini contained local ip (192.168.1.90) instead of 0.0.0.0

This made sinusbot able to connect only via remote IP/domain name

Changing it to 0.0.0.0 in ts3server.ini resulted in server unable to start, as LGSM was telling me that I should set it to local IP (192.168.1.90)

That doesn't make much sense, so I went into /etc/hosts and compared it with my main server.


Main server was:
Code:
127.0.0.1 localhost
127.0.0.1 mydomain.pl
and backup was:
Code:
127.0.0.1 localhost
127.0.1.1 mydomain.com
Theoretically, this shouldn't make a difference, as @rotherpanter linked this
https://serverfault.com/questions/363095/why-does-my-hostname-appear-with-the-address-127-0-1-1-rather-than-127-0-0-1-in#:~:text=The address 127.0.,0.1 if/when necessary

But I went ahead and changed the backup server to `127.0.0.1 mydomain.com` anyway, just to see how it goes.

Bam, problem solved, I can now connect with sinusbot using 127.0.0.1 to my ts3 server and everything works as expected.

Weirdest of all, I didn't edit the backup server hosts file before,server by default entered `127.0.1.1 mydomain.com`, but changing it back to `127.0.0.1 mydomain.com` solved all of my issues.
 
Last edited:

Similar threads

Top