Hallo Sinusbot community,
Ich bin ein bisschen ratlos und weiß nicht an wen ich mich wenden soll... bevor wir beginnen mal die aktuellsten debug logs!
das Webinterface ist von außen trotzdem erreichbar, keine ahnung warum der bot das sagt...
Tja, das problem liegt aber nicht dort sondern beim startup script!
Ich arbeite noch nicht so lange mit linux und wusste nicht wo ich mich sonst hinwenden sollte, da mir dieser fehler bisher noch nicht untergekommen ist, obwohl ich schon so einige startup scripts gebastelt habe.. ich hänge es mal ebenfalls an. ich habe drei mal überprüft ob ich für Sinusbot und das script die passenden berechtigungen haben
Hilfe
ich weiß ehrlich nicht weiter und den SSH client rund um die uhr laufen zu haben klingt weniger geil...
Game on,
Robert "Vesturo" Tiede
Ich bin ein bisschen ratlos und weiß nicht an wen ich mich wenden soll... bevor wir beginnen mal die aktuellsten debug logs!
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 16.04.5 LTS
- Kernel: Linux 4.4.0-137-generic x86_64
- Load Average: 0.06 0.04 0.00
- Uptime: 2 days, 2 hours, 14 minutes, 57 seconds
- OS x64 check: OK
- OS Updates: 13 (updates available!)
- OS Missing Packages: None
- OS APT Last Update: 19.10.2018 11:40:52 CEST +02:00:00
- SHELL LOCALE LANG: de_DE.UTF-8
- Bot Start Script: found at /etc/systemd/system/sinusbot.service [perms: 755]
- DNS resolution check: www.sinusbot.com resolved to 104.28.15.74 -> OK
- HTTPS check with IPv4 mode: SUCCESS [Connection was established to www.sinusbot.com, CODE #200]
- HTTPS check with IPv6 mode: IGNORE
- CPU:
Architecture: x86_64
CPU(s): 4
Socket(s): 1
Model name: Common KVM processor
CPU MHz: 3399.996
Hypervisor-Anbieter: KVM
- RAM: 2.20 GB/9.76 GB in use (22%)
- SWAP: 0 B/9.99 GB in use (0%)
- DISK: 6.99 GB/58.93 GB in use (11%)
- Package versions:
+ libglib: 2.48.2-0ubuntu4.1
BOT INFORMATION
- Status: not running
- Webinterface: port locally not reachable (Port: 8087)
- Binary: /opt/sinusbot/sinusbot
- Binary Info: MD5 Hash: 457224ee75d8a25d64eab6fc7465cd48, Perms: 777, User: sinusbot
- Version: 0.14.3-0e747fd
- TS3 Plugin: installed (md5 hash match)
- Bot Plugin: 9463787dd59286dea7a4a284409993c3
- TS3 Client: 9463787dd59286dea7a4a284409993c3
- Config:
- LogLevel = 3
- TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.2.1)
- YoutubeDLPath = not set
- Installed scripts: advertising.js; alonemode.js; Animated_Nickname.js; bookmark.js; CoverLoader_[Radio_Station_Support].js; followme.js; norecording.js; rememberChannel.js; Support.js; welcome.js; YT-search.js
TIME INFORMATION
- Time (local): 19.10.2018 14:28:29 CEST +02:00:00
- Time (remote): 19.10.2018 14:28:29 CEST +02:00:00
- Time (difference): 0 secs (Time diff less than 2 secs. Good.)
- Timezone: Europe/Berlin
OTHER INFORMATION
- TeamSpeak 3 Version: 3.2.1
- youtube-dl Version: unknown
- DiagScript Version: 0.7.1
==========================================================
Tja, das problem liegt aber nicht dort sondern beim startup script!
Code:
● sinusbot.service - Sinusbot, the Teamspeak 3 and Discord music bot.
Loaded: loaded (/etc/systemd/system/sinusbot.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fr 2018-10-19 14:28:40 CEST; 9s ago
Process: 2600 ExecStopPost=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=0/SUCCESS)
Process: 2598 ExecStart=/opt/sinusbot/sinusbot.dat (code=exited, status=203/EXEC)
Process: 4502 ExecStartPre=/bin/rm -f /tmp/.sinusbot.lock (code=exited, status=1/FAILURE)
Main PID: 2598 (code=exited, status=203/EXEC)
Okt 19 14:28:40 vm130 systemd[1]: Starting Sinusbot, the Teamspeak 3 and Discord music bot....
Okt 19 14:28:40 vm130 systemd[1]: sinusbot.service: Control process exited, code=exited status=1
Okt 19 14:28:40 vm130 systemd[1]: Failed to start Sinusbot, the Teamspeak 3 and Discord music bot..
Okt 19 14:28:40 vm130 systemd[1]: sinusbot.service: Unit entered failed state.
Okt 19 14:28:40 vm130 systemd[1]: sinusbot.service: Failed with result 'exit-code'.
Ich arbeite noch nicht so lange mit linux und wusste nicht wo ich mich sonst hinwenden sollte, da mir dieser fehler bisher noch nicht untergekommen ist, obwohl ich schon so einige startup scripts gebastelt habe.. ich hänge es mal ebenfalls an. ich habe drei mal überprüft ob ich für Sinusbot und das script die passenden berechtigungen haben
Code:
#!/bin/bash
[Unit]
Description=Sinusbot, the Teamspeak 3 and Discord music bot.
After=syslog.target network.target
[Service]
User=sinusbot
ExecStartPre=/bin/rm -f /tmp/.sinusbot.lock
ExecStopPost=/bin/rm -f /tmp/.sinusbot.lock
ExecStart=/opt/sinusbot/sinusbot.dat
WorkingDirectory=/opt/sinusbot
Type=simple
KillSignal=2
SendSIGKILL=yes
[Install]
WantedBy=multi-user.target
Hilfe

Game on,
Robert "Vesturo" Tiede