• 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 Sinusbot only work with interne IP-Adresse

Hey,
my Sinusbot uses the interne ip-adresse if i put the externe IP-Adresse in, i get this error on start up.

Code:
root@instance-2:/opt/sinusbot# service sinusbot status


● 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-10-27 23:30:40 CET; 4s ago
  Process: 10469 ExecStopPost=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=0/SUCCESS)
  Process: 10455 ExecStart=/opt/sinusbot/sinusbot (code=exited, status=255)
  Process: 10454 ExecStartPre=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=0/SUCCESS)
Main PID: 10455 (code=exited, status=255)

Oct 27 23:30:39 instance-2 sinusbot[10455]: 2019/10/27 23:30:39 a8f27aa4 db1543a7 INFO   Initialization complete
Oct 27 23:30:39 instance-2 sinusbot[10455]: 2019/10/27 23:30:39 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3741798; license:
Oct 27 23:30:39 instance-2 sinusbot[10455]: 2019/10/27 23:30:39 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3742052; license
Oct 27 23:30:39 instance-2 sinusbot[10455]: 2019/10/27 23:30:39 [GENERAL/YTDL   ] INFO   youtube-dl checking...
Oct 27 23:30:40 instance-2 sinusbot[10455]: 2019/10/27 23:30:40 a8f27aa4 db1543a7 INFO   script command loaded
Oct 27 23:30:40 instance-2 sinusbot[10455]: 2019/10/27 23:30:40 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, su
Oct 27 23:30:40 instance-2 sinusbot[10455]: 2019/10/27 23:30:40 [GENERAL/!!!!!!!] NOTICE You may now configure and launch
Oct 27 23:30:40 instance-2 sinusbot[10455]: error starting up: listen tcp 35.246.191.252:8087: bind: cannot assign request
Oct 27 23:30:40 instance-2 systemd[1]: sinusbot.service: Main process exited, code=exited, status=255/n/a
Oct 27 23:30:40 instance-2 systemd[1]: sinusbot.service: Failed with result 'exit-code'.

Normal Start

Code:
sinusbot@instance-2:/opt/sinusbot$ ./sinusbot 

 ___ ___ _  _ _   _ ___ ___  ___ _____
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || |  
|___/___|_|\_|\___/|___/___/\___/ |_|  

Version: 1.0.0-beta.5-b262b6a
(C) 2013-2019 Michael Friese. All rights reserved.

2019/10/28 01:47:45 a8f27aa4          INFO   Loading instances
2019/10/28 01:47:45 a8f27aa4          INFO   Loading instance://db1543a7-f560-42fe-a121-633d0056fc31
2019/10/28 01:47:45 a8f27aa4 db1543a7 INFO   Initialization complete
2019/10/28 01:47:45 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3741798; license: LGPL version 2.1 or later; 81 codecs
2019/10/28 01:47:45 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3742052; license: LGPL version 2.1 or later; 143 formats
2019/10/28 01:47:45 [GENERAL/YTDL   ] INFO   youtube-dl checking...
2019/10/28 01:47:45 a8f27aa4 db1543a7 INFO   script command loaded
2019/10/28 01:47:46 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2019/10/28 01:47:46 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://35.246.191.252:8087
error starting up: listen tcp 35.246.191.252:8087: bind: cannot assign requested address
sinusbot@instance-2:/opt/sinusbot$

Using 0.0.0.0 or Interne IP
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 18.04.3 LTS
- Kernel: Linux 5.0.0-1021-gcp x86_64
- Load Average: 0.00 0.00 0.02
- Uptime: 0 days, 0 hours, 38 minutes, 4 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 27.10.2019 22:47:48 CET +01:00:00
- Shell Locale: C.UTF-8
- Bot Start Script: not found
- CPU:
    Architecture:        x86_64
    CPU(s):              1
    Thread(s) per core:  1
    Core(s) per socket:  1
    Socket(s):           1
    Model name:          Intel(R) Xeon(R) CPU @ 2.20GHz
    CPU MHz:             2200.000
    Hypervisor vendor:   KVM
    Virtualization type: full
- RAM: 274.17 MB/579.07 MB in use (47%)
- SWAP: 0 B/0 B in use (0%) (SWAP disabled)
- DISK: 1.67 GB/9.52 GB in use (17%)
- Package versions:
   - libglib: 2.56.4-0ubuntu0.18.04.4

BOT INFORMATION
- Status: running (PIDs: 7502 7501, User: spam2 sinusbot)
- Webinterface: port locally 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 = 3
   - TS3Path = /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 (Version 3.3.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2019.10.22)
- Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; followme.js; norecording.js; rememberChannel.js; welcome.js

BOT TECHNICAL INFORMATION
- File exists:
   - TS3Client/libqxcb-glx-integration.so: no
- LDD output:
    linux-vdso.so.1 (0x00007ffde0385000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007f9962706000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007f99623ae000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007f9961fad000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007f9961648000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007f99613d4000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f99611d0000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9960e32000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9960c13000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f996088a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9960672000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9960281000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9960064000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f995fe5c000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f9962920000)

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.14.74: SUCCESS [CODE #404]
    update03.sinusbot.com -> 104.28.14.74: SUCCESS [CODE #404]

TIME INFORMATION
- Time (local): 27.10.2019 23:23:11 CET +01:00:00
- Time (remote): <Failed retrieving remote time!>
- Time (difference): n/a secs
- Timezone: Europe/Berlin

OTHER INFORMATION
- TeamSpeak3 Version: 3.3.2
- youtube-dl Version: 2019.10.22
- DiagScript Version: 0.8.0
==========================================================

After using Externe IP
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 18.04.3 LTS
- Kernel: Linux 5.0.0-1021-gcp x86_64
- Load Average: 0.00 0.00 0.00
- Uptime: 0 days, 0 hours, 49 minutes, 42 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 27.10.2019 22:47:48 CET +01:00:00
- Shell Locale: C.UTF-8
- Bot Start Script: not found
- CPU:
    Architecture:        x86_64
    CPU(s):              1
    Thread(s) per core:  1
    Core(s) per socket:  1
    Socket(s):           1
    Model name:          Intel(R) Xeon(R) CPU @ 2.20GHz
    CPU MHz:             2200.000
    Hypervisor vendor:   KVM
    Virtualization type: full
- RAM: 256.96 MB/579.07 MB in use (44%)
- SWAP: 0 B/0 B in use (0%) (SWAP disabled)
- DISK: 1.67 GB/9.52 GB in use (17%)
- Package versions:
   - libglib: 2.56.4-0ubuntu0.18.04.4

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 = 3
   - TS3Path = /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 (Version 3.3.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2019.10.22)
- Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; followme.js; norecording.js; rememberChannel.js; welcome.js


BOT TECHNICAL INFORMATION
- File exists:
   - TS3Client/libqxcb-glx-integration.so: no
- LDD output:
    linux-vdso.so.1 (0x00007fffe599e000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007fefaf1e7000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007fefaee8f000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007fefaea8e000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007fefae129000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007fefadeb5000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fefadcb1000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fefad913000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fefad6f4000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fefad36b000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fefad153000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fefacd62000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fefacb45000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fefac93d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fefaf401000)

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

TIME INFORMATION
- Time (local): 27.10.2019 23:34:50 CET +01:00:00
- Time (remote): <Failed retrieving remote time!>
- Time (difference): n/a secs
- Timezone: Europe/Berlin

OTHER INFORMATION
- TeamSpeak3 Version: 3.3.2
- youtube-dl Version: 2019.10.22
- DiagScript Version: 0.8.0
==========================================================

Cant find the solution in forum and documentation.
THX for your Help.
Mit Galaktischen Grüßen PlanetWalker.
 
Last edited:
It was a Problem with Google Cloud Server....
You can fix it by adding a new Statisch IP under external IP.
In your conf you need 0.0.0.0 as ListenHost.
Use the new Ip to connect.
 
Top