Błąd startu serwera spowodowany wadliwym plikiem licencyjnym

kvrcz4k | 2018-05-02 12:41:09 UTC | #1

Próbuję wystartować serwer po raz pierwszy i taki błąd (jak poniżej), ktoś wie, jak to naprawić? :smirk:

root@vps:~/teamspeak3-server_linux_amd64# ./ts3server_startscript.sh start inifile=ts3server.ini
ts3server.pid found, but no server running. Possibly your previously started ser   ver crashed
Please view the logfile for details.
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
root@vps:~/teamspeak3-server_linux_amd64# Please set the environment variable TS   3SERVER_LICENSE to "accept" in order to accept the license agreement.
Alternatively, create a file named ".ts3server_license_accepted" in the working    directory or start the server with the command line parameter "license_accepted=   1".
To view the license agreement set TS3SERVER_LICENSE to "view" in order to print    the license to the console.
Alternatively view the file "LICENSE" in your favorite text viewer yourself.
accept
-bash: accept: command not found
root@vps:~/teamspeak3-server_linux_amd64#

Patbox | 2018-05-02 08:26:19 UTC | #2

Stwórz plik o nazwie .ts3serverlicenseaccepted w folderze z TS


kvrcz4k | 2018-05-02 08:24:55 UTC | #3

Czy w tym pliku musi być jakiś tekst?


Patbox | 2018-05-02 08:04:39 UTC | #4

Nie


kvrcz4k | 2018-05-02 08:09:17 UTC | #5

Teraz coś takiego:

root@vps:~/teamspeak3-server_linux_amd64# ./ts3server_startscript.sh start inifile=ts3server.ini
ts3server.pid found, but no server running. Possibly your previously started server crashed
Please view the logfile for details.
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
root@vps:~/teamspeak3-server_linux_amd64# 2018-05-02 08:08:33.919295|CRITICAL|DatabaseQuery |   |unable to load database plugin library "libts3db_mysql.so", halting!

Patbox | 2018-05-02 08:13:03 UTC | #6

Wydaje mi się, że musisz zmienić uprawnienia pliku/katalogu. Jak to nie zadziała to zainstaluj TS jeszcze raz.


DBanaszewski | 2018-05-02 08:44:50 UTC | #7

Widzę, że próbujesz uruchomić TS3 z bazą danych.
Poradnik z tego forum już nie działa, bo się struktura plików i konfiguracja zmieniła się.


kvrcz4k | 2018-05-02 08:48:52 UTC | #8

@DBanaszewski

A pomógłbyś z obecnymi plikami?


karkow | 2018-05-02 09:17:20 UTC | #9

Edytuj skrypt ts3serverstartscript.sh
COMMANDLINE
PARAMETERS=”inifile=ts3server.ini${2}”

A w ts3server.ini:
license_accepted=1

Uprawnienia na 775 dla plików:
libts3db
ts3server
ts3server
startscript.sh


DBanaszewski | 2018-05-02 09:19:46 UTC | #10

A na 100% potrzeba Ci bazy danych przy TS3? Sam sqlite uźwignie bardzo dużo, a MySQL jest zalecany przy hostingach TS3 (ATHP).

Wystarczy, że usuniesz plik ts3server.ini i usuniesz w parametrach startowych wskazanie do użycia.

@karkow Rozumiem, że jest to drugi sposób - kolega @kvrcz4k już sobie poradził.

[quote=”Patbox, post:6, topic:6551, full:true”]
Wydaje mi się, że musisz zmienić uprawnienia pliku/katalogu. Jak to nie zadziała to zainstaluj TS jeszcze raz.
[/quote]
Nie trzeba, jest to błąd związany ze złą konfiguracją połączenia MySQL


karkow | 2018-05-02 09:20:27 UTC | #11

Ale zaraz na jakim systemie to odpalasz bo nowsze TS chyba już działa na mariadb a nie mysql.


DBanaszewski | 2018-05-02 09:20:56 UTC | #12

Zgadza się, ale prawdopodobnie @kvrcz4k użył poradnika z tego forum, a owy poradnik jest przestarzały.


kvrcz4k | 2018-05-02 09:33:42 UTC | #13

Podlinkujecie jakiś poradnik, do MariaDB?

Ps. Dokładnie, zgadza się, użyłem poradnika z tego forum.


kubus | 2018-05-02 09:59:08 UTC | #14

https://forum.lvlup.pro/t/instalacja-mariadb-phpmyadmin/1164 :thinking: ?


DBanaszewski | 2018-05-02 10:51:57 UTC | #15

Nie, chodzi mu o wsparcie MariaDB do TeamSpeaka 3.

Za chwilę ogarnę coś :)


Aylin | 2018-06-12 13:11:41 UTC | #16