• 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 Could not open /tmp/.sinusbot.lock. Is SinusBot already running?

raffnix_

New Member
Moin moin zusammen,

damals bei TS-Coach habe ich für Kunden relativ wenige Sinusbots aufgesetzt und habe jetzt ein kleines Problem. Ich habe den Sinusbot installiert (aktuellsten), den Client (aktuellsten 64Bit) Rechte korrekt vergeben die Pfade in den Configs angepasst und beim Starten des Sinusbots kommt der Fehler vom Betreff dieses Topics. bin jedoch etwas ratlos, da ich ja alles wie sonst auch gemacht habe o:

Schonmal danke im Voraus für die Hilfe ;)

Betriebsystem ist Debian 9
 

raffnix_

New Member
Das funktioniert leider auch nicht, dadurch kommt folgender Fehler:

Code:
sinusbot@mail:~$ ./sinusbot
Library not found.
2019/02/02 14:03:12 X [MAIN] Starting up fake x-server...
Sanity checks failed, unable to run. Please read the installation-guide carefully and contact support if necessary.


Code:
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Debian GNU/Linux 9.7 (stretch)
- Kernel: Linux 4.9.0-8-amd64 x86_64
- Load Average: 0.47 0.36 0.29
- Uptime: 148 days, 15 hours, 14 minutes, 3 seconds
- OS x64 check: OK
- OS Updates: 58 (updates available!)
- OS Missing Packages: None
- OS APT Last Update: 02.02.2019 10:55:13 CET +01:00:00
- SHELL LOCALE LANG: en_US.UTF-8
- Bot Start Script: not found
- DNS resolution check: www.sinusbot.com resolved to 104.28.14.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):                8
    Thread(s) per core:    2
    Core(s) per socket:    4
    Socket(s):             1
    Model name:            Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
    CPU MHz:               1669.702
    Virtualization:        VT-x
- RAM: 3.26 GB/15.58 GB in use (20%)
- SWAP: 280.00 KB/7.99 GB in use (0%)
- DISK: 97.39 GB/2.67 TB in use (3%)
- Package versions:
   + libglib: 2.50.3-2

BOT INFORMATION
- Status: not running
- Webinterface: port locally not reachable (Port: 8087)
- Binary: /home/sinusbot/sinusbot
- Binary Info: MD5 Hash: 457224ee75d8a25d64eab6fc7465cd48, Perms: 755, User: sinusbot
- Version: 0.14.3-0e747fd
- TS3 Plugin: not installed
   - Bot Plugin: unknown
   - TS3 Client: unknown
- Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /home/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.2.3)
   - YoutubeDLPath = not set
- Installed scripts: advertising.js; alonemode.js; bookmark.js; followme.js; norecording.js; rememberChannel.js; welcome.js

TIME INFORMATION
- Time (local): 02.02.2019 14:01:40 CET +01:00:00
- Time (remote): 02.02.2019 14:01:40 CET +01:00:00
- Time (difference): 0 secs (Time diff less than 2 secs. Good.)
- Timezone: Europe/Berlin

OTHER INFORMATION
- TeamSpeak 3 Version: 3.2.3
- youtube-dl Version: unknown
- DiagScript Version: 0.7.1
==========================================================

Notice: For a better overview, post this data
in the forum within a CODE-tag!


[2019-02-02 14:01:42] [DEBUG] Done.
 

raffnix_

New Member
Nachtrag:

Code:
 894  apt-get update
  895  apt-get upgrade
  896  clear
  897  apt-get install x11vnc xvfb libxcursor1 ca-certificates curl libglib2.0-0 nano bzip2 -y
  898  adduser --disabled-login sinusbot
  899  mkdir -p /home/sinusbot
  900  chown sinusbot:sinusbot /home/sinusbot
  901  su sinusbot
  902  cd /home/sinusbot
  903  ls
  904  tar -xjf sinusbot.current.tar.bz2
  905  ls
  906  cp config.ini.dist config.ini
  907  ls
  908  chmod 775 TeamSpeak3-Client-linux_amd64-3.2.3.run
  909  ./TeamSpeak3-Client-linux_amd64-3.2.3.run
  910  nano config.ini
  911  cp plugin/libsoundbot_plugin.so /home/sinusbot/TeamSpeak3-Client-linux_amd64/plugins
  912  ./sinusbot -update
  913  ./sinusbot
  914  chmod 755 sinusbot
  915  su sinusbot
  916  apt-get install bc binutils coreutils lsb-release util-linux
  917  cd /home7sinusbot/
  918  cd /home/sinusbot/
  919  curl -O https://raw.githubusercontent.com/patschi/sinusbot-tools/master/tools/diagSinusbot.sh
  920  bash diagSinusbot.sh
  921  ./sinusbot
  922  su sinusbot
 

GFN_Jan1027

Active Member
Hatte den glaube ich auch mal ^^.

Hab einfach GENAU nach Anleitung installiert.

Würde es einfach genauso machen ohne irgendwelche Verzeichnis wechsel etc pp ohne extra "tools" und gucken ob der Fehler dann immer noch auftritt
 

raffnix_

New Member
Code:
sinusbot@mail:~$ ls -lah /tmp/
total 52K
drwxrwxrwt 13 root     root     4.0K Feb  2 14:39 .
drwxr-xr-x 22 root     root     4.0K Sep  6 23:43 ..
drwxrwxrwt  2 root     root     4.0K Sep  6 23:47 .font-unix
drwx------  2 git      git      4.0K Feb  2 13:00 gitaly-ruby837075672
drwxrwxrwt  2 root     root     4.0K Sep  6 23:47 .ICE-unix
-rw-r--r--  1 sinusbot sinusbot    0 Feb  2 14:34 .sinusbot.lock
drwx------  3 root     root     4.0K Sep  6 23:47 systemd-private-46b7ad062b5e44198ff965784b4d5206-dovecot.service-I0jylm
drwx------  3 root     root     4.0K Sep  6 23:47 systemd-private-46b7ad062b5e44198ff965784b4d5206-haveged.service-SUVWyN
drwx------  3 root     root     4.0K Sep  6 23:47 systemd-private-46b7ad062b5e44198ff965784b4d5206-redis-server.service-GP1hLB
drwx------  3 root     root     4.0K Jan 25 12:10 systemd-private-46b7ad062b5e44198ff965784b4d5206-systemd-timesyncd.service-P1C4fI
drwxrwxrwt  2 root     root     4.0K Sep  6 23:47 .Test-unix
drwxr-xr-x  2 root     root     4.0K Dec 30 20:33 .webmin
drwxrwxrwt  2 root     root     4.0K Feb  2 14:34 .X11-unix
drwxrwxrwt  2 root     root     4.0K Sep  6 23:47 .XIM-unix

Die .sinusbot.lock wird immer neu erstellt wenn ich sie lösche.
 

raffnix_

New Member
Okay, das hat semi funktioniert. Der mkdir Befehl war zum Beispiel nicht möglich, also habe ich den Ordner manuell erstellt. Der Bot läuft einwandfrei und ich versuche jetzt, das Startscript einzurichten.

Danke für die Hilfe :)
 
Top