PDA

View Full Version : help setting up teamspeak on host



mrjerryk
03-16-2006, 07:57 AM
Can anyone give me a walk through on how to install the teamspeak server on my host. I have verified that you ARE able to host teamspeak now I just need to know how to set it up with bluehost


Thanks in advance

John
03-16-2006, 08:38 AM
You can run a TS server on Bluehost??

I didn't know that...:eek:

mrjerryk
03-16-2006, 09:18 AM
yep I emailed support and the guy that responded to me said he host a server for a 60 man clan

John
03-16-2006, 09:35 AM
yep I emailed support and the guy that responded to me said he host a server for a 60 man clanI need to look into this then, I pay another company for a 20 man TS server. I have never heard of that, or seen anything anywhere on Bluehosts sites about TeamSpeak.

:confused:

chitownjts
03-16-2006, 10:37 AM
I can get TS installed and started....

I just cannot connect to it via ts client or webadmin. I wonder if port access to BH is needed.

Update:

I think the ts server files need to reside in a folder under the /home directory (seen in secure shell)

We as end users cannot mkdir(add) folders under the /home dir, so it seems to not be possible.....

Correct me anyone if I am wrong.

Googling ts installs led me to this thought. It would explain why a support person could have it running, having access to the box itself.

John
03-16-2006, 06:48 PM
Can someone from Bluehost confirm that you can have a TeamSpeak server setup? And is this an additional charge?

I never heard of this!

As far as webadmin, and a web based viewer, you need certain UPD ports opened, you get that with upgrading to a static IP. I had to upgrade to view our TS via our web site.

:D

cyberdog
03-29-2006, 08:37 AM
Yes you can run teamspeak off of your Bluehost account. I have one running on my server for about a year now and have not had any problems to speak of other than an occassional restart-twice in the last year which is awesome.

You do have to have shell access to set it up. You can't do it without shell access. There is a great tutirial over at goteamspeak.com under "Setting up TeamSpeak on a Linux Server."

There was one problem I had where a file did not install. Which you can just manually upload the file to your TS directory.

And there is no additional cost to run TeamSpeak.:cool:

Kemper
03-29-2006, 12:26 PM
So you NEED a static Bluehost IP to use TS, correct? Otherwise you can't access the ts admin?

rhyno
03-29-2006, 01:17 PM
Yes, you need a static IP and SSH access. Once you have these, you can follow the Teamspeak setup directions on goteamspeak.com and it's as easy as a pie.

One tip after you set it up. Some users behind NAT routers may have trouble connecting to the server. If this is the case, go into your server.ini and add your IP to the BoundToIP setting. Then restart the server and you should be good to go. I just did this all the other day and had no problems at all.

alligosh
03-29-2006, 07:34 PM
Teamspeak servers are permitted, with the following caveats:

1- if you use too many resources, it will get killed. As with everything, small to midsize is fine, don't get too carried away :)

2- You must have a dedicated IP address, or the orphan cleanup scripts will get it.

3- you must bind the service to your dedicated IP, and NOT the main ip of the server or the 0.0.0.0 main listening IP. If you don't do this, nobody else on your server will be able to run the same application due to trying to bind to the main IP, and a complaint of that nature will get you a polite letter and possibly have the service deactivated untill you comply. (Hate to be that way, but again, you shouldn't effect other users)

Fairly simple. Play nice with others, and you can do a lot on the servers.

And yes, the guys that work here have to follow the same rules as everyone else; I do not allow employees to run things that customers cannot, nor in any manner other than customers can.

flood
03-30-2006, 05:08 PM
ok

1 how do you arrange a dedicated ip, what are the associated costs?
2 what about ventrilo? is it any better as far as server load, bandwidth? i googled but can find no definitive comparison of the two

alligosh
03-30-2006, 06:13 PM
Call customer support, or email them, and they can set it up for you.

Cost, I don't remember. They would know that as well (ends up being two or three dollars a month).

As for those types of services, I have experience with any of them, though I know that when they are done right, the generally don't cause any issues with load on the servers. I am one of the guys that routinely finds poorly behaving apps and hand them off to our customer service to contact the owners and help them play nice, so I see the apps that generally cause issues. I don't usually see teamspeak, etc.

scottcrew
03-31-2006, 05:55 AM
ok
1 how do you arrange a dedicated ip, what are the associated costs?


You would need to contact BlueHost and request a dedicated IP. I believe that it is $30 USD per year.

HTH!

rhyno
03-31-2006, 09:27 AM
To help you choose between Ventrilo and Teamspeak, here's a bit of info.

The Ventrilo license is VERY restrictive. You can either pay for a full license to setup ventrilo as a commercial user who rents the service out on a dedicated/virtual server. OR you can use the free version with a maximum of 8 user slots.

For me, I may not user more than 8 slots right now, but I would like to be able to use a bit more than that. 8 is a pretty restrictive number, but it may work for you as a personal server. Ventrilo tends to have a bit better voice quality in general, but it uses more bandwith on the client side which I would imagine would equate to using more on the server side as well.

flood
04-02-2006, 07:10 PM
thanks guys

youre right, that is very restrictive.. why dont they provide a small scale license for individuals :(

think i may just rent a dedicated server

cyberbofh
04-03-2006, 07:14 AM
You would need to contact BlueHost and request a dedicated IP. I believe that it is $30 USD per year.

HTH!
Just a question...
Why do you need a dedicated IP when you normally connect on hostname.domain.dom ?

scottcrew
04-05-2006, 05:50 AM
Just a question...
Why do you need a dedicated IP when you normally connect on hostname.domain.dom ?
The original question I was responding to was how would they arrange for a dedicated IP and what were the costs...
That was all I was responding to...

HTH!

cyberbofh
04-05-2006, 06:17 AM
The original question I was responding to was how would they arrange for a dedicated IP and what were the costs...
That was all I was responding to...

HTH!

:) no problems.. I just wondered why...

alligosh
04-05-2006, 10:14 PM
:) no problems.. I just wondered why...


The main reason you need a dedicated IP in order to run your own service is mostly to follow the "play nice with others" rule.

If you bind a service that is not designed to be shared (with suexec, chrooting, etc), then you are the ONLY one that can use that port on the server. If you get a dedicated IP address and bind your service to that address, others can do the same.

There are a few other reasons from a technical standpoint (firewall rules, orphan/runaway process management, etc), but mostly it's to be good in a shared environment.

midi
05-26-2006, 01:47 PM
Teamspeak servers are permitted, with the following caveats:

1- if you use too many resources, it will get killed. As with everything, small to midsize is fine, don't get too carried away :)

2- You must have a dedicated IP address, or the orphan cleanup scripts will get it.

3- you must bind the service to your dedicated IP, and NOT the main ip of the server or the 0.0.0.0 main listening IP. If you don't do this, nobody else on your server will be able to run the same application due to trying to bind to the main IP, and a complaint of that nature will get you a polite letter and possibly have the service deactivated untill you comply. (Hate to be that way, but again, you shouldn't effect other users)

Fairly simple. Play nice with others, and you can do a lot on the servers.

And yes, the guys that work here have to follow the same rules as everyone else; I do not allow employees to run things that customers cannot, nor in any manner other than customers can.

I am trying to configure Ventrilo (Free version 8ppl max). Aside from running the executable once installed, is there something I need to do to "bind" it to my static ip or does this happen simply by executing it from my account?

alligosh
05-27-2006, 07:25 AM
I am trying to configure Ventrilo (Free version 8ppl max). Aside from running the executable once installed, is there something I need to do to "bind" it to my static ip or does this happen simply by executing it from my account?

I have never used that product, but there should be some method that you give it your dedicated IP address so that it will bind to it and not to all addresses (which it will do if you don't give it anything). Contact the product vendor or try their forums.

schoolbus
06-17-2006, 05:33 PM
Can anyone give me a walk through on how to install the teamspeak server on my host. I have verified that you ARE able to host teamspeak now I just need to know how to set it up with bluehost


Thanks in advance

so did anyone help you? I'm looking to set one up also and I do not know the first thing about Linux(we need Linux right? it's a Linux server?) or shell comands . I did however get A dedicated IP address and have opened up my shell access. I have looked at the teamspeak fourms but they all seem to start from the begining and I belive there is already a "home" dir set up for me....not sure... I tried mkdir /home/"username" and it said dir all ready exist.

Briggzee
06-29-2006, 04:00 AM
Here's some rough step by step instructions how to get Team Speak running.

1. Contact BlueHost and get SSH Access.
Might also be a good idea to request a Dedicated IP Address aswell at this stage.

2. Accessing webspace with SSH.
I use a program called PuttY
-Select SSH
-Hostname: your-bluehost-domain.com
-All other settings should be fine as defaults
-Log in.

3. Getting Team Speak Server onto your webspace
-You can download it onto your local machine and then upload it again or you can get it using SSH
-I like to use the command wget. Find the link to the file for the linux server from http://www.goteamspeak.com for example;
$> wget ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_server_xxx_xxxxx.tar.bz2

4. Extracting the file
You should have the file in your webspace now and we need to extract it. To do this use the following command;
$> tar -jxvf ts2_server_xxx_xxxxx.tar.bz2


5. Running the Server
We want to go into the new team speak directory
$> cd tss2_rc2/
Now we run the server temporarily
$> ./teamspeak2-server_startscript start
This will get the server to create server.ini - Now we stop the server.
$> ./teamspeak2-server_startscript stop

6. If you dont already have a dedicated IP, now will the time to get it.
We need to bind the Team Speak server to your Dedicated IP. We need to edit server.ini
A fairly easy to use editor to run from SSH is nano
$> nano server.ini
find the BoundToIP1 and add your dedicated IP to it. Please note there are no spaces and dont include the '<' '>'

BoundToIp1=<your-dedicated-IP>

7. Time to start up the server for good
$> ./teamspeak2-server_startscript start
$> ./teamspeak2-server_startscript passwords

Log into the config page with your chosen browser
http://your-bluehost-domain.com:14534

And that should be it.

schoolbus
07-05-2006, 09:44 AM
Thanks so much for the info but I'm getting an error trying to extract the file.

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

any help would be great

thanks

p.s. just to make sure...do I type in the "&>" or is that just an example of the promt?

Jemah
07-05-2006, 10:15 AM
I've installed Teamspeak, and it seems to be working fine... for some. Others, like myself at work (home works fine) get error:

[12:16:27]No reply from server
Maybe the server is offline
or maybe teamspeak is not running on it.

I put in the IP in the setting.ini file and restarted the server but I'm still getting that error. It's rather annoying cause some can log in, others can't. And it's already setup so I don't really want to reinstall it. Any ideas?

Briggzee
07-06-2006, 04:05 AM
p.s. just to make sure...do I type in the "&>" or is that just an example of the promt?

Sorry. I should have made that clear in the the first instructions.

Yes, the "$>" is to represent the command prompt. So dont type that part.

And there was another mistake on my part.
Extracting the file...

The command is;
$> tar -xvjf ts2_server_rc2_20201.tar.bz2

I'll fix that up.
(the one I posted is for a xxxxx.tar.gz file)



I've installed Teamspeak, and it seems to be working fine... for some. Others, like myself at work (home works fine) get error:

[12:16:27]No reply from server
Maybe the server is offline
or maybe teamspeak is not running on it.

I put in the IP in the setting.ini file and restarted the server but I'm still getting that error. It's rather annoying cause some can log in, others can't. And it's already setup so I don't really want to reinstall it. Any ideas?

I would guess that wherever your connecting from, the port for Team Speak is being blocked.
You may want to check Firewall settings and make sure that port 8767 isnt being blocked.

I'm not too sure what else it could be. I'd recommend having a look at the support/forum links on http://www.goteamspeak.com for further help.

siguie
07-06-2006, 04:14 AM
I set mine up just this weekend and it's been great! :D

Check your stats to see how long the server has been running ... the server may be fine and something else is blocking you.

Two people had connection issues that I believe are the same or similar to what you are describing and it was a firewall problem. One was ZoneAlarm and the other was ZoneAlarm + the Windows Firewall.

With ZA be sure to give the TeamSpeak client FULL priveleges connecting to the server AND acting as a server. If the person simply clicks "allow" it works for a while and then stops ... not sure why. If anyone is running two firewalls just turn off the Windows one it's messed up anyways.

The other thing to remember is that there is a "pulse" or "heart beat" package sent each second, if you have a bad or just really slow connection and miss enough of the pulses you'll get the same error.

Jemah
07-06-2006, 06:02 AM
I don't believe it to be a port issue (at least where I work). Even though I wouldn't be able to do anything about it personally, I can, however, connect to another TS server that has the same port number without problems. Just something about this setup that blocks me for some reason, and I'm assuming that's why others can't either.

And I've tried to find a resolution on their website, but getting the answer of go to the FAQ doesn't help me since my remedy isn't there.

Perhaps others can try to log in and tell me if they get the same thing? I don't know, I'm running out of ideas and I'm sure the GM is getting impatient with me as well. :(

IP: 70.103.17.80
password: pug

schoolbus
07-06-2006, 10:03 AM
Thanks again for the update. I got the files extracted and got to the TS Dir but when I went to start the server I got this error:


starting the teamspeak2 server
Error, Either an old instance of teamspeak is still running, or
an other application is using the tcpquery port!
Error, Server was not started!

Do you think this meens there is another TS server allready running and someone didn't set theres up right? Or do I have to use a new tcpquery port?

Thanks

p.s.


I don't believe it to be a port issue (at least where I work). Even though I wouldn't be able to do anything about it personally, I can, however, connect to another TS server that has the same port number without problems. Just something about this setup that blocks me for some reason, and I'm assuming that's why others can't either.

And I've tried to find a resolution on their website, but getting the answer of go to the FAQ doesn't help me since my remedy isn't there.

Perhaps others can try to log in and tell me if they get the same thing? I don't know, I'm running out of ideas and I'm sure the GM is getting impatient with me as well.

IP: 70.103.17.80
password: pug

I tired loggin onto your server with no problems...well I could say one....you play a Horde :rolleyes:



------------EDIT and UPDATE------------

so I think I found or solved my problem. I decided to try and edited my server.ini file. When I went there the only option was to change the dedicated IP...so I did and it worked! The server is up and running now.

Now I have two questions. Should I change my tcpquery port number since it seems someone eles is running a TS server or do I just leave it be. Second, is there a script of some kind or a setting in my cPanel to restart the TS server automatically if and when the main sever ever gets rebooted.

Jemah
07-06-2006, 12:13 PM
I tired loggin onto your server with no problems...well I could say one....you play a Horde :rolleyes:
*gasp* Meanness! :P

I've asked on the teamspeak forums for guidance, so hopefully someone can help me without pointing me to the FAQ which doesn't help me. It's still frustrating, and even moreso that you were able to and I can't get into my own server! Gah!

John
07-08-2006, 10:18 AM
I got mine set up pretty easily, but it went down after about 24 hours.

So i had to restart the server (through SSL), is this something that happens regularly? If so is there a script or something to keep it running if it crashes or whatever?

I currently rent TS through another provider, and it has never went down in over a year, but I would rather use my Bluehost TS, and not pay for the other TS server :D

Maybe an auto-boot script for tS, incase my main server gets a reboot?

Any help on making this TS service more reliable would be great, we never have more than 6-10 peopl on our TS.

Jemah
07-10-2006, 06:30 AM
Not sure what's going on there. Mine has been up for 3 days straight so far with no problems, and on any raiding day we have at least 20 people on and talking away. Perhaps put in a ticket or email support and see if they see anything regarding the server crashing often.

John
07-10-2006, 02:48 PM
I'll have to do that, I'm having to restart it everyday...:(

aaefhitman
07-19-2006, 05:01 PM
Is there any other program to use besides nano to edit the server.ini file???:cool:

Dustin
07-19-2006, 05:18 PM
You can use vi or the File Manager to edit the file. Or, if you want, download it and edit it with notepad.

Also there are some scripts you can set up on your server that can restart the server if it goes down, or I beleive users have set up cron jobs for this functionality.

aaefhitman
07-19-2006, 08:12 PM
Ok I got every thing up and running, But I can't login to the server administration. I put in the password But I get a login failed. In both admin and superadmin. Is there some kind of username I need or what am I doing wrong??

Dustin
07-19-2006, 08:36 PM
Yeah TS comes with some default usernames and passwords, which you will want to change. This is from the TS docs


Q: I installed the server, how do I become an Admin on it?
A: To get the login data for the Server Administrator, do the following:
- Start the TeamSpeak server. And close it again.
- Open the file server.log that is created in the same directory where the
server executable is located.
- look for the lines similar to:

09-11-03 12:31:35,WARNING,Info,SERVER, admin account info: username: admin password: 5cglko
09-11-03 12:31:35,WARNING,Info,SERVER, superadmin account info: username: superadmin password: k06i26

For you the password will be different.
Also notice that the superadmin account is only for web-adminning your server not to login via the ts-client.

Webb
07-20-2006, 10:07 AM
Teamspeak runs good but still restarts alot to keep it running we need a cron job heres what I was trying not working as of yet .

#!/bin/sh
teamspeakdir="home/theoutca/public_html/tss2_rc2/"
binname="server_linux"
cd $teamspeakdir
process=`ps auxwww | grep server_linux | grep -v grep | awk '{print $11}'`
if [ -z "$process" ]; then
echo "couldn't find TS2 running, it will be up & running directly."
nohup ./server_linux 2&>1 >> home/theoutca/public_html/tss2_rc2/tss2.log &
else

As for ventrilo I didnt manage to get the codex to change on reboot but the run start command is ./ventrilo_srv -d

aadmavric
08-13-2006, 10:31 AM
Teamspeak runs good but still restarts alot to keep it running we need a cron job heres what I was trying not working as of yet .


As for ventrilo I didnt manage to get the codex to change on reboot but the run start command is ./ventrilo_srv -d
Can someone post the correct cron job to restart a teamspeak server?

siguie
08-14-2006, 03:07 AM
Can someone post the correct cron job to restart a teamspeak server?
The cronjob I use is ...


0 */6 * * * sh /home/YOURDOMAIN/www/ts/ts_auto.sh

... and ts_auto.sh is ...

#!/bin/sh
teamspeakdir="/home/YOURDOMAIN/www/ts"
binname="server_linux"
cd $teamspeakdir
process=`ps auxwww | grep YOURDOMAIN| grep server_linux | grep -v grep | awk '{print $11}'`
if [ -z "$process" ]; then
echo ".. couldn't find that mofo running, it will be up & running directly.."
nohup ./server_linux -PID=tsserver2.pid 2&>1 >> /home/YOURDOMAIN/www/ts/tss2_rc2.log &
else
if [ $1 = "stop" ]; then
kill -TERM `cat tsserver2.pid`
else
echo "the server is already running!"
fi
fi

You may want to read a few posts back because this was posted earlier. Anyhow my cron goes off every 6 hours ... you may want to set yours differently.

mrjerryk
08-17-2006, 05:50 AM
The cronjob I use is ...


0 */6 * * * sh /home/YOURDOMAIN/www/ts/ts_auto.sh

... and ts_auto.sh is ...

#!/bin/sh
teamspeakdir="/home/YOURDOMAIN/www/ts"
binname="server_linux"
cd $teamspeakdir
process=`ps auxwww | grep YOURDOMAIN| grep server_linux | grep -v grep | awk '{print $11}'`
if [ -z "$process" ]; then
echo ".. couldn't find that mofo running, it will be up & running directly.."
nohup ./server_linux -PID=tsserver2.pid 2&>1 >> /home/YOURDOMAIN/www/ts/tss2_rc2.log &
else
if [ $1 = "stop" ]; then
kill -TERM `cat tsserver2.pid`
else
echo "the server is already running!"
fi
fi

You may want to read a few posts back because this was posted earlier. Anyhow my cron goes off every 6 hours ... you may want to set yours differently.


Can you tell me step by step on how to setup the cron job to check my ts server.

siguie
08-18-2006, 03:01 AM
Can you tell me step by step on how to setup the cron job to check my ts server.
There are a couple of ways to do it but the easiest is just open up "Cron jobs" in cpanel, click on "Standard" and enter ...


sh /home/YOURDOMAIN/www/ts2/ts_auto.sh

... and pick how often you want it run from the drop down menu.


I bet you forgot the "sh" in the front huh ;) I always forget that too :rolleyes:

mrjerryk
08-18-2006, 06:13 AM
There are a couple of ways to do it but the easiest is just open up "Cron jobs" in cpanel, click on "Standard" and enter ...


sh /home/YOURDOMAIN/www/ts2/ts_auto.sh

... and pick how often you want it run from the drop down menu.


I bet you forgot the "sh" in the front huh ;) I always forget that too :rolleyes:


Does it matter where you upload this cron job?

Nevermind. I didn't read all the code before posting that question

mrjerryk
08-18-2006, 12:14 PM
I am getting an error with this cron job


/home/myhost/public_html/ts2/ts_auto.sh: line 4: cd: /home/onezerz4/wwwl/ts2/

: No such file or directory
/home/myhost/public_html/ts2/ts_auto.sh: line 15: syntax error near unexpected token `fi'
/home/myhost/public_html/ts2/ts_auto.sh: line 15: `fi'



BTW I changed myhost name to what it really is in the script. Didn't want to post it on the forum though


Can anyone help me out with this?

Shayne
08-18-2006, 12:21 PM
/home/myhost/public_html/ts2/ts_auto.sh: line 4: cd: /home/onezerz4/wwwl/ts2/

: No such file or directory

Can anyone help me out with this?
Try line 4 :

cd: /home/onezerz4/www/ts2/

mrjerryk
08-18-2006, 12:43 PM
Try line 4 :

cd: /home/onezerz4/www/ts2/


Well I copied the code from an earlier post. Also I did have it as public_html and that still didn't work.

Figgs
08-18-2006, 11:00 PM
Well, I've done everything I can read about and still no luck with Teamspeak.

I registered a new domain today.

I purchased a dedicated IP address.

I received email of that dedicated IP address.

I have SSH access to my account.

The domain name has propogated to me and I can bring up the default website at that domain by using either the domain name or the dedicated IP address.

I downloaded the linux server bz2 file from teamspeak.

I found the tutorial here on this site and followed those instructions to the letter.

I cannot connect to the webadmin pages on my teamspeak server. (times out)

I cannot connect to the teamspeak server with my teamspeak client (no reply from server, maybe the server is offline or maybe teamspeak is not running on it)

I CAN connect to another TS server that I have used for months. I never had to change any port/firewall settings on my PC or my router to connect to this other server (not bluehost).

I have bound the IP in the server.ini file to my dedicated IP address.

I have checked the server.log file for the admin and superadmin passwords.

The startup script does start. "ps -ef |grep myusername" shows me that I have 9 teamspeak processes running when it starts up the server, like this


uname 18431 1 21 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18435 18431 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18436 18435 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18437 18435 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18438 18435 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18440 18435 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18441 18435 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18442 18435 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid
uname 18443 18435 0 22:54 pts/1 00:00:00 ./server_linux -PID=tsserver2.pid


One thing I did try was removing the entire installation from my web host and then installing from within the "www" directory on the web host. If I do this and give the absolute path to the teamspeak "httpdocs" folder I can see the main page and I can even pull up the login page. These are, however, static HTML pages and it's simply showing me the page I requested and not actually serving the page via the 14534 port.

The permissions on the tss2 directory are the same as the public_html directory, so all should be viewable. The directory user and group is my username so I can tell that the process (running as my username) should have access to those files as it needs, right?

server.log reports this when I run the startup script:

-------------- log started at 18-08-06 22:54 -------------
---------------------------------------------------------------
18-08-06 22:54:23,ALL,Info,server, Server init initialized
18-08-06 22:54:23,ALL,Info,server, Server version: 2.0.20.1 Linux
18-08-06 22:54:24,ALL,Info,server, Starting VirtualServer id:1 with port:8767
18-08-06 22:54:24,ALL,Info,server, Server init finished
18-08-06 22:54:24,WARNING,Info,server, TeamSpeak Server daemon activated


What am I missing? What am I doing wrong? Is there anything else I have to request from bluehost to turn on/open/unblock/enable?

I have opened all the proper ports on my router at home. I have windows firewall disabled. I even tested it once with the router firewall disabled and I still get the same behavior.

Thanks in advance.

Figgs

PS: I should add that the only thing I have changed in the server.ini file is the BoundTo option - I have it pointing to my Dedicated IP address.

Figgs
08-19-2006, 12:08 AM
UPDATE: It's miraculously working!

I was so busy working on this I didn't have time to login and play Everquest tonight until much later. When I tried to get on my Guild's TS server it was down also.

I didn't know it but it appears that the guild leader also hosts his TS server on bluehost and there was apparently something "not right" with both TS servers.

Now mine seems up and running and so does the guild's TS server.

Wish I had known somehow that it wasn't on my end. I've been messing with this for 4 hours now.

Figgs

siguie
08-19-2006, 04:46 AM
Well I copied the code from an earlier post. Also I did have it as public_html and that still didn't work.
Uh did you install TeamSpeak in a folder named "TS2" like I did?

If you are still having problems you may want to look around some. I didn't write the script ... one of the admins mentioned it, and I remember researching it over at the teamspeak forum and did only some very minor modifications.

Anyhow what I posted is what I use (minus the domain name) and it's been working great for me :)

mrjerryk
08-20-2006, 04:24 PM
Uh did you install TeamSpeak in a folder named "TS2" like I did?

If you are still having problems you may want to look around some. I didn't write the script ... one of the admins mentioned it, and I remember researching it over at the teamspeak forum and did only some very minor modifications.

Anyhow what I posted is what I use (minus the domain name) and it's been working great for me :)


Yes I did. I will look at the TS forums and see what I can come up with. Thanks for your reply.

golanthe
09-24-2006, 04:54 AM
hi,

i installed TS and the cron thingy. all seems to work.
But in the mail i get from the cronjob it says this

:.. couldn't find that mofo running, it will be up & running directly..


so thats ok but if the script runs when the server is up it says:


............./ts2/ts_auto.sh: line 10: [: =: unary operator expected
the server is already running!


It does what it needs to do, but can someone explain me the fault?


thx
Gol

Rikstr
09-24-2006, 08:15 PM
I uploaded TS to my ftp account. so my TSS folder is sitting in public html folder.

when i try to run

./teamspeak2-server_startscript start

using PuTTY It says: -bash: ./teamspeak2-server_startscript: Permission denied

I also tried to run

./INSTALL

and i got the permission denied as well.

have i got the ts folder in the correct place? I just uploaded the unpacked TS folder from my pc to my ftp account.

Rikstr
09-27-2006, 05:04 AM
well all i can say is upload the zipped file and unzip it within your ftp. got it working sweet. now for the cron job.:o

DeathToMe
11-06-2006, 02:54 PM
OK BlueHost has changed my IP. Now is there an easy way to get my TS back working or do we have to install it again? anyone have an answer?

CujoQuarrel
12-17-2006, 03:45 PM
Unpacked TS and started via the start script

Looks like the processes are running.

But when I try to use http:/<MY IP>:<Port Number> I get nada.
No error. No return on the web page. Tried all of the Port Numbers
I could find that came standard 8767, 14534, 51234 etc

Obviously there is something I'm missing. Any one able to help?

siguie
12-18-2006, 03:16 AM
OK BlueHost has changed my IP. Now is there an easy way to get my TS back working or do we have to install it again? anyone have an answer?
I just edited the config file and restarted it.


CujoQuarrel: Did you install the server on you Blue Host account? or are you trying to run the server from your computer? It sounds like you are having problems with the "client" program not the server. If that's so check your firewall ... the usual problem is the firewall is not letting you connect to the server. If you have Norton running try and allow the ports and then turn Norton off. Most of the time you need to uninstall Norton ... for some reason people have lots of problems with Norton.

Good Luck!

rylord
12-24-2006, 05:20 PM
The issue most are having with dedicated IP's and not being able to connect to your TeamSpeak server is Bluehost firewall settings on your Bluehost hosted website.

For most, Bluehost has to configure the firewall in front of your website to allow the TeamSpeak ports to be opened and allow external (public) Internet connections to your TeamSpeak server on your dedicated IP at Bluehost.

I found this out through a very long road by calling and opening a support ticket with Bluehost. It took approx. 8 calls to different Bluehost support techs to finally speak with one who was familiar with this problem and Bluehost customers installing and using the TeamSpeak server software.

I also found out that not all tech support members at Bluehost know this. It's a hit/miss when you talk to different Bluehost support technicians.

The following 3 ports need be opened to your dedicated IP:

UDP Port 8767 (Default)
TCP Port 14534
TCP Port 51234

If Bluehost does not configure the firewall on your website (dedicated IP) you or anyone else will be able to connect with your TeamSpeak server with the TeamSpeak client software, nor will you be able to use the web-browser Admin page on port 14534 to administer your TeamSpeak server.

NOTES:

The TeamSpeak server uses UDP port 8767 for voice unless you changed this within the server.ini

TCP port 14534 for is for the TeamSpeak web admin interface

TCP port 51234 for "TCP query" if you plan on using something like a php-nuke block to query your server and display it on a php-nuke (or similar) website within a block or module.

pcm2a
12-28-2006, 05:24 PM
Good evening all! I just switched to a dedicated ip address so I could also run a teamspeak server. I get the server started with no problems, I set my Bounttoip to my new dedicatedip. I can see the server running in the background:

14741 1 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14743 14741 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14744 14743 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14745 14743 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14746 14743 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14791 14743 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14792 14743 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14793 14743 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid
14794 14743 0 16:26 ? 00:00:00 ./server_linux -PID=tsserver2.pid

However when I go to http://domain:14534/ or http://ipaddress:14534/ I get a bag of nothing. I also cannot get connected with the teamspeak client to my ip address.

From reading post #57 it seems like I would need to create a ticket to get 3 ports opened, however this is the reponse I received from my ticket:
"All ports except 1 through 1024 are open by default if you have a dedicated IP address"

Anyone have any ideas why I cant get this to work if the ports are already opened?

pcm2a
12-28-2006, 05:33 PM
If anyone has any other ideas of how to test to see if ports are really open that would be cool as well. I have tried created a little perl script to bind on a port but have not been successfull as of yet.

pcm2a
12-28-2006, 07:04 PM
I believe whoever worked my ticket was just misinformed.

I created a small socket perl program to listen for a connection. I then tried to connect to it from outside the firewall and could not connect.

I then tried to connect from inside the firewall to my perl program and was successfull. They are obviously blocking the ports and I will have to keep trudging away and hopefully get them opened.

siguie
12-29-2006, 04:13 AM
I didn't have to request any ports be opened and TS works fine. Are you sure you bound your server to your IP and then restarted the server? Also make sure you don't have a firewall issue on your home computer?

pcm2a
12-31-2006, 10:29 AM
I was 100% certain that they were blocking all incoming ports to my new ip address except for 80 and 443. To test this I created a small perl script that listened on port 7890. If I ran this script and binded it to my dedicated ip address you could not connect to it. If I ran it again and binded it to "localhost" and tried to connect from inside the box it worked.

I got one of the tech guys to show those things to an admin and they were able to locate the problem on their side. They made changes and now all my ports are opened and everything is working perfectly.

TS is working great. Only thing that sucks is that I had to go through all that to get them to realize the problem and fix it. What if I would have been a big noob that couldn't whip up a perl script?

On another note I just noticed that they now are offering 200g of space and 2000g or transfer! I'm currently at 50g and 1000g. Whoop!

wolfmoonct
01-19-2007, 05:45 AM
hi,

i installed TS and the cron thingy. all seems to work.
But in the mail i get from the cronjob it says this

:.. couldn't find that mofo running, it will be up & running directly..


so thats ok but if the script runs when the server is up it says:


............./ts2/ts_auto.sh: line 10: [: =: unary operator expected
the server is already running!


It does what it needs to do, but can someone explain me the fault?


thx
Gol

I get the same mail. Is it supposed to do that if the server is already running? The cron definately turned it on.

siguie
01-20-2007, 03:08 AM
I get the same mail. Is it supposed to do that if the server is already running? The cron definately turned it on.
Yes, if you don't like it you can comment it out or delete that part. If there is no output then you shouldn't get an email. Personally I don't mind and left it in.

cyberdog
01-20-2007, 10:04 PM
I have a ts server running on my host account here. I was told tonight it was an issue with their firewall software. They restarted the firewall and it worked great. I was told they are having alot of complaints about this. I was told to keep calling in and complaining about it. It worked great for about 2 hours and then my ts stopped working again.

friky19
09-11-2008, 09:29 PM
sorry to bring up this VERY old thread, but i cant get the cronjob to work. I keep getting that the directory doesnt exist when in fact it does.

the directory im using is /home/hostingn/tss2_rc2

thats were my tss is on. Any ideas to whats happening ?

siguie
09-12-2008, 04:00 AM
Then is your cron command something like ...

"sh /home/hostingn/tss2_rc2/ts_start.sh"


Also keep in mind that the cron only "starts" the server there are occasions where the server is just messed up and you need to kill it and THEN "start" it.


I hope that helps. :)

mhJr_
09-12-2008, 04:36 AM
Then is your cron command something like ...

"sh /home/hostingn/tss2_rc2/ts_start.sh"


Also keep in mind that the cron only "starts" the server there are occasions where the server is just messed up and you need to kill it and THEN "start" it.


I hope that helps. http://www.avxf.com/img18.jpg

Definitely helped me. Thanks for clearing that up. :D

friky19
09-12-2008, 07:00 AM
Then is your cron command something like ...

"sh /home/hostingn/tss2_rc2/ts_start.sh"


Also keep in mind that the cron only "starts" the server there are occasions where the server is just messed up and you need to kill it and THEN "start" it.


I hope that helps. :)

This is what I got as a cron:

sh /home/hostingn/tss2_rc2/ts_auto.sh

ts_auto.sh is the name im using instead, it apparently does read the .sh file but in the script it doesnt do the "cd", here is copy of how its running


#!/bin/sh
teamspeakdir="/home/hostingn/tss2_rc2"
binname="server_linux"
cd $teamspeakdir
process=`ps auxwww | grep hostingn| grep server_linux | grep -v grep | awk '{print $11}'`
if [ -z "$process" ]; then
echo ".. couldn't find that mofo running, it will be up & running directly.."
nohup ./server_linux -PID=tsserver2.pid 2&>1 >> /home/hostingn/tss2_rc2/tss2_rc2.log &
else
if [ $1 = "stop" ]; then
kill -TERM `cat tsserver2.pid`
else
echo "the server is already running!"
fi

friky19
09-13-2008, 07:14 AM
This is what i get in the email:


/home/hostingn/tss2_rc2/ts_auto.sh: line 4: cd: /home/hostingn/tss2_rc2

: No such file or directory

drklain
09-20-2008, 07:16 PM
I'm looking for an assist as well. Loaded teamspeak up. Starts up fine and we can use it, but then seems to hang up after a few hours (as evidenced by an inability of people to login). When I go to ssh shell and try to restart, get a report the server is already running. If I shut it down I get a "could not shut down normally, process killed alert" and then I am able to restart it and it is working again for a few hours.

Have installed the ts_auto.sh script as recommended earlier in this thread, but it doesn't seem to work....something about the directory. Here is what I am using:

#!/bin/sh
teamspeakdir="/home/unitedvi/tss2_rc2"
binname="server_linux"
cd $teamspeakdir
process=`ps auxwww | grep unitedvi| grep server_linux | grep -v grep | awk '{print $11}'`
if [ -z "$process" ]; then
echo ".. couldn't find that mofo running, it will be up & running directly.."
nohup ./server_linux -PID=tsserver2.pid 2&>1 >> /home/unitedvi/tss2_rc2/tss2_rc2.log &
else
if [ $1 = "stop" ]; then
kill -TERM `cat tsserver2.pid`
else
echo "the server is already running!"
fi (Note I have this file in the tss2_rc2 directory as well. When the ts_auto.sh script is called, I get the following errors:

/home/unitedvi/tss2_rc2/ts_auto.sh: line 4: cd: /home/unitedvi/tss2_rc2/

: No such file or directory
/home/unitedvi/tss2_rc2/ts_auto.sh: line 14: syntax error near unexpected token `fi'
/home/unitedvi/tss2_rc2/ts_auto.sh: line 14: `fi'

Any suggestions on solving the TS server problem or the autorestart script problem would be greatly appreciated.

Thanks,
Dave

siguie
09-21-2008, 02:44 AM
It looks like you're missing a "fi" :)

drklain
09-21-2008, 08:22 AM
Missed it in my cut and paste. There are two fi's at the end of the script..

BrainStormXX
12-06-2008, 08:53 PM
Hi there
in front of... sry for posting, but my english is not so good and i want to know if erverything works fine.:confused:

I had done my Cronjob after some fixes and became a e-mail from the Cron Deamon with:

.. couldn't find that mofo running, it will be up & running directly..

Does it mean, the TS is running and everthing is fine???

or " Brain, your an Idiot and you had no idea what you doing " :D

Areyna
11-14-2009, 03:27 PM
I was trying to set up the CRONJOB for the teamspeak, i edit the one in this post, I end with this code:


#!/bin/sh
teamspeakdir="/home/tapetren/www/tss"
binname="server_linux"
cd $teamspeakdir
process=`ps auxwww | grep tapetren| grep server_linux | grep -v grep | awk '{print $11}'`
if [ -z "$process" ]; then
echo ".. couldn't find that mofo running, it will be up & running directly.."
nohup ./server_linux -PID=tsserver2.pid 2&>1 >> /home/tapetren/www/tss/tss2_rc2.log &
else
if [ $1 = "stop" ]; then
kill -TERM `cat tsserver2.pid`
else
echo "the server is already running!"
fi
fi

After running the cron i get

/home/tapetren/www/tss/tss_auto.sh: line 4: cd: /home/tapetren/www/tss

: No such file or directory
/home/tapetren/www/tss/tss_auto.sh: line 15: syntax error near unexpected token `fi'
/home/tapetren/www/tss/tss_auto.sh: line 15: `fi'



Can someone help me What i'm doing wrong? :confused:

Thanks in advances.

bonata
11-16-2009, 01:06 PM
I was trying to set up the CRONJOB for the teamspeak, i edit the one in this post, I end with this code:


#!/bin/sh
teamspeakdir="/home/tapetren/www/tss"
binname="server_linux"
cd $teamspeakdir
process=`ps auxwww | grep tapetren| grep server_linux | grep -v grep | awk '{print $11}'`
if [ -z "$process" ]; then
echo ".. couldn't find that mofo running, it will be up & running directly.."
nohup ./server_linux -PID=tsserver2.pid 2&>1 >> /home/tapetren/www/tss/tss2_rc2.log &
else
if [ $1 = "stop" ]; then
kill -TERM `cat tsserver2.pid`
else
echo "the server is already running!"
fi
fi

After running the cron i get


Can someone help me What i'm doing wrong? :confused:

Thanks in advances.

The result of your cron j is kind of weird. It seems that I've encountered that before, but can't remember if I ever resolved it. Have you tried replicationg this a fewtimes?