LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-20-2009, 04:22 AM   #1
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Rep: Reputation: 0
Cant install teamspeak >_>


Ok. So let me give you guys a quick run down on what happens when i try to install teamspeak on my linux server.

The first step is to make a new account called teamspeak. I cannot make a new account. This is what happens...
Code:
adduser teamspeak
-bash: adduser: command not found
Now because that has not worked, I tried going ahead and installing with the root user. So i skipped the su part.

I performed the wget part successfully, getting the tar file into the root folder of the server (/). Here, it fails again. I try to extract the tar file but that dosnt work either.I cannot unrar the file. No matter what i do. Ive checked and i have the right spelling, everything. It wont unrar it. So i try to get around that by unraring it on my computer, then i ftp it to the server. Then i try to run the start script by typing ./tss_minimal_startupscript start and the many other commands that start teamspeak, but nooo. That dosnt work either. I get permission denied when I try to run the script. I try to add a user but apparently "command not found"
Thank you for your help in advance


PS: I used this http://sysadmingear.blogspot.com/200...teamspeak.html blog to install teamspeak because it is much better then the outdated and very broad tutorial on teamspeak.com

Last edited by mrconfus3d; 07-20-2009 at 04:25 AM.
 
Old 07-20-2009, 04:37 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Which distribution?
what is the output from
Code:
whereis adduser
You could try
Code:
useradd
You need to be root in order to add users.
To untar a file
Code:
tar -xvf foo.tar
Please give the commands you use and the error messages you get
Also make sure the file is exectable
Code:
chmod +x tss_minimal_startupscript
 
Old 07-20-2009, 04:43 AM   #3
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Im sorry, Im a total noob in linux. Could you explain what you mean by Distribution and output? I tried useradd as well.
Im confused about which would be the root. Would this cd ~ take me to the root or cd /.

What did you mean by tar -xvf foo.tar

Most of the causing errors are permission is denied. And i dont know how much i should chmod it. The only exception the permission is denied is that one error with adding the user in which the command is not known. I think i might not be in the root, which leads me right back to one of my first questions. Which one would be the root? cd ~ or cd /.


Thank you for your quick response, I appreciate it.
 
Old 07-20-2009, 04:48 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Distribution can be ubuntu, debian, suse, fedora....
Open a terminal and type
Code:
whereis useradd
copy/paste the output in your answer here.

In order to add a user you need to be root.
So depending on your distribution you can use su or sudo
Code:
sudo adduser teamspeak
Quote:
What did you mean by tar -xvf foo.tar
This is the command to extract a tarfile
replace foo by the name of the tar file
 
Old 07-20-2009, 04:53 AM   #5
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
[@@@@@@@@@@@@@@@@@@@@@@]$ whereis useradd
useradd: /usr/sbin/useradd /usr/share/man/man8/useradd.8.gz
[@@@@@@@@@@@@@@@@@@@@@@]$
[@@@@@@@@@@@@@@@@@@@@@@]$ su adduser teamspeak
-bash: /bin/su: Permission denied
[@@@@@@@@@@@@@@@@@@@@@@]$

Last edited by mrconfus3d; 07-20-2009 at 04:55 AM.
 
Old 07-20-2009, 04:56 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Which distribution?
try
Code:
sudo adduser teamspeak
 
Old 07-20-2009, 04:58 AM   #7
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
[@@@@@@@@@@@@@@@@]$ sudo adduser teamspeak
-bash: sudo: command not found
 
Old 07-20-2009, 04:59 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
which distribution?
 
Old 07-20-2009, 05:02 AM   #9
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrconfus3d View Post
[@@@@@@@@@@@@@@@@@@@@@@]$ whereis useradd
useradd: /usr/sbin/useradd /usr/share/man/man8/useradd.8.gz
[@@@@@@@@@@@@@@@@@@@@@@]$
[@@@@@@@@@@@@@@@@@@@@@@]$ su adduser teamspeak
-bash: /bin/su: Permission denied
[@@@@@@@@@@@@@@@@@@@@@@]$
You told me to type in whereis useradd, and thats the output i got from it.
 
Old 07-20-2009, 05:04 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
We need to know which distribution you are using.
 
Old 07-20-2009, 05:05 AM   #11
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Yes. So how can i tell which distribution it is...
 
Old 07-20-2009, 05:05 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try
Code:
lsb_release -a
 
Old 07-20-2009, 05:06 AM   #13
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Command not found >_>
 
Old 07-20-2009, 05:11 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you installed the server yourself?
What do you see when you boot?
Do you know the root password?
try
Code:
cat /proc/version
 
Old 07-20-2009, 05:14 AM   #15
mrconfus3d
LQ Newbie
 
Registered: Jul 2009
Posts: 19

Original Poster
Rep: Reputation: 0
Looks like its redhat 4.1.2-42

Quote:
Linux version 2.6.18-92.1.10.el5PAE (mockbuild@builder16.centos.org) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Aug 5 08:14:05 EDT 2008
I pay monthly for the server.

Yes i log into SSH with the root password
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Install TeamSpeak Client webbing2006 Linux - Software 1 11-15-2008 02:58 AM
LXer: How To Install A TeamSpeak Server On Ubuntu LXer Syndicated Linux News 0 05-26-2008 12:30 PM
install teamspeak with ports JROCK1980 *BSD 3 03-05-2007 01:46 AM
TeamSpeak richiefrich General 1 05-18-2006 03:42 PM
Teamspeak 2 RC2 install SuperBongBoy Linux - Software 0 09-10-2004 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration