[Freeswitch-users] newbie question (first build): FreeSWITCH just "hangs" when I run it

Peter Villeneuve petervnv1 at gmail.com
Mon Jun 23 18:34:30 MSD 2014


I don't think you're doing anything wrong at all. My installation was
working fine until I decided to update.
I also am running Debian 7 on Amd64 like you.

In fact I just did a make current and now I have the same problem you're
referring.
The freeswitch daemon now consumes around 95% of the CPU when starting and
just sits there indefinitely.

I'm running strace now
http://www.cyberciti.biz/tips/linux-strace-command-examples.html to see if
I can figure out why the update seems to have broken my freeswitch install.


On Mon, Jun 23, 2014 at 5:39 AM, Craig Stevenson <craig at stevenson.com>
wrote:

>
> Hoping someone can help out a newbie figure out what I'm doing wrong.
>  This is my first attempt at building and I keep running into same issue
> each time.  Any pointers would be greatly appreciated.
>
> My problem is that FreeSWITHC seems to just get stuck when I try to run
> the binary.  And and if I execute with -ncwait optoin, it keeps spitting
> out a line saying that it is waiting for background process to be ready
>
> This is what happens when I try to run the compiled system on a home ESXi
> server in my internal home network.
>
> # ./freeswitch
> 2014-06-22 21:23:06.011792 [INFO] switch_event.c:670 Activate Eventing
> Engine.
> 2014-06-22 21:23:06.011947 [WARNING] switch_event.c:652 Create additional
> event dispatch thread 0
> <and then just sits there....  >
>
>
>
> BUILD VERSION:
> - Debian-7.5.0-amd64-netinst.iso
> - FreeSWITCH master (git:git clone git://git.*freeswitch.org/freeswitch.git
> <http://freeswitch.org/freeswitch.git>)*
>
>
> TEST MACHINE:  ESXi 5.1 VM
> - Debian GNU/Linus 6 (64 bit)
> - 1 CPU
> - 1 GB RAM
> - 16GB Memory
> - 1 NIC = E1000
>
>
> INSTALLATION STEPS with output piped through 'tee' to capture logs:
>
> su
>  (apt-get update 2>&1) | tee ~/apt-get-update.txt
> (apt-get upgrade 2>&1) | tee ~/apt-get-upgrade.txt
> (dpkg --get-selections 2>&1) | tee ~/dpkg-get-selections.txt
>
> (apt-get install autoconf automake devscripts gawk g++ git-core
> libjpeg-dev libncurses5-dev libtool make python-dev gawk pkg-config
> libtiff5-dev libperl-dev libgdbm-dev libdb-dev gettext libssl-dev
> libcurl4-openssl-dev libpcre3-dev libspeex-dev libspeexdsp-dev
> libsqlite3-dev libedit-dev libldns.dev libpq-dev 2>&1) | tee ~/apt-get.txt
>
> (dpkg --get-selections 2>&1) | tee ~/dpkg-get-selections-after-apt-get.txt
>
> cd /usr/src
> (git clone git://git.*freeswitch.org/freeswitch.git
> <http://freeswitch.org/freeswitch.git>* 2>&1) | tee ~/git.txt
>
> cd /usr/src/freeswitch
> (./bootstrap.sh 2>&1) | tee ~/bootstrap.txt  # same result if I add flag -j
> (./configure --enable-core-pgsql-support 2>&1) | tee ~/configure.txt
> (make install 2>&1) | tee ~/make-install.txt
> (make all cd-sounds-install cd-moh-install 2>&1) | tee ~make-sounds.txt
>
> cd /usr/local/freeswitch/bin
> #./freeswitch
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140623/f152cd84/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list