PDA

View Full Version : VPS (Virtual Private Server) Problems - Rollup


metacosm
20-07-2006, 18:36
This thread is an attempt to roll up the dozens of "segfault" problems reported while using VPS (Virtual Private Servers).

The "Common Thread" that I have recoginzed seems to be a Fedora/Redhat/CentOS base -- and a segfault on start. In specific, the kernel used on those systems in a VPS enviroment.

For some, typing "setarch i386 ./teamspeak2-server_startscript start" -- solved the problem.

For others, typing "setarch i386 -L ./teamspeak2-server_startscript start" -- solved the problem.

For me, neither of these solutions worked out. My "uname -a" reports "2.6.9-022stab078.9-enterprise #1 SMP Thu Jun 8 12:38:51 MSD 2006 i686 i686 i386 GNU/Linux"

Related Posts:
http://forum.goteamspeak.com/showthread.php?t=31527 - VPS
http://forum.goteamspeak.com/showthread.php?t=16460 - not VPS, but Fedora
http://forum.goteamspeak.com/showthread.php?t=16513 - not VPS, but Fedora

Related Pages:
None Yet

limeygrendel
20-07-2006, 20:30
I posted on one of the other threads, but here's my info again. I am also running on VPS. Like the OP, the various suggestions have not helped solve my problem.

My uname -a says:

Linux localhost.localdomain 2.6.8-022stab070.9-enterprise #1 SMP Thu Apr 20 10:48:12 MSD 2006 i686 i686 i386 GNU/Linux


Any chance a teamspeak staffer could offer some insight?

metacosm
21-07-2006, 00:05
VPS is a growth industry right now ... having Teamspeak fail on one of the most popular and growing services is bad mojo.

limeygrendel
25-07-2006, 03:16
I fixed my problem...

For me, typing this fixed the problem:

setarch i386 -X ./teamspeak2-server_startscript start

Psybertech
16-08-2006, 00:52
I fixed my problem...

For me, typing this fixed the problem:

setarch i386 -X ./teamspeak2-server_startscript start


OMG!!! I AM UP!!! that was it!!!

Thank you!!!

Seishin
18-08-2006, 16:35
I'm running a VPS hosted by Tektonic (http://www.tektonic.net/).

This is what installed on the system:
Linux 2.6.8-022stab078.14-smp x86_64

When trying to run the server I get this error:
starting the teamspeak2 server
Runtime error 230 at 0804CDF3

I've tried many solutions mentioned on this forum:

Using the 'setarch' command with different paramaters
Checking with 'ldd server_linux' that I don't have any missing dependencies
Patching the binary with 'patchelf' as mentioned on the Tektonic forums
Adding a GCONV path with 'export'
Making sure I've got glibc and glibc-locale installed


Now, I think it was me who installed glibc and glibc-locale several weeks ago, can't really remember. Since so many applications that depend on it are working properly, could it be that I've installed an inappropriate build?

Other than that, it just looks like to me like a kernel problem which I don't have the ability to roll back. I'd appreciate any further leads.

Kymmy
21-08-2006, 13:34
I'm running a VPS host at hostdime (centos core)

uname -a give me the following:

Linux XXXXXXXX.XXX 2.6.8-022stab067.1-enterprise #1 SMP Mon Jan 23 20:55:01 MSK 2006 i686 athlon i386 GNU/Linux

and trying to start the TS2 server with setarch gives me:


starting the teamspeak2 server
Runtime error 0 at BFFFF738.
./teamspeak2-server_startscript: line 92: 15874 Segmentation fault ./server_
_linux -PID=tsserver2.pidr

The setarch options -X and -L do nothing for me, in fact I get no output at all

All the other solutions as posted have been searched upon and tried all to no success.

I'm sure that our faith in the teamseak admin and the simple fact that they don;t want to lose all the VPS users to Ventrillo means that the'll have a patch or new release out soon that cures the 2.6.x kernel problem, especialy as VPS is a growng trend and that we can;t easily rollback to an old kernel.

Kymmy :cool:

JCS725
08-09-2006, 21:17
My uname -a gives me this
Linux host.mxcrazy.com 2.6.8-022stab078.14-enterprise #1 SMP Wed Jul 19 14:35:02 MSD 2006 i686 athlon i386 GNU/Linux


If I try to run setarch I get this
setarch: command not found

Any ideas?

Thanks in advance

Kymmy
08-09-2006, 21:41
Setarch needs to be installed before it can be used. I installed mine via the RPM but this will depend on OS version.

Kymmy :cool:

JCS725
08-09-2006, 21:50
I'm working on installing it now..
I will let you know the results..

JCS725
08-09-2006, 22:04
This is what I'm getting now..

root@host [/home/mxcrazyc/public_html/tss2_rc2]# setarch i386 -L ./teamspeak2-server_startscript start
WARNING ! For security reasons we advise: DO NOT RUN THE SERVER AS ROOT
!!!!!!!!!!!
starting the teamspeak2 server
Runtime error 0 at BFFFF7E8
./teamspeak2-server_startscript: line 7: 7615 Segmentation fault ./server_linux -PID=tsserver2.pid

sablenine
09-09-2006, 00:21
try using -L intead of -X

also, it's recommended that you create a different user to run stuff under, and not run it under the root user.

JCS725
09-09-2006, 17:13
I've tried L and X (L is pasted in the above code) and had the same results..
I've ready where people have tried kernel roll backs to get it working but this isn't an option as the VPS company doesnt allow it.
I will create a ts user ID when it's all said and done I just figured I would get it going with root and then iron the little stuff out.

This is really frustratiing. I got this installed on my old vps that ran true Red Hat and this CentOS seems to have a few issues.

I've dug through the forums and I've tried many suggestions but have been unable to come up with a solution that works. If you have had this problem and have the solution please post up. Or if you have any suggestions please post up. I'm still digging through old posts trying to find the answer as well..

Thanks,

JCS725
11-09-2006, 23:22
Anyone have any insight?

JCS725
13-10-2006, 22:39
So a month has passed and no one has any suggestions?
Good thing Ventrilo works I guess.

Would like to get TS working. The 8 user limitation with Vent sucks. There a package for CentOS yet?

louig1
16-10-2006, 01:29
well i got a total of 40 servers running with mysql on 1 vps in order to run the rest of the servers i have i am setting up 2 more vps for teamspeak and just have them use the main ts dns.

JCS725
20-10-2006, 20:58
well i got a total of 40 servers running with mysql on 1 vps in order to run the rest of the servers i have i am setting up 2 more vps for teamspeak and just have them use the main ts dns.


Have any help with how I can get it working with CentOS?

Seems like several people are unable to get it installed.

louig1
21-10-2006, 03:34
I am using FC4 to run the ts servers. I'm thinking about trying a trial install of rh7.2 and see if that will e stable enough for TS only.

JCS725
17-11-2006, 01:25
Another month gone by and no suggestions on how to get it to work with CentOS?

Kymmy
17-11-2006, 11:54
Another month gone by and no suggestions on how to get it to work with CentOS?

Actually there has been a few suggestions.

1# Wait for another Ver 2 release
2# Wait for Ver 3
3# Rollback your Kernel (not practical for us VPS users)
4# Move to Ventrillo

:(

Kymmy

Psybertech
17-11-2006, 19:26
OMG!!! I AM UP!!! that was it!!!

Thank you!!!

I had been using the setarch -x to run TS but this morning it stopped working. Now I only get this.

----------------
-sh-3.00$ setarch i386 -X ./teamspeak2-server_startscript start
starting the teamspeak2 server
./teamspeak2-server_startscript: line 7: 1880 Killed ./server_linux -PID=tsserver2.pid
-sh-3.00$
-----------------

Any ideas anyone?

JCS725
17-11-2006, 19:46
Actually there has been a few suggestions.

1# Wait for another Ver 2 release
2# Wait for Ver 3
3# Rollback your Kernel (not practical for us VPS users)
4# Move to Ventrillo

:(

Kymmy


Yeah I'm on a VPS and the only one that works is #4.
Sure would be nice to be able to run the better product.

Psybertech
17-11-2006, 20:23
I am on a GoDaddy Virtual Private Server and I just noticed that my version has changed...

OLD version which ran using the Setarch i386 -X command...
-sh-3.00$ uname -a
Linux ls1.xxxxxxxxx.net 2.6.8-022stab067.1-enterprise #1 SMP Mon Jan 23 20:55:01 MSK 2006 i686 i686 i386 GNU/Linux
-sh-3.00$

NEW version keeps coming back with KILLED.
-sh-3.00$ uname -a
Linux ls1.xxxxxxxxx.net 2.6.9-023stab033.1-enterprise #1 SMP Mon Oct 23 22:21:51 MSD 2006 i686 i686 i386 GNU/Linux

Kymmy
17-11-2006, 20:50
I am on a GoDaddy Virtual Private Server and I just noticed that my version has changed...

OLD version which ran using the Setarch i386 -X command...
-sh-3.00$ uname -a
Linux ls1.xxxxxxxxx.net 2.6.8-022stab067.1-enterprise #1 SMP Mon Jan 23 20:55:01 MSK 2006 i686 i686 i386 GNU/Linux
-sh-3.00$

NEW version keeps coming back with KILLED.
-sh-3.00$ uname -a
Linux ls1.xxxxxxxxx.net 2.6.9-023stab033.1-enterprise #1 SMP Mon Oct 23 22:21:51 MSD 2006 i686 i686 i386 GNU/Linux

This thread is more about the new 2.6.9 Kernel problems

http://forum.goteamspeak.com/showthread.php?t=33864

Talking of the new Kernel I wonder if the latest version cures the Centos problem. First one to try please report back so that the rest of us know wether to chase our hosts or not.

Kymmy

JCS725
07-12-2006, 23:40
Another month...
No new news?

Kymmy
13-12-2006, 16:51
Another month...
No new news?

I'm still wondering if the new Kernel fixes the VPS problem as it was only 2.6.8 when the seg fault started. I might chase my hoster and get him to update to the latest Kernel and report back.

Kymmy :cool:

louig1
13-12-2006, 22:45
this is the fix for ost of the problems with the kernel this is the latest 2.69 opevnvz kernel that the devs uploaded the other day.
http://forum.goteamspeak.com/showpost.php?p=148019&postcount=28

Kymmy
14-12-2006, 13:12
Noyt much good for me as the host is on Virtuzzo which I believe I can;t update the kernel myself. Anyway I've put in a ticket for it asking for the latest 2.6.9 kernel and will report back once that's done and especially if it fixes the Centos VPS problem that is plaguing so many of us.

Kymmy :cool:

Kymmy
22-12-2006, 12:36
Hi everyone,

Just had my Host company update the VPS kernel to 2.6.9-023stab033.9-enterprise. Also checked on the web and found out that the TS2 problem was cured in Virtuozzo kernel 2.6.9-023stab033.6
After update the server starts perfectly :) :cool: :p

Thanks to all on this thread that responded

HugZZZ Kymmy

sablenine
15-01-2007, 03:03
I used to be able to run ts fine, but now TS crashes. The log says:

08-09-06 14:30:22,ALL,Info,server, Server init initialized
08-09-06 14:30:22,ALL,Info,server, Server version: 2.0.20.1 Linux
08-09-06 14:30:22,WARNING,Info,SQL, created table ts2_servers
08-09-06 14:30:22,WARNING,Info,SQL, created table ts2_server_privileges
08-09-06 14:30:22,WARNING,Info,SQL, created table ts2_channels
08-09-06 14:30:22,WARNING,Info,SQL, created table ts2_channel_privileges
08-09-06 14:30:22,WARNING,Info,SQL, created table ts2_clients
08-09-06 14:30:22,WARNING,Info,SQL, created table ts2_bans
08-09-06 14:30:23,ALL,Info,server, Starting VirtualServer id:1 with port:8767
08-09-06 14:30:23,WARNING,Info,SERVER, Default VirtualServer created
08-09-06 14:30:23,WARNING,Info,SERVER, admin account info: username: admin password: 4jkm6k
08-09-06 14:30:23,WARNING,Info,SERVER, superadmin account info: username: superadmin password: n7y9em
08-09-06 14:30:24,ALL,Info,server, Server init finished
08-09-06 14:30:24,WARNING,Info,server, TeamSpeak Server daemon activated
08-09-06 14:30:27,ALL,Info,server, Server shutdown initialized
08-09-06 14:30:30,ALL,Info,server, Server shutdown finished


and the shell says :

starting the teamspeak2 server
./teamspeak2-server_startscript: line 7: 19580 Killed ./server_linux -PID=tsserver2.pid


Im using setarch i386 -X, just like I used to. I turned off my VPS for about a month, and I come back to this

Any ideas?

louig1
15-01-2007, 06:56
your server may be running a program that kills processes unless running by root nobody apache mysql etc see if there is a program running that's causing it.

sablenine
28-01-2007, 22:16
I jsut reinstalled my VPS, and still the same thing. So now it is 100% like it was when I was first using the VPS. Still getting the same problem. It also does not show up in my servers log anything about it. So I;m stuck. I have no log on my VPS, and I have no log on my TS. Any ideas?

maggy
29-01-2007, 16:46
can you do a: uname -a
and post it here?

Katana*GFR*
29-01-2007, 17:40
Linux blebla.com 2.6.17.13p3-vs2.0.2.1 #1 SMP Tue Nov 14 14:11:17 UTC 2006 i686 Intel(R) Xeon(TM) CPU 3.00GHz unknown GNU/Linux

running Mandriva on a Lycos VPS, installed TS from the box, no problems at all..

sablenine
29-01-2007, 18:25
Linux localhost.localdomain 2.6.9-023stab033.1-enterprise #1 SMP Mon Oct 23 22:21:51 MSD 2006 i686 i686 i386 GNU/Linux

maggy
29-01-2007, 22:48
the version of centos4 i am using is
2.6.9-023stab033.9-enterprise

@sablenine: see if you can get your provider to update your kernel to the 033.9 version and make sure setarch is set up

@katana: hmmm... you're using a much newer kernel than the rest of us it seems. you may have a different manefistation of the same bug or it could be something different. no telling from here

Katana*GFR*
29-01-2007, 22:59
@katana: hmmm... you're using a much newer kernel than the rest of us it seems. you may have a different manefistation of the same bug or it could be something different. no telling from here

No problems at all, i downloaded it, set everything the way i wanted and it runs like a charm. No problems for me on the serverside.

sablenine
29-01-2007, 23:17
the version of centos4 i am using is
2.6.9-023stab033.9-enterprise

@sablenine: see if you can get your provider to update your kernel to the 033.9 version and make sure setarch is set up

@katana: hmmm... you're using a much newer kernel than the rest of us it seems. you may have a different manefistation of the same bug or it could be something different. no telling from here


I will contact the mand see, but I do not think that is the problem, it used to run perfectly on my system before when it was set up 100% the same way

Kymmy
02-02-2007, 16:32
Linux localhost.localdomain 2.6.9-023stab033.1-enterprise #1 SMP Mon Oct 23 22:21:51 MSD 2006 i686 i686 i386 GNU/Linux

Early kernel2.6.9-023 had a problem with Teamspeak that was cured on 2.6.9-023stab033.6 and above. A lot of VPS people had problems when hosters decided to update from the old 2.6.8.

Ask your hoster to update to the latest kernel

Kymmy :cool:

karimali831
03-02-2007, 17:33
Hey fellows, :)

I think I have a solution to your problem as I had these problems before and fixed it.
I have four VPS:

Linux - CentOS
Linux - Fedora
Linux - Debian
Linux - Gentoo

I have four running teamspeak servers -> running good.
I had problems starting my teamspeak with such errors like what you posted.

When I officially found the command I needed to get it started, teamspeak still wouldn't start because I used an incorrect command in shell. Therefore I had to reupload the server and start it up (with ts2perlmod) This is for CPU Tpype: CentOS

setarch i386 -X ./server_linux -PID=tsserver2.pid
and this command to stop it
setarch i386 -X ./teamspeak2-server_startscript stop

Warning: For some of you, you may need to remove the .pid file in the directory. DO NOT Use the restart command, due to the kernel version, it's not compatible with
most hosts. Using any other command other than those to start or stop the teamspeak could corrupt!

If you have an error, I recommend you to re-upload the server just as I did. Here are the results -> Running CentOS. I haven't tested on the others, but I'll get back to you.

Results


root@vps [/usr/local/src/my_teamspeak]# setarch i386 -X ./teamspeak2-server_startscript stop
stopping the teamspeak2 server.........done
root@vps [/usr/local/src/my_teamspeak]# setarch i386 -X ./server_linux -PID=tsserver2.pid
TeamSpeak Server Daemon started with PID 27983
root@vps [/usr/local/src/my_teamspeak]#

You may PM me if you need help on starting your teamspeak

Kind Regards
Karim.

karimali831
03-02-2007, 17:37
Early kernel2.6.9-023 had a problem with Teamspeak that was cured on 2.6.9-023stab033.6 and above. A lot of VPS people had problems when hosters decided to update from the old 2.6.8.

Ask your hoster to update to the latest kernel

Kymmy :cool:

No, most hosts wouldn't want to update to the latest kernel just for one client. The kernel version you are running is ok to run a teamspeak on your VPS. Just all depends on what you do and how you do it.

Kymmy
03-02-2007, 18:23
setarch i386 -X ./server_linux -PID=tsserver2.pid
and this command to stop it
setarch i386 -X ./teamspeak2-server_startscript stop


If you'd bothered to read the previous couple of pages on this thread you'd have noticed that SETARCH was talked about months ago and was more relevant to 2.6.8 kernels and VPS's. Once passed 2.6.9-023stab036 the teamspeak should start normally without the need for the setarch command

This is fact http://openvz.org/news/updates/kernel-2.6.9-023stab037.3 which actually specifies that it fixes the teamspeak problem.

Also try this thread relevant to the 2.6.9 Kernel problem http://forum.goteamspeak.com/showthread.php?t=33864

Kymmy :cool:

Kymmy
03-02-2007, 18:27
No, most hosts wouldn't want to update to the latest kernel just for one client. The kernel version you are running is ok to run a teamspeak on your VPS. Just all depends on what you do and how you do it.

Depends on how nicely you ask. I asked Hostdime who my VPS runs on and they said sure, but we'll do it during a quiet night time. 3 days later it was done.

Any host that doesn't update kernels isnlt really worth staying with.

Kymmy :cool:

sablenine
03-02-2007, 19:19
They will not update the kernel. I have tried reinstalling the VPS, and using setarch (I used to have to use setarch), I;ve tried reinstalling TS. Everytime, I get the same problem, that it gets killed on line 7. I don't know why, I looked, and while I do not know linux programming, from the knowledge I do have, nothing seemed out of the ordinary.

I;m just lost, this used to work, and now it won't, and I;m losing money :(

karimali831
03-02-2007, 19:31
Depends on how nicely you ask. I asked Hostdime who my VPS runs on and they said sure, but we'll do it during a quiet night time. 3 days later it was done.

Any host that doesn't update kernels isnlt really worth staying with.

Kymmy :cool:

That's not true. If you update a kernel, this will make changes for every client and all the servers would stop.

Kymmy
03-02-2007, 19:36
That's not true. If you update a kernel, this will make changes for every client and all the servers would stop.

Which is as I said, they would only do it in the middle of the night so as to minimise disruption due to the reboot needed of the host hardware.

Just because a poor hoster won't help don't expect all of them to be that bad :p

Kymmy :cool:

Kymmy
03-02-2007, 19:45
They will not update the kernel. I have tried reinstalling the VPS, and using setarch (I used to have to use setarch), I;ve tried reinstalling TS. Everytime, I get the same problem, that it gets killed on line 7. I don't know why, I looked, and while I do not know linux programming, from the knowledge I do have, nothing seemed out of the ordinary.

I;m just lost, this used to work, and now it won't, and I;m losing money :(

Well if you're losing money then I presume that you have a commercial site and are paying for a teamspeak licence, in that case you can go direct to teamspeak tech support and get them involved directly :rolleyes:

other than that the simple facts are that your kernel version of 2.6.9-023stab033.1-enterprise is known to have a problem with teamspeak. Instead of asking them to upgrade the VPS you're on ask them if they have another VPS machine with an already updated kernel that they can move you too.

I must admit if hostdime refused to up my kernel version due to my teamspeak problem I would have probably of moved elsewhere or gone for a dedicated which at least I can up myself.

Just remember it's not Teamspeaks problem as it ran fine (sometimes with the need for setarch) on pre-2.6.9 and post-2.6.9-023stab036 kernels.

Kymmy :cool:

sablenine
03-02-2007, 19:50
Oh, I know it's not Teamspeak problem, it's with my server. And as for as losing money, no I don;t pay for it, I'm working on customizing everything with it (the look, databases, etc) and as soon as i;m finished, I will be able to start charging for hosting :D

Kymmy
03-02-2007, 19:52
Oh, I know it's not Teamspeak problem, it's with my server. And as for as losing money, no I don;t pay for it, I'm working on customizing everything with it (the look, databases, etc) and as soon as i;m finished, I will be able to start charging for hosting :D

:D :D
As I said it's a poor host that won't help in solving a problem, perhaps a move to another host will help. I can recommend hostdime but I do know others that have got other VPS hosts to update thier own server.

Kymmy :cool:

sablenine
03-02-2007, 20:11
I'll look into it. I like this host because they're about 1/3 the cost of other hosts. It has a great product, just horrible support. THe other that confuses me, is TS used to run on this kernel with no problems about a month ago

Kymmy
03-02-2007, 20:18
I'll look into it. I like this host because they're about 1/3 the cost of other hosts. It has a great product, just horrible support. THe other that confuses me, is TS used to run on this kernel with no problems about a month ago

Are you sure it was this kernel as a lot of VPS's get updated by thier hosts without them telling you that they've done it. You mentioned in your original post that you used to run your server via the SETARCH command, that suggests a 2.6.8 kernel

Anyway best of luck, just a matter of interest who is your host? Just that others might have had success already with your host or if they won't update it might help others avoid them.

Kymmy :cool:

sablenine
03-02-2007, 20:21
Startlogic.com is my provider

well, I think I;m using the same kernel, when you do uname-a, it says Oct 23rd. I was told that was when the kernel was updated. Am I incorrect?

sablenine
03-02-2007, 21:00
I called them back up, and when I said I wanted to cancel, they said they would have some department call me on monday (they are not there on weekends) so that I can tell them which kernel to update to, and they will update it. Any specific kernel you like best in the 2.6.9 series?

Kymmy
03-02-2007, 21:15
Startlogic.com is my provider

well, I think I;m using the same kernel, when you do uname-a, it says Oct 23rd. I was told that was when the kernel was updated. Am I incorrect?

My Kernel was updated on the 21st Dec 2006 and my uname -a give me
Linux XXXXXXX.XXX 2.6.9-023stab033.9-enterprise #1 SMP Tue Dec 5 14:40:57 MSK 2006 i686 athlon i386 GNU/Linux


5th Dec 2006 I believe is the build date for the kernel or when it was compiled (as the kernel comes now as a RPM I think the compile/install dates can be different.

I called them back up, and when I said I wanted to cancel, they said they would have some department call me on monday (they are not there on weekends) so that I can tell them which kernel to update to, and they will update it. Any specific kernel you like best in the 2.6.9 series?

:D The update or I go elsewhere usually works :D As for which kernel just ask them for the latest, but the kernel which the problem was first fixed on was 2.6.9-023stab033.6 so anything later than that should do, but if you want to play safe then ask for 2.6.9-023stab033.9

Glad you're getting somewhere
Kymmy :cool:

boebi
23-02-2007, 10:48
I got a VPS problem to...
I am getting this error


./teamspeak2-server_startscript: line 7: 5606 Killed
./server_linux -PID=tsserver2.pid


the setarch gives me the 'command not found' so that won't help..

Anyone know how to solve this?

Kymmy
23-02-2007, 12:29
I got a VPS problem to...
I am getting this error


./teamspeak2-server_startscript: line 7: 5606 Killed
./server_linux -PID=tsserver2.pid


the setarch gives me the 'command not found' so that won't help..

Anyone know how to solve this?


Firstly re-read this entire thread...you might find that setarch isn't the solution instead it may be a Kernel version problem.

Secondly if you do need setarch then it's normally installable via an RPM (check you cPanel/WHM as you should be able to install it there, otherwise do a search on setarch in this forum as it has been posted before on how to install it manually)

Kymmy :cool:

boebi
23-02-2007, 18:21
Im more into web coding stuff, not into Linux..

But ill have a look for the setarch