|
From: Sebastien V. <se...@ji...> - 2012-02-17 11:32:49
|
Hi, Please run turnserver with valgrind and give us the output. Best regards, -- Seb Le 17/02/12 12:23, Gentle Yang a écrit : > Thanks for your swift reply. > > 1 "Do you have setup "account_file" property in turnserver.conf ? and > also provide the turnusers.txt file in the location provided by > "account_file" property ?" > > >> Yes, the account_file is at correct location with turnserver.conf , > and I checked the account configure > parameters(account_method,account_file) in turnserver.conf . > > 2 I tried to uninstall it,and installed it again : > > " > cd /usr/local/src/ > bunzip2 -k turnserver-0.5.tar.bz2 > tar xvf turnserver-0.5.tar > > cd turnserver-0.5 > autoreconf -i > ./configure > make > make install > " > > Then copy extra/turnserver.conf.template and > extra/turnusers.txt.template to my work dir: > /root/temp/turn-test/turnserver-work, and change thelisten_address to > my ip,and run it: turnserver -c turnserver.conf > The error now is "Segmentation fault". > Here is my shell history and output: > > " > [root@localhost turnserver-work]# pwd > /root/temp/turn-test/turnserver-work > [root@localhost turnserver-work]# > [root@localhost turnserver-work]# ll /usr/local/src/turnserver-0.5 > total 780 > -rw-r--r-- 1 1000 1000 11529 Sep 21 2009 acinclude.m4 > -rw-r--r-- 1 1000 1000 37397 Feb 16 10:40 aclocal.m4 > -rw-r--r-- 1 1000 1000 4733 Jul 27 2008 aminclude.am <http://aminclude.am> > -rw-r--r-- 1 1000 1000 54 Apr 6 2009 AUTHORS > drwxr-xr-x 2 1000 1000 4096 Feb 16 10:40 autom4te.cache > -rw-r--r-- 1 1000 1000 3688 Jun 10 2011 ChangeLog > -rwxr-xr-x 1 1000 1000 3769 Jun 10 2011 compile > -rw-r--r-- 1 root root 8497 Feb 17 15:13 config.h > -rw-r--r-- 1 root root 7982 Feb 16 10:40 config.h.in <http://config.h.in> > -rw-r--r-- 1 1000 1000 8053 Jun 10 2011 config.h.in <http://config.h.in>~ > -rw-r--r-- 1 root root 47048 Feb 17 15:13 config.log > -rwxr-xr-x 1 root root 34587 Feb 17 15:13 config.status > -rwxr-xr-x 1 1000 1000 319503 Feb 16 10:40 configure > -rw-r--r-- 1 1000 1000 3470 Jan 7 2011 configure.in <http://configure.in> > -rw-r--r-- 1 1000 1000 35147 Jul 27 2008 COPYING > -rwxr-xr-x 1 1000 1000 18615 Jun 10 2011 depcomp > drwxr-xr-x 2 1000 1000 4096 Jun 10 2011 doc > -rw-r--r-- 1 1000 1000 63493 Jul 6 2010 Doxyfile > drwxr-xr-x 2 1000 1000 4096 Feb 17 15:19 extra > -rw-r--r-- 1 1000 1000 15578 Jun 10 2011 INSTALL > -rwxr-xr-x 1 1000 1000 13663 Jun 10 2011 install-sh > -rw-r--r-- 1 1000 1000 2236 Jul 16 2010 LICENSE > -rw-r--r-- 1 1000 1000 6279 Jul 27 2008 LICENSE.OpenSSL > -rw-r--r-- 1 root root 22863 Feb 17 15:13 Makefile > -rw-r--r-- 1 1000 1000 307 Dec 15 2008 Makefile.am > -rw-r--r-- 1 root root 25294 Feb 16 10:40 Makefile.in > drwxr-xr-x 2 1000 1000 4096 Feb 17 15:13 man > -rwxr-xr-x 1 1000 1000 11419 Jun 10 2011 missing > -rw-r--r-- 1 1000 1000 0 Jul 27 2008 NEWS > -rw-r--r-- 1 1000 1000 5095 May 17 2011 README > drwxr-xr-x 3 1000 1000 4096 Feb 17 15:13 src > -rw-r--r-- 1 root root 23 Feb 17 15:13 stamp-h1 > drwxr-xr-x 3 1000 1000 4096 Feb 17 15:13 test > [root@localhost turnserver-work]# > [root@localhost turnserver-work]# which turnserver > /usr/local/bin/turnserver > [root@localhost turnserver-work]# pwd > /root/temp/turn-test/turnserver-work > [root@localhost turnserver-work]# ll > total 8 > -rw-r--r-- 1 root root 2335 Feb 17 15:20 turnserver.conf > -rw-r--r-- 1 root root 36 Feb 17 15:20 turnusers.txt > [root@localhost turnserver-work]# > [root@localhost turnserver-work]# turnserver -c turnserver.conf > > Segmentation fault > [root@localhost turnserver-work]# > " > > Thanks again. > > > 在 2012年2月17日 下午3:45,Sebastien Vincent <se...@ji... > <mailto:se...@ji...>>写道: > > Hi, > > Do you have setup "account_file" property in turnserver.conf ? and > also provide the turnusers.txt file in the location provided by > "account_file" property ? > > Please describe _all_ you did (tar -xjvf, ..., cp > extra/turnserver.conf.template /usr/..., ...) and also post the > output of the program. > > Regards, > -- > Seb > > Le 17/02/12 08:10, Gentle Yang a écrit : >> Hi all: >> >> I tried to install TurnServer-0.5 on centos (x86, ipv4) with the >> following shell: >> >> autoreconf -i >> ./configure--enable-debug-build >> >> >> make >> make install >> >> >> And it looks like everything is ok, but when I run the command >> "turnserver -c /usr/local/etc/turn/turnserver.conf" at >> "/usr/local/etc/turn/" ,it just output the text in >> turnserver.conf and then it's over without any system process . >> Is there something wrong or I missed ? Many thanks. >> >> Chris >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> >> >> _______________________________________________ >> Turnserver-users mailing list >> Tur...@li... <mailto:Tur...@li...> >> https://lists.sourceforge.net/lists/listinfo/turnserver-users > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Turnserver-users mailing list > Tur...@li... > <mailto:Tur...@li...> > https://lists.sourceforge.net/lists/listinfo/turnserver-users > > |