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

SinusBot - problem z włączeniem


Rekomendowane odpowiedzi

Opublikowano

Witam,


Poszukuje SinusBota bez limitu instancji albo na dużo portów, ale żaden z poradników


na forum niestety mi nie działa, nie wiem dlaczego mam taki problem,


czy ktoś mógł by mi napisać na priv jakiś poradniczek dotczyczący tego bo


sporo osób np. u gronka zgłasza problem a nikt nie pomaga.


 


Z góry dziękuje.


Specjalista
Opublikowano

Starajmy się rozwiązywać te problemy. Jeśli na działały Ci te to inne też nie będą. Podaj wersje Sinusbota oraz systeam operacyjny na jakim próbujesz bota zainstalować.

 

Odapl też bota przez xinit. Wejdź do folderu z botem i wpisz te komendy.

apt-get install xinit
xinit ./sinusbot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -a
Opublikowano

 

Starajmy się rozwiązywać te problemy. Jeśli na działały Ci te to inne też nie będą. Podaj wersje Sinusbota oraz systeam operacyjny na jakim próbujesz bota zainstalować.

 

Odapl też bota przez xinit. Wejdź do folderu z botem i wpisz te komendy.

apt-get install xinit
xinit ./sinusbot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -a

Mam Taki Błąd

 

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

-displayfd fd          file descriptor to write display number to when ready to connect

-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

+iglx                  Allow creating indirect GLX contexts

-iglx                  Prohibit creating indirect GLX contexts (default)

-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

-maxclients n          set maximum number of clients (power of two)

-nolisten string       don't listen on protocol

-listen string         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

xinit: XFree86_VT property unexpectedly has 0 items instead of 1

xinit: Unable to run program "./sinusbot": No such file or directory

Specify a program on the command line or make sure that /usr/bin

is in your path.

 

xinit: connection to X server lost

 

waiting for X server to shut down

 

Wersja

0.9.12.3

Debian 7

Opublikowano

Spróbuj odpalić z innego użytkownika. I wpisz w folderze z botem

ls -l

I wyślij co tam masz

total 228

-rw-r--r-- 1 root root 2427 Oct 15  2012 README

-rwxr-xr-x 1 root root 1276 Oct 15  2012 bootlogs

-rwxr-xr-x 1 root root 1281 Jul 14  2013 bootmisc.sh

-rwxr-xr-x 1 root root 3816 Jul 14  2013 checkfs.sh

-rwxr-xr-x 1 root root 1099 Jul 14  2013 checkroot-bootclean.sh

-rwxr-xr-x 1 root root 9673 Jul 14  2013 checkroot.sh

-rwxr-xr-x 1 root root 1329 Oct 15  2012 halt

-rwxr-xr-x 1 root root 1423 Oct 15  2012 hostname.sh

-rwxr-xr-x 1 root root 3880 Dec 11  2012 hwclock.sh

-rwxr-xr-x 1 root root 1293 Oct 15  2012 killprocs

-rwxr-xr-x 1 root root 2044 Sep 26 19:39 kmod

-rwxr-xr-x 1 root root  674 Jan  8  2015 modules_dep.sh

-rwxr-xr-x 1 root root  995 Oct 15  2012 motd

-rwxr-xr-x 1 root root  670 Feb 23  2013 mountall-bootclean.sh

-rwxr-xr-x 1 root root 2128 Feb 23  2013 mountall.sh

-rwxr-xr-x 1 root root 1508 Jul 14  2013 mountdevsubfs.sh

-rwxr-xr-x 1 root root 1413 Jul 14  2013 mountkernfs.sh

-rwxr-xr-x 1 root root  678 Feb 23  2013 mountnfs-bootclean.sh

-rwxr-xr-x 1 root root 2440 Oct 15  2012 mountnfs.sh

-rwxr-xr-x 1 root root 1731 Jul 14  2013 mtab.sh

-rwxr-xr-x 1 root root 4322 Mar 14  2013 networking

-rwxr-xr-x 1 root root 1313 Jun 30  2012 plymouth

-rwxr-xr-x 1 root root  725 Jun 30  2012 plymouth-log

-rwxr-xr-x 1 root root 1346 May 20  2012 procps

-rwxr-xr-x 1 root root 3092 Mar 17  2013 quota

-rwxr-xr-x 1 root root 1959 Mar 17  2013 quotarpc

-rwxr-xr-x 1 root root 6120 Oct 15  2012 rc

-rwxr-xr-x 1 root root  782 Oct 15  2012 rc.local

-rwxr-xr-x 1 root root  117 Oct 15  2012 rcS

-rwxr-xr-x 1 root root  639 Oct 15  2012 reboot

-rwxr-xr-x 1 root root 1074 Jul 14  2013 rmnologin

-rwxr-xr-x 1 root root 3054 Oct  7  2014 rsyslog

-rwxr-xr-x 1 root root 1226 Jun 21 03:10 screen-cleanup

-rwxr-xr-x 1 root root 3200 Oct 15  2012 sendsigs

-rwxr-xr-x 1 root root  590 Oct 15  2012 single

-rwxrwxrwx 1 root root 1750 Aug  4 12:29 sinusbot.sh

-rwxrwxrwx 1 root root 8231 Aug  4 12:29 sinusbots_v0.9.12.3.sh

-rw-r--r-- 1 root root 4290 Oct 15  2012 skeleton

-rwxr-xr-x 1 root root 3881 Jun 28  2014 ssh

-rwxr-xr-x 1 root root  731 Jul  5 10:01 sudo

-rwxr-xr-x 1 root root 8827 Nov  8  2012 udev

-rwxr-xr-x 1 root root 1179 Aug 19  2012 udev-mtab

-rwxr-xr-x 1 root root 2721 Apr  9  2013 umountfs

-rwxr-xr-x 1 root root 2195 Apr  9  2013 umountnfs.sh

-rwxr-xr-x 1 root root 1122 Oct 15  2012 umountroot

-rwxr-xr-x 1 root root 3111 Oct 15  2012 urandom

-rwxr-xr-x 1 root root   19 Jan  8  2015 wide-dhcpv6-client

-rwxr-xr-x 1 root root 2757 Jul 14 08:39 x11-common

 

Specjalista
Opublikowano

Ehh...

 

Nie jesteś w folderze z botem a z plikiem instalacyjnym. 

cd /opt/ts3soundboard

I teraz znowu wpisz to co Ci dałem, czyli

xinit ./sinusbot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -a
Opublikowano

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
-displayfd fd          file descriptor to write display number to when ready to connect
-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
+iglx                  Allow creating indirect GLX contexts
-iglx                  Prohibit creating indirect GLX contexts (default)
-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
-maxclients n          set maximum number of clients (power of two)
-nolisten string       don't listen on protocol
-listen string         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
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down
 

Specjalista
Opublikowano

Wpisz jeszcze raz to i pokaż co się dzieje. Powiedz mi jeszcze jakim użytkownikiem próbujesz wykonujesz te komendy

cd /opt/ts3soundboard
ls -l
xinit ./sinusbot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -a

Pokaż wszystko co Ci wyjdzie i wstaw w spolier

Opublikowano

root@live4speak:/opt/ts3soundboard# ls -l
total 87744
-rw-r--r--  1 root root     3228 May 25  2015 README.md
drwxrwxr-x 12 root root     4096 Jul 14 06:19 TeamSpeak3-Client-linux_amd64
-rwxr-xr-x  1 root root 37054436 Jul 14 10:26 TeamSpeak3-Client-linux_amd64-3.0.19.4.run
-rw-r--r--  1 root root      168 Nov 17 11:16 config.ini
-rw-r--r--  1 root root      124 May 25  2015 config.ini.dist
-rwxr-xr-x  1 root root  4349480 Feb 23  2016 libavcodec.so.57
-rwxr-xr-x  1 root root  1410288 Feb 23  2016 libavfilter.so.6
-rwxr-xr-x  1 root root  2100872 Feb 23  2016 libavformat.so.57
-rwxr-xr-x  1 root root   393536 Feb 23  2016 libavutil.so.55
-rwxr-xr-x  1 root root   108024 Feb 23  2016 libswresample.so.2
drwxr-xr-x  2 root root     4096 Nov 17 11:15 plugin
drwxr-xr-x  2 root root     4096 Nov 17 11:15 scripts
-rwxr-xr-x  1 root root 30848599 Jul 21 01:08 sinusbot
-rw-r--r--  1 root root 13543015 Nov 17 11:15 sinusbot-0.9.12.3-e018f94.tar.bz2
root@live4speak:/opt/ts3soundboard# xinit ./sinusbot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -a

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
-displayfd fd          file descriptor to write display number to when ready to connect
-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
+iglx                  Allow creating indirect GLX contexts
-iglx                  Prohibit creating indirect GLX contexts (default)
-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
-maxclients n          set maximum number of clients (power of two)
-nolisten string       don't listen on protocol
-listen string         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
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down

 

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

Przepraszam zjadłem litrkę 'c' na końcu przez co xinit wywalał bład. Spróbuj raz jeszcze tą komendą

Opublikowano

z tym

root@live4speak:/opt/ts3soundboard# xinit /opt/ts3soundboard/sinusbot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down
 

all komendy

root@live4speak:/opt/ts3soundboard# ls -l
total 87744
-rw-r--r--  1 root root     3228 May 25  2015 README.md
drwxrwxr-x 12 root root     4096 Jul 14 06:19 TeamSpeak3-Client-linux_amd64
-rwxr-xr-x  1 root root 37054436 Jul 14 10:26 TeamSpeak3-Client-linux_amd64-3.0.19.4.run
-rw-r--r--  1 root root      168 Nov 17 11:16 config.ini
-rw-r--r--  1 root root      124 May 25  2015 config.ini.dist
-rwxr-xr-x  1 root root  4349480 Feb 23  2016 libavcodec.so.57
-rwxr-xr-x  1 root root  1410288 Feb 23  2016 libavfilter.so.6
-rwxr-xr-x  1 root root  2100872 Feb 23  2016 libavformat.so.57
-rwxr-xr-x  1 root root   393536 Feb 23  2016 libavutil.so.55
-rwxr-xr-x  1 root root   108024 Feb 23  2016 libswresample.so.2
drwxr-xr-x  2 root root     4096 Nov 17 11:15 plugin
drwxr-xr-x  2 root root     4096 Nov 17 11:15 scripts
-rwxr-xr-x  1 root root 30848599 Jul 21 01:08 sinusbot
-rw-r--r--  1 root root 13543015 Nov 17 11:15 sinusbot-0.9.12.3-e018f94.tar.bz2
root@live4speak:/opt/ts3soundboard# xinit /opt/ts3soundboard/sinusbot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost

waiting for X server to shut down
 

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

To musisz jeszcze takie coś dodać. Raczej nie polecam odpalania z roota - niczego.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...