This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:ubuntu:teamspeak3 [2019/12/05 16:17] – lunetikk | linux:ubuntu:teamspeak3 [2022/08/04 10:07] (current) – [failed to register local accounting service: File exists] lunetikk | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| < | < | ||
| cd /teamspeak | cd /teamspeak | ||
| - | wget URL | + | wget <URL> |
| </ | </ | ||
| Unpack | Unpack | ||
| < | < | ||
| - | tar -xjf PACKAGE | + | tar -xjf <PACKAGE> |
| </ | </ | ||
| Change the owner of the files to your user | Change the owner of the files to your user | ||
| - | < | + | < |
| ===== Configuration ===== | ===== Configuration ===== | ||
| Line 75: | Line 75: | ||
| ===== Create Service ===== | ===== Create Service ===== | ||
| + | Create a new unit "/ | ||
| + | < | ||
| + | [Unit] | ||
| + | Description=TeamSpeak3 Server | ||
| + | Wants=network-online.target | ||
| + | After=syslog.target network.target | ||
| + | |||
| + | [Service] | ||
| + | WorkingDirectory=/ | ||
| + | User=teamspeak | ||
| + | Type=forking | ||
| + | ExecStart=/ | ||
| + | ExecStop=/ | ||
| + | ExecReload=/ | ||
| + | PIDFile=/ | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | </ | ||
| + | |||
| + | Incase you already had this file and/or changed anything, run " | ||
| + | |||
| + | Add the service to autostart | ||
| + | < | ||
| + | systemctl enable teamspeak | ||
| + | </ | ||
| + | |||
| + | You can now start/ | ||
| + | < | ||
| + | systemctl start teamspeak | ||
| + | systemctl stop teamspeak | ||
| + | systemctl restart teamspeak | ||
| + | systemctl status teamspeak | ||
| + | </ | ||
| + | [[https:// | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| Line 91: | Line 126: | ||
| __Fix:__ \\ | __Fix:__ \\ | ||
| Check for a cryptic file in /dev/shm/\\ | Check for a cryptic file in /dev/shm/\\ | ||
| - | < | + | < |
| total 39228 | total 39228 | ||
| drwxrwxrwt | drwxrwxrwt | ||
| Line 101: | Line 136: | ||
| If you start teamspeak now, the file will be created with the correct user\\ | If you start teamspeak now, the file will be created with the correct user\\ | ||
| - | < | + | < |
| + | total 39228 | ||
| drwxrwxrwt | drwxrwxrwt | ||
| drwxr-xr-x 17 root root 3640 Nov 13 06:47 .. | drwxr-xr-x 17 root root 3640 Nov 13 06:47 .. | ||
| Line 108: | Line 144: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | ==== Failed loading default license file ==== | ||
| + | |||
| + | The server doesnt start and the log shows the following error \\ | ||
| + | < | ||
| + | |CRITICAL|Accounting | ||
| + | </ | ||
| + | |||
| + | __Reason:__ \\ | ||
| + | Your license expired\\ | ||
| + | |||
| + | __Fix:__ \\ | ||
| + | Update your Teamspeakserver to renew the license\\ | ||
| + | |||
| + | Get the server package downloadlink from either the website or directly from the fileserver | ||
| + | < | ||
| + | https:// | ||
| + | https:// | ||
| + | |||
| + | Change to your directory and download the package | ||
| + | < | ||
| + | cd /teamspeak | ||
| + | wget <URL> | ||
| + | </ | ||
| + | |||
| + | Backup your old folder in case something is broken after overwriting | ||
| + | < | ||
| + | cp -a teamspeak3-server_linux_amd64 teamspeak3-server_linux_amd64_bak_20211124 | ||
| + | </ | ||
| + | |||
| + | Unpack (overwrite the existing folder) | ||
| + | < | ||
| + | tar -xvf < | ||
| + | </ | ||
| + | |||
| + | and start as usual | ||
| + | < | ||
| + | systemctl start teamspeak | ||
| + | </ | ||
| + | |||
| + | [[https:// | ||