• 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 Licence prevent SINUSBOT from starting, without it's working like a charm

Satanael

Active Member
Hello,

First i want to apologise for this thread, i'm doing something wrong for sure but i'm not enough skilled or too dumb to fin out why ! šŸ˜­

When i put the new private.dat licence in the /opt/sinusbot/ directory, the bot won't start (chown sinusbot:sinusbot chmod 644).
It's a fresh install on debian V9.9 with the official script (1.0.0-beta.3), so i decided to manually installed the 1.0.0-beta.5 using the upgrade process described here.
By the way, i didn't find what is the TS client version to use with the beta.5 (not mentioned here), so i kept the 3.3.0.
Still the same issue, either if i started the bot on root with the start service or under the sinusbot account.

You will find below the detail of the sinusbot environment :

Code:
Local time: dim. 2019-08-18 01:21:32 CEST
  Universal time: sam. 2019-08-17 23:21:32 UTC
        RTC time: sam. 2019-08-17 23:21:32
       Time zone: Europe/Paris (CEST, +0200)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

Distributor ID: Debian
Description:    Debian GNU/Linux 9.9 (stretch)
Release:        9.9
Codename:       stretch

   Pretty hostname: (meow.secretdomain.cat)
         Icon name: computer-vm
           Chassis: vm
    Virtualization: vmware
  Operating System: Debian GNU/Linux 9 (stretch)
            Kernel: Linux 4.9.0-9-amd64
      Architecture: x86-64
Code:
ā— sinusbot.service - Sinusbot, the Teamspeak 3 and Discord music bot.
   Loaded: loaded (/lib/systemd/system/sinusbot.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2019-08-18 02:30:36 CEST; 11s ago
  Process: 7150 ExecStopPost=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=0/SUCCESS)
  Process: 7144 ExecStart=/opt/sinusbot/sinusbot (code=exited, status=255)
  Process: 7141 ExecStartPre=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=0/SUCCESS)
Main PID: 7144 (code=exited, status=255)

aoƻt 18 02:30:35 meow.secretdomain.cat sinusbot[7144]: / __|_ _| \| | | | / __| _ )/ _ \_   _|
aoƻt 18 02:30:35 meow.secretdomain.cat sinusbot[7144]: \__ \| || .` | |_| \__ \ _ \ (_) || |
aoƻt 18 02:30:35 meow.secretdomain.cat sinusbot[7144]: |___/___|_|\_|\___/|___/___/\___/ |_|
aoƻt 18 02:30:35 meow.secretdomain.cat sinusbot[7144]: Version: 1.0.0-beta.5-b262b6a
aoƻt 18 02:30:35 meow.secretdomain.cat sinusbot[7144]: (C) 2013-2019 Michael Friese. All rights reserved.
aoƻt 18 02:30:36 meow.secretdomain.cat sinusbot[7144]: 2019/08/18 02:30:36 d21f4e50          INFO   Loading instances
aoƻt 18 02:30:36 meow.secretdomain.cat sinusbot[7144]: Error on startup. Sorry, this may be unrecoverable.
aoƻt 18 02:30:36 meow.secretdomain.cat systemd[1]: sinusbot.service: Main process exited, code=exited, status=255/n/a
aoƻt 18 02:30:36 meow.secretdomain.cat systemd[1]: sinusbot.service: Unit entered failed state.
aoƻt 18 02:30:36 meow.secretdomain.cat systemd[1]: sinusbot.service: Failed with result 'exit-code'.
Code:
[Unit]
Description=Sinusbot, the Teamspeak 3 and Discord music bot.
Wants=network-online.target
After=syslog.target network.target network-online.target

[Service]
User=sinusbot
ExecStartPre=/bin/rm -f /tmp/.sinusbot.lock
ExecStopPost=/bin/rm -f /tmp/.sinusbot.lock
ExecStart=/opt/sinusbot/sinusbot
WorkingDirectory=/opt/sinusbot
Type=simple
KillSignal=2
SendSIGKILL=yes
Environment=QT_XCB_GL_INTEGRATION=none
LimitNOFILE=512000
LimitNPROC=512000

[Install]
WantedBy=multi-user.target
Code:
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
AllowStreamPush = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "Doggolicencekey"
IsProxied = true
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  MaxSimultaneousChunkDownloads = 6
  CacheStreamed = false
  TimeoutSingleDownloader = 0
  TimeoutMultiDownloader = 0
  ChunkSize = 3145728

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false

[StreamRewrites]

[Scripts]
  Debug = false
  AllowReload = false
  EnableTimer = false
  DisableLegacyEvents = false
  DevMode = false
  ScriptTimeout = 5

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (1.0.0-beta.3-735814e)"
  WaitTime = 0

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

[SHMem]
  Enable = false
  Size = 0
  Delay = 0
  Interval = 0

[RadioStations]
  URL = ""
  UpdateInterval = 0

[TTS]
  Enabled = false
Code:
 sudo ls -la /opt/sinusbot/
total 68620
drwxr-x---  7 sinusbot sinusbot     4096 aoƻt  18 03:20 .
drwxr-xr-x  4 root     root         4096 aoƻt  16 17:32 ..
-rwxr-x---  1 sinusbot sinusbot     1515 aoƻt  18 02:41 config.ini
-rw-r--r--  1 sinusbot sinusbot      119 aoƻt   2 16:14 config.ini.dist
drwxr-xr-x  9 sinusbot sinusbot     4096 aoƻt   2 16:14 data
-rwxr-x---  1 sinusbot sinusbot    57748 aoƻt  18 01:26 diagSinusbot.sh
-rw-r--r--  1 sinusbot sinusbot  2808160 aoƻt   2 16:14 icudt62l.dat
-rwxr-x---  1 sinusbot sinusbot      107 aoƻt  18 00:54 KOprivate.dat
-rwxr-xr-x  1 sinusbot sinusbot  4349480 aoƻt   2 16:14 libavcodec.so.57
-rwxr-xr-x  1 sinusbot sinusbot  1410288 aoƻt   2 16:14 libavfilter.so.6
-rwxr-xr-x  1 sinusbot sinusbot  2100872 aoƻt   2 16:14 libavformat.so.57
-rwxr-xr-x  1 sinusbot sinusbot   393536 aoƻt   2 16:14 libavutil.so.55
-rw-r--r--  1 sinusbot sinusbot   973872 aoƻt   2 16:14 libsbtts_rt.so
-rwxr-xr-x  1 sinusbot sinusbot   108024 aoƻt   2 16:14 libswresample.so.2
drwxr-xr-x  2 sinusbot sinusbot     4096 aoƻt   2 16:14 plugin
-rw-r--r--  1 sinusbot sinusbot      104 aoƻt  18 02:41 private.dat
-rwxr-x---  1 sinusbot sinusbot     1110 aoƻt  18 02:18 README_installer.txt
-rw-r--r--  1 sinusbot sinusbot     3382 aoƻt   2 16:14 README.md
drwxr-xr-x  2 sinusbot sinusbot     4096 aoƻt   2 16:14 scripts
-rwxr-xr-x  1 sinusbot sinusbot 36701668 aoƻt   2 16:14 sinusbot
-rw-r--r--  1 sinusbot sinusbot 18678260 aoƻt  18 02:27 sinusbot-1.0.0-beta.5-b262b6a.tar.bz2
drwxr-x--- 16 sinusbot sinusbot     4096 aoƻt  16 09:45 teamspeak3-client
drwxr-xr-x  2 sinusbot sinusbot     4096 aoƻt   2 16:14 tts
-rwxr-xr-x  1 sinusbot sinusbot  2608584 aoƻt   2 16:14 ttshlpr
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Debian GNU/Linux 9.9 (stretch)
- Kernel: Linux 4.9.0-9-amd64 x86_64
- Load Average: 0.12 0.18 0.20
- Uptime: 0 days, 0 hours, 56 minutes, 39 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 18.08.2019 02:18:06 CEST +02:00:00
- Shell Locale: fr_FR.UTF-8
- Bot Start Script: not found
- CPU:
    Architecture :        x86_64
    Socket(s) :           1
- RAM: 558.94 MB/996.47 MB in use (56%)
- SWAP: 35.90 MB/975.99 MB in use (3%)
- DISK: 3.27 GB/18.60 GB in use (17%)
- Package versions:
   - libglib: 2.50.3-2

BOT INFORMATION
- Status: not running
- Webinterface: port locally not reachable (Port: 8087)
- Binary: /opt/sinusbot/sinusbot
- Binary Info: MD5 Hash: 2ee075d4cb2a3a640862b4eefa0fa6b1, Perms: 755, User: sinusbot
- Version: 1.0.0-beta.5-b262b6a
- TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: 2e771e4332cf87da1f72d58aa6923f9f
   - TS3 Client: 2e771e4332cf87da1f72d58aa6923f9f
- Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 (Version 3.3.0)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2019.08.13)
- Installed scripts: advertising.js; alonemode.js; AntiProxy.js; automaticCodec.js; away_mover.js; bookmark.js; ChatToTTS.js; command.js; defaultChannel+.js; dice.js; followme.js; jail.js; norecording.js; OKlib.js; onlineMembersCount.js; rememberChannel.js; RLNT MUOJ v1.0.0.js; volumeKeeper.js; welcome.js; WelcomeMessagePlus.js

BOT TECHNICAL INFORMATION
- File exists:
   - TS3Client/libqxcb-glx-integration.so: no
- LDD output:
    linux-vdso.so.1 (0x00007ffc653d8000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007fc281e34000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007fc281adc000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007fc2816db000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007fc280d76000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007fc280b02000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc2808fe000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc2805fa000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc2803dd000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc28005b000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc27fe44000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc27faa5000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc27f88b000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fc27f683000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fc28204e000)

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 104.28.14.74]
- Update server checks:
    update01.sinusbot.com -> 104.28.14.74: SUCCESS [CODE #404]
    update02.sinusbot.com -> 104.28.15.74: SUCCESS [CODE #404]
    update03.sinusbot.com -> 104.28.15.74: SUCCESS [CODE #404]

TIME INFORMATION
- Time (local): 18.08.2019 02:32:53 CEST +02:00:00
- Time (remote): 18.08.2019 02:32:53 CEST +02:00:00
- Time (difference): 0 secs (Time diff less than 2 secs. Good.)
- Timezone: Europe/Paris

OTHER INFORMATION
- TeamSpeak3 Version: 3.3.0
- youtube-dl Version: 2019.08.13
- DiagScript Version: 0.8.0
==========================================================

I pretty sure that i missing something, but can't find what it is o_O .
Again i'm sorry, thanks for your time.
 
Last edited:

Satanael

Active Member
Hello,

First possible issue was the linux bot version, as specified you should run the latest one. In my case the official installer script was stuck to the beta 3.
So i manually updated to beta 5.

The second one, which was the exact cause is a code 40 šŸ¤Ŗ : Your malfunction is due to an error between the chair and the keyboard.
In others words IT WAS ME ! A simple copy paste issue with the TeamSpeak 3 Server UID during the licence request procedure.

This is my advice : Do not request a licence late in the night !

Thanks @flyth for the support.
Teamspeak is dead, long live teamspeak ! Long live sinusbot
 
Last edited:
Top