Forum

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Join Date
    December 2009
    Location
    earth
    Posts
    35

    Need help with TS3 Server on Ubuntu, 2 issues.

    I just got Ubuntu installed, new user, installed Teamspeak client through flatpak.
    I have followed several online instructions that should have worked but always came up missing pid.
    I downloaded the server.bz, tar it, ran the server with warning about not to run it at root.

    1. How do I change that to where it does not run at root?
    2. How to set it as a service to start at boot?

    The Teamspeak folder is in the downloads folder which is fine by me however,I will do what is needed to get Teamspeak server working.
    Thanks, in advance!
    Cougarxr7

    *************UPDATE***************
    I cleaned my computer od all teamspeak, created user.
    I am following these instructionsm

    https://www.gazblog.com/2018/12/setu...-ubuntu-18-04/

    It fails to start server, I believe its this root issue.
    Why would it say server started when it does not???
    Last edited by Cougarxr7; June 17th, 2019 at 05:42 AM.

  2. #2
    Join Date
    December 2009
    Posts
    53
    To 1:
    su user-name -C /script-path

    To 2:
    Create a new user for it.

    Its easier to simply create a new user and login as that one. Then simply run the script like you do as root.


    If you use that template and it doesnt work, why not checking the log files?^^
    And on which settings are you running the server?

  3. #3
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    Thank you for replying.
    I have a user, Teamspeak.
    I am wanting to make sure I understand you correctly.
    This would be: su Teamspeak -C /home/teamspeak/ts3server_startscript.sh
    I went into the user profiles and setup Teamspeak to be standard.
    Rebooted, teamspeak server no longer starts, just changed profile back to admin, rebooting, hope it starts.
    Thanks for replying!
    *****UPDATE********
    After changing user teameak profile from admin to user back to admin, server is starting and running but from root, like to fix that!
    Hoping to get it to start as a service on boot too.
    But until then.....
    Thanks!

  4. #4
    Join Date
    December 2009
    Posts
    53
    Its actually easier if you simply login via the teamspeak user (ssh) and start the script there (.ts3server_startscript.sh).
    Did you check the log files regarding the startup issues?

  5. #5
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    "Its actually easier if you simply login via the teamspeak user (ssh)"
    no instruction concerning how to ssh, I do not recall anywhere they said to create a password for usr teamspeak.
    Someone please show me how log in a usr teamspeak, I'll use that profile set teamspeak to run as a service, is that doable?
    Thanks!
    Teamspeak server no longer starts, I hope its that root thing.

    "Did you check the log files regarding the startup issues? "
    Yes, thats how I got the key.

  6. #6
    Join Date
    December 2009
    Posts
    53
    Open a terminal (or login as root) and do "sudo adduser name-here".
    It will add a new user and ask you to enter a password (which you can set freely).
    Or update the password via "sudo passwd name-here".

    How did you create the user in the first place?


    And of course, thats doable.

  7. #7
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    Thank you for helping!
    I followed these instructions.
    https://www.gazblog.com/2018/12/setu...-ubuntu-18-04/
    Step 3 was incorrect.
    adduser --disabled-login teamspeak
    Had to be sudo adduser --disabled-login teamspeak
    disabled-login teamspeak< That is why no password for user Teamspeak!
    Step 4 failed at could not su teamspeak, something like that, no more errors sfter that one.
    Please review these instructions and see where they fail you.
    I am so close to having this set up, just need to get Teamspeak3 server up and running as a service!
    Thanks!
    ****UPDATE*****
    I have a password set for user Teamspeak!
    What is the command to log in to user Teamspeak?
    Thanks!
    Last edited by Cougarxr7; June 18th, 2019 at 08:53 PM.

  8. #8
    Join Date
    December 2009
    Posts
    53
    Thought you know to to connect via ssh? Use the program of your choice. Personally, I use putty.
    Or simply run the script via "su -l user-name ./script-here". I am not sure if thats correct, but it should be (i normally open a new session for servers).
    If that doesnt work, try "su -l user-name" and after that "./script-here".

    Edit:
    I checked the tutorial again, I think I found why it wasnt working for you. But thats not imporant anymore now.^^

  9. #9
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    I would like to know what & where those instruction failed me.
    If you can write a copy and paste instructions to install Teamspeak3 correctly.
    I'd use it.
    What I do not understand is I am a user on this OS, why couldn't teamspeak have used that one???
    OK, thank you I off to figure this out!
    **********update***********
    Log on as teamspeak, verified script was ther, ran that service script to run as a service, asked for teamspeak's pw .... it went great.
    Rebooted, no Teamspeak server running!
    Click image for larger version. 

Name:	TeamspeakLogon.png 
Views:	85 
Size:	191.2 KB 
ID:	17998
    Still trying to figure this out!
    Attached Images Attached Images  
    Last edited by Cougarxr7; June 19th, 2019 at 01:26 AM.

  10. #10
    Join Date
    December 2009
    Posts
    53
    To the first screen:
    You told the shell/terminal to run "su nano". The terminal understood that in a different way than you wanted.
    "su" means super user and if you type "su" it means the shell/terminal will fall back to root "permissions".
    Simply type "nano /file-here" if you want to edit something with nano.
    You already started the server ones, with the first command. Why trying to start it again? Thats not how it works.^^

  11. #11
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    server will not start now.
    su did not work, it would not give it to me.
    the pic says server is running but it is not.
    the only way I get any thing to happen is to type sudo, but then they don't recommend running root.

    "You already started the server ones, with the first command. Why trying to start it again? "
    Because it is not starting on reboot and run as a service, I have to restart the server after every reboot.
    Check the pic.
    Click image for larger version. 

Name:	TeamspeakStartedbutNotRunning.png 
Views:	80 
Size:	282.6 KB 
ID:	18005

  12. #12
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    even logged on as user teamspeak, I still cannot get the server to start and run, check pic.Click image for larger version. 

Name:	authenication complete.png 
Views:	76 
Size:	353.3 KB 
ID:	18006

    Did NOT work for me!
    systemctl enable ts3server.service
    Rebooted, and still no teamspeak server running as a service!

  13. #13
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    I got it to start!Click image for larger version. 

Name:	It started!!!!.png 
Views:	71 
Size:	347.7 KB 
ID:	18007

  14. #14
    Join Date
    December 2009
    Posts
    53
    So is everything working now or do you still need help with something?

  15. #15
    Join Date
    December 2009
    Location
    earth
    Posts
    35
    Teamspeak will not run as a service, and Teamspeak is still running from root,
    There are still 2 issues not fixed.
    Starting Teamspeak is a hit or miss condition, you never know if it is going to start! Its unpredictable!
    I could not start Teamspeak even logged on as Teamspeak, check the pics, errors all over the place!
    What I do not understand is why did I have to make a user for Teamspeak?
    Am I not a user?
    Not only a user but admin!
    Why was I suppost to log in SSH?
    Of which I have no idea what or how to do that or why???
    Why could I not have used my user profile Cougarxr7 to download and setup Teamspeak?
    In windows there is the appdata folder that holds program settings such as Teamspeak.
    Where are Teamspeak setting files.
    Because if I have to delete everything and start over it would be nice to have those files to use once Teamspeak is running Not from root, and it starts everytime at boot, running as a service!
    Last edited by Cougarxr7; June 19th, 2019 at 12:05 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ts3 Server on Ubuntu 14.04
    By Mr Oreo in forum Linux / FreeBSD
    Replies: 1
    Last Post: October 1st, 2014, 07:43 PM

Posting Permissions

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