PDA

View Full Version : setarch command not found


ejf1238
27-06-2006, 03:02
I am having the same runtime error many people are having:
./teamspeak2-server_startscript start
starting the teamspeak2 server
Runtime error 0 at BFFFF1F8
./teamspeak2-server_startscript: line 92: 28046 Segmentation fault ./server_linux -PID=tsserver2.pid

I tried the setarch resolution but got the following.

setarch ./teamspeak2-server_startscript start
-bash: setarch: command not found

Am I missing something?

Heres the specs
CPU GenuineIntel, Intel(R) Xeon(TM) CPU 3.00GHz
os_FedoraCore 2
OS Linux 2.6.8-022stab067.1-enterprise

ScP
27-06-2006, 08:07
http://www.goteamspeak.com/?page=faq&id=4#q50

Please try to start the server with the command stated in the FAQ above.

maggy
27-06-2006, 17:04
setarch needs an argument to say what architecture you want to run
see the link above

ejf1238
27-06-2006, 20:53
Yes I know that. I just quickly typed in the setarch command to show you that its not being found and forgot to add the argument. Usually if you type the command in and forget the argument, it will display an error that tells you just that.

Here are the same results when I type the full correct command in.

[ejf1238@ip-208-109-98-32 tss2_rc2]$ setarch i386 ./teamspeak2-server_startscript start
-bash: setarch: command not found
[ejf1238@ip-208-109-98-32 tss2_rc2]$

Any ideas why its not working?

Here is what it looks like if I try logging in as root to do it.

[root@ip-208-109-98-32 tss2_rc2]# ./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 BFFFEFF8
./teamspeak2-server_startscript: line 92: 24530 Segmentation fault ./server_linux -PID=tsserver2.pid
[root@ip-208-109-98-32 tss2_rc2]# setarch i386 ./teamspeak2-server_startscript start
bash: setarch: command not found
[root@ip-208-109-98-32 tss2_rc2]#

Steddyj
28-06-2006, 10:29
You need to install setarch, if you're running Red Hat/Fedora it's a simple RPM. I explained it earlier today here:

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

You may find once setarch is installed that you're in the same boat as myself and smkied, though.