<div dir="ltr">Weird. Strace shows apparently missing library files.<div>I won't post the full strace log here, but I can send it to whomever wants to look further into this. Did something change recently with the makefile and/or library locations?</div>
<div><br></div><div>Here's the beginning:</div><div><br></div><div><div>execve("./freeswitch", ["./freeswitch", "-nonat"], [/* 29 vars */]) = 0</div><div>brk(0) = 0x1519000</div>
<div>access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)</div><div>mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdb61d7e000</div><div>access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)</div>
<div>open("/usr/local/freeswitch/lib/tls/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)</div><div>stat("/usr/local/freeswitch/lib/tls/x86_64", 0x7fff25c919f0) = -1 ENOENT (No such file or directory)</div>
<div>open("/usr/local/freeswitch/lib/tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)</div><div>stat("/usr/local/freeswitch/lib/tls", 0x7fff25c919f0) = -1 ENOENT (No such file or directory)</div>
<div>open("/usr/local/freeswitch/lib/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)</div><div>stat("/usr/local/freeswitch/lib/x86_64", 0x7fff25c919f0) = -1 ENOENT (No such file or directory)</div>
<div>open("/usr/local/freeswitch/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)</div><div>stat("/usr/local/freeswitch/lib", {st_mode=S_IFDIR|S_ISGID|0750, st_size=4096, ...}) = 0</div>
<div>open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3</div><div>fstat(3, {st_mode=S_IFREG|0644, st_size=60104, ...}) = 0</div><div>mmap(NULL, 60104, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fdb61d6f000</div><div>close(3) = 0</div>
<div>access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)</div><div>open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3</div><div>read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200U\0\0\0\0\0\0"..., 832) = 832</div>
<div>fstat(3, {st_mode=S_IFREG|0644, st_size=1059248, ...}) = 0</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 23, 2014 at 3:34 PM, Peter Villeneuve <span dir="ltr"><<a href="mailto:petervnv1@gmail.com" target="_blank">petervnv1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't think you're doing anything wrong at all. My installation was working fine until I decided to update.<div>
I also am running Debian 7 on Amd64 like you.<br><div><br></div><div>In fact I just did a make current and now I have the same problem you're referring.</div>
<div>The freeswitch daemon now consumes around 95% of the CPU when starting and just sits there indefinitely.</div></div><div><br></div><div>I'm running strace now <a href="http://www.cyberciti.biz/tips/linux-strace-command-examples.html" target="_blank">http://www.cyberciti.biz/tips/linux-strace-command-examples.html</a> to see if I can figure out why the update seems to have broken my freeswitch install.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jun 23, 2014 at 5:39 AM, Craig Stevenson <span dir="ltr"><<a href="mailto:craig@stevenson.com" target="_blank">craig@stevenson.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><br><div>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.</div>
<div><br></div><div>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</div>
<div><br></div><div>This is what happens when I try to run the compiled system on a home ESXi server in my internal home network.<br></div><div><br></div><div>
<div># ./freeswitch</div><div>2014-06-22 21:23:06.011792 [INFO] switch_event.c:670 Activate Eventing Engine.</div><div>2014-06-22 21:23:06.011947 [WARNING] switch_event.c:652 Create additional event dispatch thread 0</div>
</div><div><and then just sits there.... ></div><div><br></div><div><br></div><div><br></div><div><div>BUILD VERSION:</div><div>- Debian-7.5.0-amd64-netinst.iso</div><div>- FreeSWITCH master (git:<span style="font-size:13px;font-family:'Trebuchet MS'">git clone git://git.</span><span style="font-size:13px;font-family:'Trebuchet MS';color:rgb(4,46,238)"><u><a href="http://freeswitch.org/freeswitch.git" target="_blank">freeswitch.org/freeswitch.git</a>)</u></span></div>
<div><br></div></div><div><br></div><div>TEST MACHINE: ESXi 5.1 VM</div><div>- Debian GNU/Linus 6 (64 bit)</div><div>- 1 CPU</div><div>- 1 GB RAM</div><div>- 16GB Memory</div><div>- 1 NIC = E1000</div><div><br></div><div>
<br></div><div>INSTALLATION STEPS with output piped through 'tee' to capture logs:</div><div><span style="font-family:Arial;font-size:13px"><br></span></div><div><span style="font-family:Arial;font-size:13px">su</span><br>
</div><div>
<span style="font-size:13px;font-family:Arial">(apt-get update 2>&1) | tee ~/apt-get-update.txt</span><br>
<span style="font-size:13px;font-family:Arial">(apt-get upgrade 2>&1) | tee ~/apt-get-upgrade.txt</span><br>
<span style="font-size:13px;font-family:Arial">(dpkg --get-selections 2>&1) | tee ~/dpkg-get-selections.txt</span><br>
<span style="font-size:13px;font-family:Arial"></span><br>
<span style="font-size:13px;font-family:Arial">(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</span></div>
<div><font face="Arial"><br></font>
<span style="font-size:13px;font-family:Arial">(dpkg --get-selections 2>&1) | tee ~/dpkg-get-selections-after-apt-get.txt</span><br><span style="font-size:13px;font-family:Arial"> </span><br>
<span style="font-size:13px;font-family:Arial;background-color:rgb(255,250,165)">cd /usr/src</span><br>
<span style="font-size:13px;font-family:Arial">(git clone git://git.</span><span style="font-size:13px;font-family:Arial;color:rgb(4,46,238)"><u><a href="http://freeswitch.org/freeswitch.git" target="_blank">freeswitch.org/freeswitch.git</a></u></span><span style="font-size:13px;font-family:Arial"> 2>&1) | tee ~/git.txt</span><br>
<span style="font-size:13px;font-family:Arial"> </span><br>
<span style="font-size:13px;font-family:Arial">cd /usr/src/freeswitch</span><br><span style="font-size:13px;font-family:Arial">(./bootstrap.sh 2>&1) | tee ~/bootstrap.txt # same result if I add flag -j</span><br>
<span style="font-size:13px;font-family:Arial">(./configure --enable-core-pgsql-support 2>&1) | tee ~/configure.txt</span><br><span style="font-size:13px;font-family:Arial">(make install 2>&1) | tee ~/make-install.txt</span><br>
<span style="font-size:13px;font-family:Arial">(make all cd-sounds-install cd-moh-install 2>&1) | tee ~make-sounds.txt</span><br>
<span style="font-size:13px;font-family:Arial"></span><br>
<span style="font-size:13px;font-family:Arial">cd /usr/local/freeswitch/bin</span><br>
<span style="font-size:13px;font-family:Arial">#./freeswitch</span> <br></div><div><br></div><div><br></div><div><br></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>