When starting Teamspeak3 with /etc/init.d/teamspeak3-server start it fails silently. Looking at the log tells me: 2010-02-05 15:13:55.212900|INFO |ServerLibPriv | | Server Version: 3.0.0-beta17 [Build: 10115] 2010-02-05 15:13:55.213220|INFO |DatabaseQuery | | Please make sure you use the supplied ts3server_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself 2010-02-05 15:13:55.213287|CRITICAL|DatabaseQuery | | unable to load database plugin library "libts3db_sqlite3.so", halting! Looking at the changelog for beta17 also tells me: The server now must be started with LD_LIBRARY_PATH set to make sure the necessary libraries are found. After adding export LD_LIBRARY_PATH="/opt/teamspeak3-server/:$LD_LIBRARY_PATH" to the init file it started without problems. Maybe it's important to note that this was the first start of teamspeak on my server, I had no previous versions installed of teamspeak3. Reproducible: Always Steps to Reproduce: 1. clean Install Teamspeak3 beta17 2. start with /etc/init.d/teamspeak3-server start Actual Results: failed starting Expected Results: successful start
Created attachment 218561 [details] Fixed Teamspeak3 Init Script I fixed this Bug on my machine with this init script.
(In reply to comment #1) > Created an attachment (id=218561) [details] > Fixed Teamspeak3 Init Script > > I fixed this Bug on my machine with this init script. > Thank you, I was having the same problem but your init script works perfectly :)
Created attachment 219031 [details] init script with EPERM Bug workaround removed & LD_LIBRARY_PATH In addition to Daniel T.'s init script I removed the lines about the EPERM bug and can confirm that TS3 now cleans up /dev/shm itself when it stops. The only problem that could arise is, when TS3 was started before as some other user. Then it might not be able to remove the file.
Just upgraded to 3.0.0_beta18, it has the same problem: # more ts3server_2010-02-11__17_44_10.396776.log 2010-02-11 17:44:10.396915|INFO |ServerLibPriv | | Server Version: 3.0.0-beta18 [Build: 10190] 2010-02-11 17:44:10.397117|INFO |DatabaseQuery | | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself 2010-02-11 17:44:10.397147|CRITICAL|DatabaseQuery | | unable to load database plugin library "libts3db_sqlite3.so", halting!
Same thing here with new install of 3.0.0_beta18, and upgrade to 3.0.0_beta20. Attached init.d script works. as well
Still exists with media-sound/teamspeak-server-bin-3.0.0_beta22 I can confirm the fix in the init script. If you do not want to set LD_LIBRARY_PATH in there, you can simply fix it by changing the init script line from --exec "/opt/teamspeak3-server/ts3server-bin" -- \ to --exec "/usr/sbin/ts3server" -- \ which is a wrapper script that sets the library path.
Thanks! Works for me, hope this is getting fixed.
Thank you for your feedback. I've updated the init script accordingly.