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

[Centos 6.8] Sinusbot won't start

Status
Not open for further replies.

iTaskmanager

Well-Known Member
Tier II
Tier III
Tier I
Insider
1. Next time, use pastbin like https://paste.debian.net or http://pastebin.com/ for all text, please
2. Upgrade to CentOS 7.x
3. http://dl.4players.de/ts/releases/3.0.19.4/TeamSpeak3-Client-linux_amd64-3.0.19.4.run
4. Do you understand this?
Terminal said:
2016/09/25 18:40:17 [GENERAL/!!!!!!!] WARN !!!!!!! YOU ARE RUNNING THE BOT AS UID 0 (ROOT) WITHOUT HAVING SET ANOTHER UID. THIS IS A SERIOUS SECURITY VIOLATION !!!!!!!
5. What? Get Linux-skills, please
Edit: Tried changing the config values of Run As User: 0 and Run As Group: 0 to 501 (sinusbot's user ID) but still no luck
 
Last edited:

CaptainMacMeow

Active Member
1 - Ok, thanks for the tip
2 - I'm buying a new CentOS 7 vps next week - Are you saying that Centos 6 is no longer supported?
3 - TeamSpeak 3 Client is already installed
4 - yes i do understand. In fact i tried running the script as sinusbot user later
5 - i didn't know what to do and i just tried to change that value hoping to fix something
6 - the script i used is supposed to install all the requirements by itself
  • check if linux version (Debian, Ubuntu, CentOS) is supported
  • check if TS3 or Sinusbot already is installed by the installer (/opt/sinusbot)
  • install TS3 with latest version
  • install all necessary aptitudes
  • create seperate sinusbot user
  • install latest beta bot
  • install YT-DL
  • Cronjob for daily YT-DL update and Sinusbot (once supported)
  • change all filerights
  • generating init.d file => start/stop with "/etc/init.d/sinusbot {start|etc}"
  • self-deleting the installscript, unneeded files and archives
  • starting sinusbot after installation
  • option to update and remove the bot
7 - i'm manually installing it right now following this guide: https://forum.sinusbot.com/threads/centos-6-install-guide.388/ (let's hope it works)
 

CaptainMacMeow

Active Member
4 - All i did was writing using root

chmod 777 sinusbot_installer.sh
./sinusbot_installer.sh

as shown in the installer description AND video.

6 - This is exactly what i used (see first post: Using Qhillqq's installer 1.2.7)

http://pastebin.com/QQmfA6Zw

After trying to installing it manually i managed to identify the main issue:

If you look closer at my screens you can clearly see that the script started sinusbot for the first time as root and later it launched as sinusbot user;

Code:
2016/09/26 14:25:15 Could not open X11 socket. This happens either if the bot is already running or you ran it before using a different user (root?). Please make sure the bot is not running and delete /tmp/.X11-unix/X40 manually.

manually installing sinusbot or using this script gives the same error above. Unfortunately the /tmp/.X11-unix/X40 folder is empty, so i don't really know what's causing it :(

Code:
[root@vps home]# sudo rm /tmp/.X11-unix/X40
rm: cannot remove `/tmp/.X11-unix/X40': No such file or directory

Diagscript output: http://pastebin.com/FqBufB6V

(Apparently the diagscript works only on Debian / Ubuntu)
 
Last edited:

CaptainMacMeow

Active Member
Ok this appears to be an issue with CentOS 6.8 since i have two different VPS from the same provider (OVH) and it won't work on both of them. Any ideas? (Do you have a link to a previously working version?)
 
Last edited:
Status
Not open for further replies.
Top