Page 1 of 1

Fatal server error during first launch

Posted: Thu Oct 29, 2015 2:22 am
by fishb6nes
Description of the problem:
No new user connects to the server.
Since when isn't it working?
Since installing the bot for the first time.
Does the problem occur permanent, frequently, occasionally or when you do an specific action?
permanent after executing the startup command:
./TS3MusicBot_runscript.sh -account EMAIL -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
Error message (if available)
TS3MusicBot_server.log:
2015-10-28 22:03:46START_MODTS3MusicBot "TS3MusicBot" starts now
TS3MusicBot_InstanceManager.log:
2015-10-28 22:03:09START_MANAGERTS3MusicBot 4.6.4.6 (21.10.2015) started...
2015-10-28 22:03:09START_INSTANCEStart bot instance TS3MusicBot...
runError.log:
/usr/bin/xauth: file /tmp/TS3MusicBot.root.0114.8080 does not exist
[dix] Could not init font path element /usr/share/fonts/X11/misc, removing from list!
[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!
sh: 1: /usr/bin/xkbcomp: not found
sh: 1: /usr/bin/xkbcomp: not found
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.
/usr/bin/r: 91: kill: No such process

Operating system:
Ubuntu 14.04 LTS 32 bit

Hardware
512MB memory, Single core processor
System load (Used RAM, CPU load)
top reports no stress on the server what so ever and plenty of free ram.

Failed solution approaches:

Deleting the TS3MusicBot folder and reinstalling it following the 'How to install' guidelines on ts3musicbot.net

Additionally after specifying the restart command the following exception is generated:
TS3MusicBot: TS3MusicBot stopped
Exception in thread "Thread-7" java.lang.SecurityException: Got restart command...
at ts3musicbotlauncher.TS3MusicBotLauncher$1.checkPermission(TS3MusicBotLauncher.java:93)
at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
at java.lang.Runtime.exit(Runtime.java:107)
at java.lang.System.exit(System.java:962)
at ts3musicbot.I.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

And the following exception after executing the stop command:
Exception in thread "Thread-3" java.lang.IndexOutOfBoundsException: Index: 1371, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at ts3musicbot.B.M(Unknown Source)
at ts3musicbot.C.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

Thank you

Re: Fatal server error during first launch

Posted: Thu Oct 29, 2015 10:54 am
by Ronneberg
Hello,
please try installing the x11-xkb-utils package.

apt update && apt upgrade
apt install x11-xkb-utils

Re: Fatal server error during first launch

Posted: Thu Oct 29, 2015 12:39 pm
by fishb6nes
Works like a charm, thank you!