TS3 Server startet nicht

dom6770

Captain
Registriert
Sep. 2011
Beiträge
3.559
Hey Leute,

Habe seit heute einen VPS (Classic) von ohv.de. Er soll meinen 10€ Windows vServer ersetzen.
Darauf soll TS3 und BNC laufen, mehr nicht :p

Jetzt habe ich allerdings Probleme mit TS3. Es will einfach unter Debian 7 x64 nicht laufen.
Testweise habe ich mal Ubuntu 14.04 Server installiert, dort funktionierte es.

Ich habe den User ts3 erstellt und das Verzeichnis /usr/local/ts3 erstellt.
Dort habe ich den TS3 Server mit der Datenbank vom Windows Server heruntergeladen und entpackt.
Anschließend chmod gesetzt und mit dem User ts3 eingeloggt.

Wenn ich ihn jetzt aber starte, erhalte ich über die Logs eine Fehlermeldung. Beim Paramter status erhalte ich die Meldung "Server seems to have died".
Im Log steht folgendes:

Code:
2014-10-13 17:15:54.089930|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.11 (2014-09-29 15:33:46)
2014-10-13 17:15:54.090083|INFO    |ServerLibPriv |   | SystemInformation: Linux 2.6.32-042stab092.3 #1 SMP Sun Jul 20 13:27:24 MSK 2014 x86_64 Binary: 64bit
2014-10-13 17:15:54.091151|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2014-10-13 17:15:54.091202|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
2014-10-13 17:15:54.091670|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
2014-10-13 17:15:54.155739|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
2014-10-13 17:15:54.157060|ERROR   |Accounting    |   | failed to register local accounting service
2014-10-13 17:15:54.157109|ERROR   |ServerLibPriv |   | Server() error while starting servermanager, error: instance check error

Danach habe ich beide Error's der letzten beiden Zeilen per Google gesucht und auf folgenden Fix gestoßen:

https://support.teamspeakusa.com/in...-error-instance-check-error-how-do-i-fix-this

Beim Ausführen des Befehls erscheint aber die nächste Fehlermeldung :freak:

Code:
mount: Too many levels of symbolic links

nach weiterer Recherche bin ich auf folgenden Thread gestoßen:

http://forum.teamspeak.com/showthread.php/93623-Instance-check-error-on-Unix?p=365846#post365846

Egal was ich mit /dev/shm mache, es folgt immer die Fehlermeldung "Too many levels of symbolic links".


Ich wäre echt froh, wenn mir einer bei meinem Problem helfen könnte.
Gruß :D
 
Was hast du gegen Ubuntu? Das Ubuntu auf Debian aufbaut ist dir allerdings bewusst?
Ein anderer hat das Problem aus der Welt geschafft indem er dem TS Nutzer Nutzungsrechte am Tempfile eingeräumt hat.
Hast du testweise den Server mit Root gestartet um ein eventuelles Rechteproblem auszuschließen?

Sollte er dann laufen dann werfe den TS Nutzer doch in eine Gruppe und gebe der Gruppe Lese- und Schreibrechte auf diesen Tempordner?

Kannst ja auch mal probieren ob du eine Clanlizenz von Teamspeak bekommst umd damit ggf. das Problem zu umgehen.
 
Zuletzt bearbeitet:
typischer Fall von vServern. Pro Server kann nur eine Instanz von Teamspeak ausgeführt werden. Musst dir also entweder einen Rootserver zulegen oder wie ich selbst einen bauen. Mit freedns.afraid.org hast du einen Gratis dyndns und um 15 Euro ne richtige Domain.
 
@Suxxess

Mir ist bewusst, dass Ubuntu auf Debian aufbaut, aber mir wurde mehrmals von verschiedenen Personen Debian empfohlen.
Ich hab selber auch schon Erfahrung mit Debian von früher, aber nur die Grundlagen.

@Nafi

Code:
root@vps104662:/usr/local/ts3# ls -la /dev
total 32
drwxr-xr-x  4 root root     4096 Oct 13 22:43 .
drwxr-xr-x 22 root root     4096 Oct 13 22:43 ..
crw-------  1 root tty    5,   1 Oct 13 22:43 console
lrwxrwxrwx  1 root root       11 Oct 13 21:03 core -> /proc/kcore
lrwxrwxrwx  1 root root       13 Oct 13 21:03 fd -> /proc/self/fd
crw-rw-rw-  1 root root   1,   7 Mar  4  2011 full
crw-r--r--  1 root root  10, 229 Oct 13 22:43 fuse
crw-r-----  1 root kmem   1,   2 Mar  4  2011 kmem
srw-rw-rw-  1 root root        0 Oct 13 22:43 log
brw-rw----  1 root disk   7,   0 Mar  4  2011 loop0
brw-rw----  1 root disk   7,   1 Mar  4  2011 loop1
brw-rw----  1 root disk   7,   2 Mar  4  2011 loop2
brw-rw----  1 root disk   7,   3 Mar  4  2011 loop3
brw-rw----  1 root disk   7,   4 Mar  4  2011 loop4
brw-rw----  1 root disk   7,   5 Mar  4  2011 loop5
brw-rw----  1 root disk   7,   6 Mar  4  2011 loop6
brw-rw----  1 root disk   7,   7 Mar  4  2011 loop7
crw-r-----  1 root kmem   1,   1 Mar  4  2011 mem
drwxr-xr-x  2 root root     4096 Oct 13 21:03 net
crw-rw-rw-  1 root root   1,   3 Oct 13 21:03 null
crw-r-----  1 root kmem   1,   4 Mar  4  2011 port
crw-------  1 root root 108,   0 Oct 13 21:03 ppp
crw-rw-rw-  1 root root   5,   2 Oct 14 08:24 ptmx
drwxr-xr-x  2 root root        0 Oct 13 22:43 pts
crw-r---wx  1 root root   2,   0 Oct 13 21:03 ptyp0
crw-r---wx  1 root root   2,   1 Oct 13 21:03 ptyp1
crw-r---wx  1 root root   2,   2 Oct 13 21:03 ptyp2
crw-r---wx  1 root root   2,   3 Oct 13 21:03 ptyp3
crw-r---wx  1 root root   2,   4 Oct 13 21:03 ptyp4
crw-r---wx  1 root root   2,   5 Oct 13 21:03 ptyp5
crw-r---wx  1 root root   2,   6 Oct 13 21:03 ptyp6
crw-r---wx  1 root root   2,   7 Oct 13 21:03 ptyp7
crw-r---wx  1 root root   2,   8 Oct 13 21:03 ptyp8
crw-r---wx  1 root root   2,   9 Oct 13 21:03 ptyp9
crw-r---wx  1 root root   2,  10 Oct 13 21:03 ptypa
crw-r---wx  1 root root   2,  11 Oct 13 21:03 ptypb
crw-r---wx  1 root root   2,  12 Oct 13 21:03 ptypc
crw-r---wx  1 root root   2,  13 Oct 13 21:03 ptypd
crw-r---wx  1 root root   2,  14 Oct 13 21:03 ptype
crw-r---wx  1 root root   2,  15 Oct 13 21:03 ptypf
lrwxrwxrwx  1 root root        4 Oct 13 21:03 ram -> ram1
brw-rw----  1 root disk   1,   0 Mar  4  2011 ram0
brw-rw----  1 root disk   1,   1 Mar  4  2011 ram1
brw-rw----  1 root disk   1,  10 Mar  4  2011 ram10
brw-rw----  1 root disk   1,  11 Mar  4  2011 ram11
brw-rw----  1 root disk   1,  12 Mar  4  2011 ram12
brw-rw----  1 root disk   1,  13 Mar  4  2011 ram13
brw-rw----  1 root disk   1,  14 Mar  4  2011 ram14
brw-rw----  1 root disk   1,  15 Mar  4  2011 ram15
brw-rw----  1 root disk   1,  16 Mar  4  2011 ram16
brw-rw----  1 root disk   1,   2 Mar  4  2011 ram2
brw-rw----  1 root disk   1,   3 Mar  4  2011 ram3
brw-rw----  1 root disk   1,   4 Mar  4  2011 ram4
brw-rw----  1 root disk   1,   5 Mar  4  2011 ram5
brw-rw----  1 root disk   1,   6 Mar  4  2011 ram6
brw-rw----  1 root disk   1,   7 Mar  4  2011 ram7
brw-rw----  1 root disk   1,   8 Mar  4  2011 ram8
brw-rw----  1 root disk   1,   9 Mar  4  2011 ram9
crw-r--r--  1 root root   1,   8 Oct 13 21:03 random
lrwxrwxrwx  1 root root        8 Oct 13 21:03 shm -> /run/shm
b-----x---  1 root root 144, 244 Oct 13 22:43 simfs
lrwxrwxrwx  1 root root        4 Oct 13 21:03 stderr -> fd/2
lrwxrwxrwx  1 root root        4 Oct 13 21:03 stdin -> fd/0
lrwxrwxrwx  1 root root        4 Oct 13 21:03 stdout -> fd/1
crw-rw-rw-  1 root tty    5,   0 Mar  4  2011 tty
crw-------  1 root tty    4,   0 Mar  4  2011 tty0
crw-rw----  1 root tty    4,   1 Oct 13 22:43 tty1
-rw-r-----  1 root adm     18149 Oct 13 22:47 tty10
crw-rw----  1 root tty    4,   2 Oct 13 22:43 tty2
crw-rw----  1 root tty    4,   3 Oct 13 22:43 tty3
crw-rw----  1 root tty    4,   4 Oct 13 22:43 tty4
crw-rw----  1 root tty    4,   5 Oct 13 22:43 tty5
crw-rw----  1 root tty    4,   6 Oct 13 22:43 tty6
crw-r---wx  1 root root   3,   0 Oct 13 21:03 ttyp0
crw-r---wx  1 root root   3,   1 Oct 13 21:03 ttyp1
crw-r---wx  1 root root   3,   2 Oct 13 21:03 ttyp2
crw-r---wx  1 root root   3,   3 Oct 13 21:03 ttyp3
crw-r---wx  1 root root   3,   4 Oct 13 21:03 ttyp4
crw-r---wx  1 root root   3,   5 Oct 13 21:03 ttyp5
crw-r---wx  1 root root   3,   6 Oct 13 21:03 ttyp6
crw-r---wx  1 root root   3,   7 Oct 13 21:03 ttyp7
crw-r---wx  1 root root   3,   8 Oct 13 21:03 ttyp8
crw-r---wx  1 root root   3,   9 Oct 13 21:03 ttyp9
crw-r---wx  1 root root   3,  10 Oct 13 21:03 ttypa
crw-r---wx  1 root root   3,  11 Oct 13 21:03 ttypb
crw-r---wx  1 root root   3,  12 Oct 13 21:03 ttypc
crw-r---wx  1 root root   3,  13 Oct 13 21:03 ttypd
crw-r---wx  1 root root   3,  14 Oct 13 21:03 ttype
crw-r---wx  1 root root   3,  15 Oct 13 21:03 ttypf
crw-r--r--  1 root root  10, 200 Oct 13 22:43 tun
crw-r--r--  1 root root   1,   9 Oct 13 21:03 urandom
prw-r-----  1 root adm         0 Oct 13 22:47 xconsole
crw-rw-rw-  1 root root   1,   5 Oct 13 21:03 zero

@Exynos4412

Deine Aussage macht keinen Sinn, ich will ja nur eine Instanz am Server ausführen, wieso sollte ich mir also einen teuren root-Server anlegen? O.o


Nach der simplen Idee von Suxxess, den Server als Admin starten, ging es :>
Rechte wurden aber schon gesetzt, werde es aber nochmals machen.
 
Okay, und nun ein
ls -la /run

Falls dort nun ein shm -> /dev/shm zu sehen ist, mach folgendes:


rm -f /run/shm
mkdir /run/shm
chmod 0777 /run/shm
chmod 1777 /dev/shm
 
Zuletzt bearbeitet:
AbGedreht schrieb:
@Exynos4412

Deine Aussage macht keinen Sinn, ich will ja nur eine Instanz am Server ausführen, wieso sollte ich mir also einen teuren root-Server anlegen? O.o

Hatte auf einem gratis vserver auch so ein Problem und da wurde mir nur gesagt das pro physischem Server nur 1 Instanz ausgeführt werden kann. Ich hab vermutet das dies hier das selbe Problem ist aber wenn der Server bei dir läuft ist das natürlich gut.
 
Dann hat man dir wohl was falsches gesagt, denn eine Instanz pro vServer ist natürlich locker möglich.

@Nafi

Danke, werds nachher mal ausprobieren. Aktuell läuft gerade Plesk 12 @Ubuntu drauf, wollte mir mal Plesk anschauen.
Werde später wieder Debian 7 installieren :D

EDIT

Danke! Das löschen und neuanlegen von /run/shm war die Lösung. Danach konnte ich den Server mit dem entsprechendem Benutzer starten :D
Ergänzung ()

Zu früh gefreut, nach dem Neustart wieder gleiches Problem.
Müssen wohl die Befehle in den Autostart :<
Ergänzung ()

Code:
#!/bin/sh
### BEGIN INIT INFO
# Provides:             ts3
# Required-Start:       $local_fs $network
# Required-Stop:        &local_fs $network
# Should-Start:         mysql
# Should-Stop:          mysql
# Default-Start:        2 3 4 5
# Default-Stop:         0 1 6
# Description:          TeamSpeak 3 Server
### END INIT INFO


USER="ts3"
DIR="/usr/local/ts3/"

##### TeamSpeak 3 Server START/STOP Script #####

case "$1" in
start)
su $USER -c "${DIR}/ts3server_startscript.sh start"
;;
stop)
su $USER -c "${DIR}/ts3server_startscript.sh stop"
;;
restart)
su $USER -c "${DIR}/ts3server_startscript.sh restart"
;;
status)
su $USER -c "${DIR}/ts3server_startscript.sh status"
;;
*)
echo "Usage: {start|stop|restart|status}" >&2
exit 1
;;
esac
exit 0

Der Startup-Script von sysadminslife.com.. Könnte man dort jetzt auch die vier Befehle hinzufügen?
Kann's mir einer entsprechend bearbeiten, soweit reichen meine Kenntnisse leider nicht :freak::)
 
Zuletzt bearbeitet:
Ist /run/shm nun echt wieder ein Symlink? oder stimmen nur die rechte von /dev/shm nicht mehr?
 
Nach dem Neustart exakt gleiche Fehlermeldungen und Ausgaben.
 
Code:
root@vps104662:/usr/local/ts3# ls -la /dev | grep shm
lrwxrwxrwx  1 root root        8 Oct 14 19:02 shm -> /run/shm

Code:
root@vps104662:/usr/local/ts3# ls -la /run | grep shm
lrwxrwxrwx  1 root root    8 Oct 14 19:13 shm -> /dev/shm
 
hm naja ok

Also ich hab auf meinem Debian System diese symlinks nicht.... Keine Ahnung wo die herkommen.


prinzipiell müsste folgendes funktionieren. Probier es einfach mal aus.
Code:
    #!/bin/sh
    ### BEGIN INIT INFO
    # Provides: ts3
    # Required-Start: $local_fs $network
    # Required-Stop: &local_fs $network
    # Should-Start: mysql
    # Should-Stop: mysql
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Description: TeamSpeak 3 Server
    ### END INIT INFO
     
     
    USER="ts3"
    DIR="/usr/local/ts3/"
     
    ##### TeamSpeak 3 Server START/STOP Script #####
     
    case "$1" in
    start)
    rm -f /run/shm
    mkdir /run/shm
    chmod 0777 /run/shm
    chmod 1777 /dev/shm
    sleep 1 
    su $USER -c "${DIR}/ts3server_startscript.sh start"
    ;;
    stop)
    su $USER -c "${DIR}/ts3server_startscript.sh stop"
    ;;
    restart)
    su $USER -c "${DIR}/ts3server_startscript.sh restart"
    ;;
    status)
    su $USER -c "${DIR}/ts3server_startscript.sh status"
    ;;
    *)
    echo "Usage: {start|stop|restart|status}" >&2
    exit 1
    ;;
    esac
    exit 0
 
Super, danke!
Hat funktioniert.

Bei meinem eigenen Skript vorhin hat wohl nur das sleep 1 gefehlt :D
 
Zurück
Oben