• 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.

Bug Running time error

Status
Not open for further replies.

djshylow

Member
ubuntu@ip-172-31-15-242:/opt/ts3soundboard$ ls
config.ini data libavformat.so.56 libswresample.so.1 README.md TeamSpeak3-Client-linux_amd64 ts3bot
config.ini.dist libavcodec.so.56 libavutil.so.54 plugin sinusbot-0.9.8.tar.bz2 TeamSpeak3-Client-linux_amd64-3.0.16.run
ubuntu@ip-172-31-15-242:/opt/ts3soundboard$ sudo xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension GLX
[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/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
2015/09/20 06:39:43 !!!!!!! YOU ARE RUNNING THE BOT AS UID 0 (ROOT) WITHOUT HAVING SET ANOTHER UID. THIS IS A SERIOUS SECURITY VIOLATION !!!!!!!!
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

(C) 2013-2015 Michael Friese. All rights reserved.

2015/09/20 06:39:43 15afaea5 INFO Initializing bot://15afaea5-0233-4f79-a0f8-1124ef5fe9d7
2015/09/20 06:39:43 15afaea5 fc7fd24b INFO Loaded
2015/09/20 06:39:43 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/09/20 06:39:43 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/09/20 06:39:43 RadioStation data loaded
2015/09/20 06:39:43 Imported radio stations

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

LC_ALL="en_US.UTF-8" xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

Results

ubuntu@ip-172-31-15-242:/opt/ts3soundboard$ LC_ALL="en_US.UTF-8" xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension GLX
[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/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

(C) 2013-2015 Michael Friese. All rights reserved.

2015/09/20 06:43:19 15afaea5 INFO Initializing bot://15afaea5-0233-4f79-a0f8-1124ef5fe9d7
panic: attempt to write a readonly database

goroutine 10 [running]:
github.com/jmoiron/sqlx.MustExec(0x7f3db23a1b18, 0xc2080fec90, 0xab94d0, 0x17, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/go/src/github.com/jmoiron/sqlx/sqlx.go:669 +0xde
github.com/jmoiron/sqlx.(*DB).MustExec(0xc2080fec90, 0xab94d0, 0x17, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/go/src/github.com/jmoiron/sqlx/sqlx.go:341 +0xa2
main.(*DB).Init(0xc20808c7e0, 0xa78500, 0x7, 0xc2080f6150, 0x61)
/opt/go/src/frie.se/ts3bot/db.go:155 +0x111c
main.(*Bot).Init(0xc20808c7e0, 0x0, 0x7f3db23a18c0)
/opt/go/src/frie.se/ts3bot/bot.go:169 +0x36b
main.func·036()
/opt/go/src/frie.se/ts3bot/main.go:544 +0x1829
created by time.goFunc
/usr/local/go/src/time/sleep.go:129 +0x4b

goroutine 1 [select (no cases)]:
main.main()
/opt/go/src/frie.se/ts3bot/main.go:672 +0x2929

goroutine 5 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/local/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 7 [chan receive]:
database/sql.(*DB).connectionOpener(0xc2080fa1e0)
/usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:452 +0x31c

goroutine 11 [runnable]:
database/sql.(*DB).connectionOpener(0xc2080fa5a0)
/usr/local/go/src/database/sql/sql.go:588
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:452 +0x31c
xinit: connection to X server lost

waiting for X server to shut down
ubuntu@ip-172-31-15-242:/opt/ts3soundboard$
 

flyth

is reticulating splines
Staff member
Developer
Contributor
I can't see a "bug" in the first log. Could you please describe what's not working?

Seems like you started the second command with the first one running - which leads to panic: attempt to write a readonly database.
 

djshylow

Member
I can't see a "bug" in the first log. Could you please describe what's not working?

Seems like you started the second command with the first one running - which leads to panic: attempt to write a readonly database.

Even i do not get it i tried installing five times and reinstalled the OS too. Still i get the same error.

/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/100dpi, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
xinit: XFree86_VT property unexpectedly has 0 items instead of 1

Xvfb is crashing ? the teamspeak linux client keeps crashing i do not know why.


root@ip-172-31-15-242:/opt/ts3soundboard# xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension GLX
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
2015/09/21 02:49:49 !!!!!!! YOU ARE RUNNING THE BOT AS UID 0 (ROOT) WITHOUT HAVING SET ANOTHER UID. THIS IS A SERIOUS SECURITY VIOLATION !!!!!!!!
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

(C) 2013-2015 Michael Friese. All rights reserved.

-------------------------------------------------------------------------------
Generating new bot instance with account 'admin' and password 'foobar'
PLEASE MAKE SURE TO CHANGE THE PASSWORD DIRECTLY AFTER YOUR FIRST LOGIN!!!
-------------------------------------------------------------------------------
2015/09/21 02:49:50 Updating database to v1... 0
2015/09/21 02:49:50 Updating database to v2... 1
2015/09/21 02:49:50 Updating database to v3... 2
2015/09/21 02:49:50 c4c6490f INFO Creating default instance
2015/09/21 02:49:50 c4c6490f INFO Promoting instance to main instance
2015/09/21 02:49:50 c4c6490f 1fee843b INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3SB-Demobot&password=&channel=&channelpassword=
2015/09/21 02:49:50 c4c6490f INFO Adding new useradmin
2015/09/21 02:49:50 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/09/21 02:49:50 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/09/21 02:49:50 Could not find RadioStation-Data, updating...
tracks 10076
2015/09/21 02:49:54 RadioStation data loaded
2015/09/21 02:49:54 Imported radio stations
2015/09/21 02:49:55 c4c6490f 1fee843b INFO TSClient quit.
 
Last edited:
Status
Not open for further replies.
Top