Forum

Results 1 to 7 of 7
  1. #1
    Join Date
    June 2016
    Posts
    25

    [Ubuntu 18.04 TLS Server] Run server problem on normal user

    Hello. I have a problem with server software because there are two types of problems. The described things happen only on a regular user account without special rights.


    The first case is that after two days of putting the server software, the file itself suddenly lost some permissions, that he could not do my orders. The file that has lost permissions is ts3server_runscript.sh.


    At the moment I typed "sh ts3server_runscript.sh stop" I received a reply message: "./ts3server_runscript: 65: Permission Denied".


    The second strange problem is that even when the command is executed, eg "sh ts3server_runscript.sh start", a message is shown that the server has been started, but as a result it ends with the fact that a log file is generated in which there is information about listening and immediately after it information about server stop (screen log in the attachment).


    My questions are:


    - Why does the "ts3server_runscript.sh" file change its permissions?
    - Why when the script tries to start the server and suddenly it kills it, it does not also delete the "ts3.server.pid" file?
    - How do you make everything work normally on your regular user profile?

    Name:  TS3 log error 2019-07-24 13.02.44.png
Views: 146
Size:  5.9 KB

  2. #2
    Join Date
    June 2008
    Posts
    18,396
    Quote Originally Posted by Flaga_m View Post
    - Why does the "ts3server_runscript.sh" file change its permissions?
    Because you or something on the system did change permissions. No file will do this on it's own.
    perform chmod 744 or 700 on the file(s).


    Quote Originally Posted by Flaga_m View Post
    - Why when the script tries to start the server and suddenly it kills it, it does not also delete the "ts3.server.pid" file?
    We can't say without any information about the server or instance log.
    Make sure you use server 3.9.1 and read server log 0.


    Quote Originally Posted by Flaga_m View Post
    - How do you make everything work normally on your regular user profile?
    Login into the user -> download and extract the server -> start it
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    June 2016
    Posts
    25
    Quote Originally Posted by dante696 View Post
    Because you or something on the system did change permissions. No file will do this on it's own.
    perform chmod 744 or 700 on the file(s).
    The files were set to chmod 774. The folder with the entire configuration was moved from the root account to the ts3 account (/ home / ts3 / ts3server [folder])

    GNU nano 2.9.3 ts3server_2019-07-24__10_51_27.091942_0.log

    2019-07-24 10:51:27.092109|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.9.1 (2019-07-02 13:17:23)
    2019-07-24 10:51:27.092338|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 Binary: 64bit
    2019-07-24 10:51:27.092372|INFO |ServerLibPriv | |Using hardware aes
    2019-07-24 10:51:27.093501|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
    2019-07-24 10:51:27.093565|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
    2019-07-24 10:51:27.094110|INFO |DatabaseQuery | |checking database integrity (may take a while)
    2019-07-24 10:51:27.121470|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
    2019-07-24 10:51:27.121968|INFO |Accounting | |Licensing Information
    2019-07-24 10:51:27.121999|INFO |Accounting | |licensed to : Anonymous
    2019-07-24 10:51:27.122010|INFO |Accounting | |type : No License
    2019-07-24 10:51:27.122024|INFO |Accounting | |starting date : Tue Jan 1 00:00:00 2019
    2019-07-24 10:51:27.122034|INFO |Accounting | |ending date : Fri Jan 31 00:00:00 2020
    2019-07-24 10:51:27.122043|INFO |Accounting | |max virtualservers: 1
    2019-07-24 10:51:27.122051|INFO |Accounting | |max slots : 32
    2019-07-24 10:51:27.176539|INFO | | |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
    2019-07-24 10:51:27.622416|ERROR |Accounting | |failed to register local accounting service: File exists
    2019-07-24 10:51:29.062719|INFO | | |Puzzle precompute time: 1894
    2019-07-24 10:51:29.066208|INFO |FileManager | |listening on 0.0.0.0:30033, [::]:30033
    2019-07-24 10:51:29.082258|INFO |Query | |listening for query on 0.0.0.0:10011, [::]:10011
    2019-07-24 10:51:29.082660|INFO |Query | |listening for query ssh on 0.0.0.0:10022, [::]:10022
    2019-07-24 10:51:29.082812|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1/32, ::1/128,
    OK, so. I will download all the software, unpack it and then I will have everything zeroed. And how should I restore it later? to rip the file "ts3server.sqlitedb" or something different?

  4. #4
    Join Date
    June 2008
    Posts
    18,396
    So there is your reason why permission did change.

    What you need for a backup is explained in the FAQ

    Quote Originally Posted by Flaga_m View Post
    |Accounting | |failed to register local accounting service: File exists
    Old server is still running or could not delete the file or you miss permissions.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  5. #5
    Join Date
    June 2016
    Posts
    25
    Quote Originally Posted by dante696 View Post
    So there is your reason why permission did change.

    What you need for a backup is explained in the FAQ


    Old server is still running or could not delete the file or you miss permissions.
    I have run a clean copy on a regular account with restored configuration files, and yet there is still an error.

    GNU nano 2.9.3 ts3server_2019-07-24__13_43_10.897101_0.log Modified

    I have run a clean copy on a regular account with restored configuration files, and yet there is still an error.2019-07-24 13:43:10.897307|INFO |ServerLibPriv | |TeamSpeak 3 Server$
    2019-07-24 13:43:10.897569|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 Binary: 64bit
    2019-07-24 13:43:10.897645|INFO |ServerLibPriv | |Using hardware aes
    2019-07-24 13:43:10.898688|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
    2019-07-24 13:43:10.898740|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
    2019-07-24 13:43:10.899207|INFO |DatabaseQuery | |checking database integrity (may take a while)
    2019-07-24 13:43:10.928974|WARNING |Accounting | |Unable to open licensekey.dat, falling back to limited functionality
    2019-07-24 13:43:10.929294|INFO |Accounting | |Licensing Information
    2019-07-24 13:43:10.929323|INFO |Accounting | |licensed to : Anonymous
    2019-07-24 13:43:10.929336|INFO |Accounting | |type : No License
    2019-07-24 13:43:10.929365|INFO |Accounting | |starting date : Tue Jan 1 00:00:00 2019
    2019-07-24 13:43:10.929378|INFO |Accounting | |ending date : Fri Jan 31 00:00:00 2020
    2019-07-24 13:43:10.929388|INFO |Accounting | |max virtualservers: 1
    2019-07-24 13:43:10.929402|INFO |Accounting | |max slots : 32
    2019-07-24 13:43:11.129385|INFO | | |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
    2019-07-24 13:43:11.429801|ERROR |Accounting | |failed to register local accounting service: File exists
    2019-07-24 13:43:13.231052|INFO | | |Puzzle precompute time: 2270
    2019-07-24 13:43:13.233362|INFO |FileManager | |listening on 0.0.0.0:30033, [::]:30033
    2019-07-24 13:43:13.257164|INFO |Query | |listening for query on 0.0.0.0:10011, [::]:10011
    2019-07-24 13:43:13.257743|INFO |Query | |listening for query ssh on 0.0.0.0:10022, [::]:10022
    2019-07-24 13:43:13.257798|INFO |Query | |creating QUERY_SSH_RSA_HOST_KEY file: ssh_host_rsa_key
    2019-07-24 13:43:15.373025|INFO |CIDRManager | |updated query_ip_whitelist ips: 127.0.0.1/32, ::1/128,
    GNU nano 2.9.3 ts3server_2019-07-24__13_43_10.897101_1.log

    2019-07-24 13:43:13.256632|INFO |VirtualServer |1 |listening on 0.0.0.0:9987, [::]:9987
    2019-07-24 13:43:15.374119|INFO |VirtualServerBase|1 |stopped

  6. #6
    Join Date
    June 2008
    Posts
    18,396
    Still the same thing
    Quote Originally Posted by dante696 View Post
    Old server is still running or could not delete the file or you miss permissions.

    You can not solve it? Try to logout from all accounts or reboot the machine.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  7. #7
    Join Date
    June 2016
    Posts
    25
    Thank you for all the information. The problem was finally overridden at the moment. The TS3 server software started on a normal account after restarting the VPS machine.


    Thank you for your help.


    Quote Originally Posted by dante696 View Post
    Still the same thing



    You can not solve it? Try to logout from all accounts or reboot the machine.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] The problem with the first launch of TS3 Server on Ubuntu 18.04.2 LTS
    By Flaga_m in forum Linux / FreeBSD
    Replies: 12
    Last Post: July 2nd, 2019, 04:39 PM
  2. Replies: 3
    Last Post: June 28th, 2016, 02:27 PM
  3. allow some server groups to be set for any normal user
    By blindchicken in forum Server Support
    Replies: 1
    Last Post: November 28th, 2014, 03:48 AM
  4. Problem: Connecting to Teamspeak 3 server on Ubuntu VPS
    By Cook13s in forum Linux / FreeBSD
    Replies: 2
    Last Post: July 18th, 2013, 02:06 PM
  5. Replies: 2
    Last Post: July 18th, 2011, 08:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •