• 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 Problem to start the bot

Status
Not open for further replies.

Duche

Member
HI, when i want to execute the bot, i have this :

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: Unable to run program "/opt/ts3soundboard/ts3bot": 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


Any idea?

Thanx
 

Duche

Member
Thank you for you answer, and sorry.

So more information:

My linux version :


Linux localhost.localdomain 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u1 i686 GNU/Linux
8.0
Debian GNU/Linux 8 \n \l



Memory :


Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM


Processor :

Version: Intel(R) Atom(TM) CPU N270 @ 1.60GHz



Config.ini :


ListenPort = 8087
ListenHost = "0.0.0.0"
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"

My problem :

I wanted to launch the bot with

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

But it don't work :

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: Unable to run program "/opt/ts3soundboard/ts3bot": 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



Ask me for more information.

Thank you!

Edit : ok my processor is in 32 bits, i'm not sure but maybe it's the problem ?
 
Last edited:

Duche

Member
Ok i tried with my VPS and it seems to work :


___ ___ _ _ _ _ ___ ___ ___ _____ 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/12/21 11:11:08 Updating database to v1... 0
2015/12/21 11:11:08 Updating database to v2... 1
2015/12/21 11:11:08 Updating database to v3... 2
2015/12/21 11:11:08 7a202591 INFO Creating default instance
2015/12/21 11:11:08 7a202591 INFO Promoting instance to main instance
2015/12/21 11:11:08 7a202591 4b60424c INFO Starting instance ts3server://127.0.0.1?port=9987&nickname=TS3SB-Demobot&password=&channel=&channelpassword=
2015/12/21 11:11:08 7a202591 INFO Adding new useradmin
2015/12/21 11:11:08 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/12/21 11:11:08 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/12/21 11:11:08 Could not find RadioStation-Data, updating...
tracks 10809
2015/12/21 11:11:10 RadioStation data loaded
2015/12/21 11:11:11 Imported radio stations
2015/12/21 11:11:13 7a202591 4b60424c INFO TSClient quit.


I can't log in webinterface so i tried to do

xinit /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

but i have :

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64: error while loading shared libraries: libquazip.so: cannot open shared object file: No such file or directory
xinit: connection to X server lost

waiting for X server to shut down
 

Patschi

Head of troll department / Xuxe dominator
Tier III
is awesome!
V.I.P.
is uber awesome!
Insider
Is any firewall blocking the request or is maybe the entered IP wrong?
 

Patschi

Head of troll department / Xuxe dominator
Tier III
is awesome!
V.I.P.
is uber awesome!
Insider
I thought about an network issue, because you had any "504 Gateway timeout" error in your post above... but it seems that you just edited your post and removed that lines silently.

So... Which Debian version are you using? If you are using Debian Squeeze 6, so please update to a recent one. If you are using Wheezy 7 or Jessie 8, please use my diagnostic script here and post the output then.
 

Duche

Member
Yes i have this when i try to go on webinterface :

504 Gateway Timeout
Gateway timeout expired while waiting for server response


I'm using Jessie 8, i will try your diagnostic, thank you!

Edit : log :

Code:
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Debian GNU/Linux 8.2 (jessie)
- OS x64 check: OK
- Kernel: Linux 3.16.0-4-amd64 x86_64
- Load Average: 0.00 0.02 0.05
- Uptime: 0 days, 1 hours, 26 minutes, 26 seconds
- OS Updates: 0 (well done!)
- OS Missing Packages: None (v1)
- OS APT Last Update: 21.12.2015 10:38:59 CET +01:00:00
- Bot Start Script: not found
- DNS resolution check: google.com -> OK
- CPU:
    Architecture:          x86_64
    CPU(s):                1
    Thread(s) per core:    1
    Core(s) per socket:    1
    Socket(s):             1
    Model name:            Intel Xeon E312xx (Sandy Bridge)
    CPU MHz:               2394.470
    Virtualization:        VT-x
    Hypervisor vendor:     KVM
    Virtualization type:   full
- RAM: 123.79 MB/1.91 GB in use (6%)
- SWAP: 0 B/0 B in use (%)
- DISK: 1.16 GB/8.22 GB in use (14%)
- Report date: 21.12.2015 11:50:23 CET +01:00:00 (timezone: )

BOT INFORMATION
- Status: not running
- Webinterface: port locally not reachable (Port: 8087)
- Binary: /opt/ts3soundboard/ts3bot (Hash: 3b2c7f99a3b0a358e7d328079c4fa8b8)
- Version: unknown
- TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: db9ca817116ad2a1d5f1efa4aabae409
   - TS3 Client: db9ca817116ad2a1d5f1efa4aabae409
- Config:
   - LogLevel = 3
   - TS3Path = /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.18.2)
   - YoutubeDLPath = not set
- Installed Scripts: config.ini config.ini.dist data diagSinusbot.sh libavcodec.so.56 libavformat.so.56 libavutil.so.54 libswresample.so.1 plugin README.md sinusbot-0.9.8.tar.bz2 TeamSpeak3-Client-linux_amd64 TeamSpeak3-Client-linux_amd64-3.0.18.2.run ts3bot
 
Last edited:

GetMeOutOfHere

Active Member
is awesome!
V.I.P.
Contributor
Insider
BOT INFORMATION
- Status: not running
- Webinterface: port locally not reachable (Port: 8087)

you cant connect because the bot is not running
 

Duche

Member
If i start the bot with :

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


i have :

___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

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

2015/12/21 12:04:52 7a202591 INFO Initializing bot://7a202591-18bb-407a-a8b9-4d16299394b1
2015/12/21 12:04:52 7a202591 4b60424c INFO Loaded
2015/12/21 12:04:52 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/12/21 12:04:52 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/12/21 12:04:52 RadioStation data loaded
2015/12/21 12:04:52 Imported radio stations

Then nothing happened and i can't do anything

And always

504 Gateway Timeout
Gateway timeout expired while waiting for server response
 

Duche

Member
I upgrade to the latest Beta.

I extract the file and copy libsoundbot_plugin.so to TeamSpeak3-Client-linux_amd64/plugin

Maybe i forget something?

I'm new in Linux sorry for this


When i use ./sinusbot :

___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

Version: 0.9.9-8f70ff3
(C) 2013-2015 Michael Friese. All rights reserved.

Could not generate private key.
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
And always

504 Gateway Timeout
Gateway timeout expired while waiting for server response


Could not generate private key.

Please set LogLevel to 10 in your config.ini and post your logs.
You running a nginx or so in front of your Bot? I never seen a 504 from the bot self.
 

Duche

Member
I haven't any server web do i need to install one?

In config.ini i have :

ListenPort = 8087
ListenHost = "0.0.0.0"
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"

I need to add LogLevel=10?
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider

Duche

Member
In config.ini i have :

ListenPort = 8087
ListenHost = "0.0.0.0"
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
LogLevel=10

An same problem : Could not generate private key.


And yes i follow the tutoriel

x11vnc xinit xvfb libxcursor1 ca-certificates bzip2 are installed.

I tried to install apache2, but it don't work
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Okay moment i go to a short consultation with Flyth. :)
The Bot Folder has Permissions?
[faq=18][/faq]
 
Status
Not open for further replies.
Top