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

Moishe Grunstein max at nysolutions.com
Mon Jun 23 19:17:13 MSD 2014


There was a similar chat Friday on IRC with some users running on low resources virtual machines.
I believe they narrowed it down to starting freeswitch with –rp option, I believe Tony fixed the default config not to use that option.


Thanks,

Moishe Grunstein
Tornado Computer Systems, Inc.
212.400.7650 888.IPPBX.US
Service Request Email: support at nysolutions.com<mailto:support at nysolutions.com>
Polycom Certified VAR
Microsoft Small Business Specialist, Cisco SMB Select Certified
[cid:image001.jpg at 01C72F94.9EE45D60]<http://www.nysolutions.com/>
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Craig Stevenson
Sent: Monday, June 23, 2014 12:39 AM
To: FreeSWITCH-users at lists.freeswitch.org
Subject: [Freeswitch-users] newbie question (first build): FreeSWITCH just "hangs" when I run it


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140623/873a6e56/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2424 bytes
Desc: image001.jpg
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140623/873a6e56/attachment.jpg 


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