Results 1 to 3 of 3
  1. #1
    Join Date
    December 2003

    Question Cant Start TS3 Server as non-root user.

    I have a TS3 Linux server running with everything ok on a Slackware Server

    Linux Slackware64 13.1 (
    MySQL 5.1

    Server is working fine runing with the user ts3 and group games
    -rw-r--r-- 1 ts3 games  118 Jan 27  2011 ts3db_mysql.ini
    -rw-r--r-- 1 ts3 games  265 Jan 27  2011 ts3server.ini
    -rw-r--r-- 1 ts3 games    5 Feb 28 15:17
    -rw-r--r-- 1 ts3 games 204K Dec 12 15:22 ts3server.sqlitedb
    -rwxrwxr-x 1 ts3 games 5.9M Dec 15  2014 ts3server_linux_amd64*
    So I'm migrating to a new Server
    Linux Slackware64 14.current (4.4.4)
    MariaDB 10.0.24

    I made the changes to MariaDB server on my ini files, i have to create a link to the lib, since slackware uses mariaDB but name everything MySQL
    lrwxrwxrwx   1 root root       26 Mar 10  2016 -> /usr/lib64/*
    But the problem is, i cant start the server as a non-root user, but starting with root the server works fine.

    But if i use sqlliteDB i can start as non-root.

    This is the error i got, when i try to start the server with MariaDB and non-root
    [email protected]:/home/games/ts3# sudo -u ts3 /home/games/ts3/ start inifile=ts3server.ini
    Starting the TeamSpeak 3 server
    TeamSpeak 3 server started, for details please view the log file
    [email protected]:/home/games/ts3# 2016-03-10 16:53:09 7f964de28700  InnoDB: Operating system error number 13 in a file operation.
    InnoDB: The error means mysqld does not have the access rights to
    InnoDB: the directory.
    2016-03-10 19:53:09.378431|CRITICAL|ServerLibPriv |   |Server() unable to initialize database

  2. #2
    Join Date
    September 2012
    sounds to me like the database server or system is configured incorrectly, as the database doesn't have access to whatever it wants to write.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

  3. #3
    Join Date
    December 2003
    I got the old TS3 server TeamSpeak

    now i have

    Linux Slackware64 14.current (4.4.4)
    MariaDB 10.0.24

    and everything is working fine using

    but if try to use it only work as root.

    so with

    - and root = ok, non-root=ok
    - and root = ok, non-root=error
    - and root = ok, non-root=ok

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Resolved] Can't start server as not-root user
    By HerrAusragend in forum Linux / FreeBSD
    Replies: 2
    Last Post: January 29th, 2015, 05:19 AM
  2. Replies: 0
    Last Post: May 4th, 2011, 01:22 AM
  3. Replies: 1
    Last Post: April 7th, 2010, 02:34 PM
  4. Unable to start server as non-root user on VPS
    By jesepi in forum Linux / FreeBSD
    Replies: 5
    Last Post: December 21st, 2009, 01:44 AM

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