Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Instalacja SinusBot'a (Bota muzycznego)


artur8889

Rekomendowane odpowiedzi

Opublikowano

 

Błąd:

 
root@microvps:~/musicbot/bot# xinit /root/musicbot/bot/ts3bot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac


[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
2015/12/24 17:20:25 The bot will not run as root-user if you don't run it with the parameter '-RunningAsRootIsEvilAndIKnowThat'
xinit: connection to X server lost


waiting for X server to shut down
Jak dodaję ten parametr -RunningAsRootIsEvilAndIKnowThat to:

Unrecognized option: -RunningAsRootIsEvilAndIKnowThat
use: X [:<display>] [option]
-a #                   default pointer acceleration (factor)
-ac                    disable access control restrictions
-audit int             set audit trail level
-auth file             select authorization file
-br                    create root window with black background
+bs                    enable any backing store support
-bs                    disable any backing store support
-c                     turns off key-click
c #                    key-click volume (0-100)
-cc int                default color visual class
-nocursor              disable the cursor
-core                  generate core dump on fatal error
-dpi int               screen resolution in dots per inch
-dpms                  disables VESA DPMS monitor control
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f #                   bell base (0-100)
-fc string             cursor font
-fn string             default font name
-fp string             default font path
-help                  prints message with these options
-I                     ignore all remaining arguments
-ld int                limit data space to N Kb
-lf int                limit number of open files to N
-ls int                limit stack space to N Kb
-nolock                disable the locking mechanism
-nolisten string       don't listen on protocol
-noreset               don't reset after last client exists
-background [none]     create root window with no background
-reset                 reset after last client exists
-p #                   screen-saver pattern duration (minutes)
-pn                    accept failure to listen on all ports
-nopn                  reject failure to listen on all ports
-r                     turns off auto-repeat
r                      turns on auto-repeat
-render [default|mono|gray|color] set render color alloc policy
-retro                 start with classic stipple and cursor
-s #                   screen-saver timeout (minutes)
-seat string           seat to run on
-t #                   default pointer threshold (pixels/t)
-terminate             terminate at server reset
-to #                  connection time out
-tst                   disable testing extensions
ttyxx                  server started from init on /dev/ttyxx
v                      video blanking for screen-saver
-v                     screen-saver without video blanking
-wm                    WhenMapped default backing-store
-wr                    create root window with white background
-maxbigreqsize         set maximal bigrequest size
+xinerama              Enable XINERAMA extension
-xinerama              Disable XINERAMA extension
-dumbSched             Disable smart scheduling, enable old behavior
-schedInterval int     Set scheduler interval in msec
-sigstop               Enable SIGSTOP based startup
+extension name        Enable extension
-extension name        Disable extension
-query host-name       contact named host for XDMCP
-broadcast             broadcast for XDMCP
-multicast [addr [hops]] IPv6 multicast for XDMCP
-indirect host-name    contact named host for indirect XDMCP
-port port-num         UDP port number to send messages to
-from local-address    specify the local address to connect from
-once                  Terminate server after one session
-class display-class   specify display class to send in manage
-cookie xdm-auth-bits  specify the magic cookie for XDMCP
-displayID display-id  manufacturer display ID for request
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
                       enable/disable accessx key sequences
-ardelay               set XKB autorepeat delay
-arinterval            set XKB autorepeat interval
-screen scrn WxHxD     set screen's width, height, depth
-pixdepths list-of-int support given pixmap depths
+/-render                  turn on/off RENDER extension support(default on)
-linebias n            adjust thin line pixelization
-blackpixel n          pixel value for black
-whitepixel n          pixel value for white
-fbdir directory       put framebuffers in mmap'ed files in directory
-shmem                 put framebuffers in shared memory

Fatal server error:
Unrecognized option: -RunningAsRootIsEvilAndIKnowThat

 

 

Spróbuj zainstalować od nowa według tego poradnika

 

https://github.com/flyth/ts3soundbot/wiki/Installation---Debian-&-Ubuntu

Ew. zobacz starszą/nową wersje.

Jak sobie nie poradzisz odzywaj się na pw.

 

zapoznaj się też z:

 

https://forum.sinusbot.com/threads/bot-doesnt-connect-to-server.179/

Sprawdź swój config czy wszystko się zgadza m.in " security level "

  • Odpowiedzi 99
  • Dodano
  • Ostatniej odpowiedzi
  • 2 tygodnie później...
Opublikowano

Trochę odkop ale cóż... prawidłowa komenda na odpalenie serwera to:

xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

 

Jak dodać własną stacje radiowa?

Z tym jest problem.. potrzebujesz url streama radia a to znaleźć jest cholernie ciężko. Masz zakładke radio w panelu i możesz brać stamtąd w razie czego. 

Opublikowano

Jak dodać własną stacje radiowa?

 

Jeżeli ściągniesz plik .pls to edytujesz notatnikiem i masz IP.

 

Przechodzisz to zakładki 'All music' i używasz opcji 'Add URL'.

Opublikowano

Trochę odkop ale cóż... prawidłowa komenda na odpalenie serwera to:

xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

 

 

Jeżeli człowiek robi według tego, poradnika który widnieje w tym temacie to przy tej komendzie raczej nie wystartuje .... [ gdyż ścieżka jest nieprawidłowa ]

 

Osobiście polecam zamiast wersji 0.9.8 zainstalować 0.9.9 o wiele lepsza :)

GaduGadu: 42834379


 

Opublikowano

Na ostatniej prostej wywaliło error, przykre.

[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

Pomożecie? Robię wszystko zgodnie z poradnikiem.

Debian 7 64bit.

Opublikowano

Na ostatniej prostej wywaliło error, przykre.

[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

Pomożecie? Robię wszystko zgodnie z poradnikiem.

Debian 7 64bit.

 

To jest na pewno ostatnia linijka po wpisaniu komendy startowej ?

GaduGadu: 42834379


 

Opublikowano

Na ostatniej prostej wywaliło error, przykre.

[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

Pomożecie? Robię wszystko zgodnie z poradnikiem.

Debian 7 64bit.

restartuj maszyne

uruchom komendą:

 

xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac
Opublikowano

Idzie dodac większą ilość botów niz 1 oraz zeby każdy miał osobny panel ?

W starszej wersji można mieć max 6 botów, a co do osobnego panelu to polecam zrobić komuś konto i po sprawie. 

Opublikowano

możesz stworzyć nowego użytkownika i wybrać mu tam prawa, ale raczej nie da się zrobić tak aby pod jedną instancje był jeden użytkownik

 

Idzie dodac większą ilość botów niz 1 oraz zeby każdy miał osobny panel ?

Opublikowano

@Itan

To nie wina bota, tylko maszyny na której postawiłeś go.

Filtruje twoje połączenie.

­

Da się jaktoś to naprawić?

 

#edit

Była to wina przeglądarki nie maszyny :p

 

Jak zmienić hasło do konta administratora bota?

hex.svg

 PLAYBASE - Nowoczesna lista serwerów gier

Opublikowano

Settings > User Accounts 

 

Naciśnij ikonę ołówka[edit] tam jest opcja zmiany hasła do admina, znajduję się koło "X".

26640569586029896755.png

GaduGadu: 42834379


 

Opublikowano

 

Witam,

 

mam następujący problem. Cała instalacja bota poszła bez żadnych problemów, lecz gdy już bota włączam to pojawia się takie coś : http://scr.hu/186/y7kvb

Bot nie chce się połączyć z serwer, sam panel do bota działa bez problemu
 
Pozdrawiam.
 
// http://scr.hu/186/vbcvr - tak wygląda log na panelu.

 

Posiadasz aktualną wersję klienta?

Nie zmieniałeś czasem security level?

spróbuj odinstalować i zainstalować nową lub ciut starszą wersję klienta

Nie umie mi wyszukać komendy curl, co mam wpisać zamiast niej by mi pobrało bota? ;d

po co Ci to?

Zerknij ten poradnik:

http://www.mpcforum.pl/topic/1509706-poradnik-sinusbot-6-instancji-bot-muzyczny/

Opublikowano

Po wpisaniu linijki odpalającej jest taki bład:

 

 

 
SELinux: Disabled on system, not enabling in X server
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
[dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
/opt/ts3soundboard/ts3bot: /opt/ts3soundboard/ts3bot: cannot execute binary file
 
waiting for X server to shut down
 
Opublikowano

Doinstalowalem kilka wygooglowanych bibliotek i mozna powiedziec ze jest ok bo bot startuje lecz nie wbija na serwer. 

 

2016/01/28 18:16:14 778eb479 fe5de05b INFO   Starting instance ts3server://ipmojegoserwera.pl?port=9987&nickname=Muzyka&password=&cid=1&channelpassword=

/home/musicbot/bot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
2016/01/28 18:16:14 778eb479 fe5de05b INFO   TSClient qui

Mysle ze moze jest to problem tego ze moj system jest 32bitowy?

Opublikowano

Jeżeli ściągnąłeś klienta teamspeak'a 3 pod wersje 64 bitową a masz 32 bity ... Po za tym z tego co pamiętam to poradnik jest na wersje 64 bitową.

GaduGadu: 42834379


 

Opublikowano

Aktualnie mam system 64 włączył się lecz tak jak wcześniej.

2016/01/30 10:24:27 30a14a1a 4aa234a7 INFO   Starting instance ts3server://ipmojegoserwa?port=9987&nickname=Bot%20Muzyczny&password=&channel=&channelpassword=
2016/01/30 10:24:27 30a14a1a 4aa234a7 INFO   TSClient quit.
Opublikowano

1.gdy wpisuje nano conig mam czarny ekran

2. gdy wpisuje

screen xinit /home/bot/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac
 mam
xinit: unable to run server "/usr/bin/Xvfb": No such file or directory
Use the -- option, or make sure that /usr/bin is in your path and
that "/usr/bin/Xvfb" is a program or a link to the right type of server
for your display.  Possible server names include:
 
    Xorg        Common X server for most displays
    Xvfb        Virtual frame buffer
    Xfake       kdrive-based virtual frame buffer
    Xnest       X server nested in a window on another X server
    Xephyr      kdrive-based nested X server
    Xvnc        X server accessed over VNC's RFB protocol
    Xdmx        Distributed Multi-head X server

MLhIXmj.gif

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...