<div dir="ltr">Verify your config for mod_event_socket looks like what we have in master, I highly suspect your doing fs_cli and its connecting to ::, which by default event socket doesn't listen on :: it listens on 127.0.0.1, and your /etc/hosts file will have localhost as ::, so you can take the config from master and install it and it will work on ipv6 and ipv4 without a problem.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 2:10 PM, Craig Stevenson <span dir="ltr"><<a href="mailto:craig@stevenson.com" target="_blank">craig@stevenson.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 have an automated script that I have been using to build the 1.6/1.7 (master) branch for FreeSWITCH. Debian = Jessie (8.1); git branch = master.<div><br></div><div>Life was good. But, about a week (or two) ago, I was no longer able to run fs_cli from a shell window on my new builds...</div><div><br></div><div><div>craig $ fs_cli</div><div>[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</div></div><div><br></div><div><br></div><div>FreeSWITCH itself is running in the background perfectly fine. I can place calls; and tail -f on the log file shows the same activity that would expect to see on the fs_cli console. The process is is running as user "freeswitch" and all of the standard directories are owned by "freeswitch". And no obvious errors in the build log (but honestly, not sure I'd spot the error in all the text if there was one :-)</div><div><br></div><div>Any hints on what the issue might be? Thanks.</div><div><br></div><div>---------------------------------------------------------------</div><div><br></div><div>For what it is worth, here are the script commands that I use to build FreeSWITCH:</div><div><br></div><div># git freeswitch, bootstrap, configure and make...</div><div><div>git clone <a href="https://freeswitch.org/stash/scm/fs/freeswitch.git" target="_blank">https://freeswitch.org/stash/scm/fs/freeswitch.git</a></div></div><div><div>sudo ./bootstrap.sh -j</div></div><div>sudo ./configure -C<br></div><div><div>perl -i -pe 's/#formats\/mod_vlc/formats\/mod_vlc/g' modules.conf</div><div>perl -i -pe 's/#applications\/mod_av/applications\/mod_av/g' modules.conf</div></div><div><br></div><div><div>sudo make</div><div>sudo make install</div></div><div>sudo make cd-sounds-install cd-moh-install samples<br></div><div><br></div><div><br></div><div># add user & group freeswitch</div><div><div>sudo useradd --shell /bin/bash --password `perl -e 'print crypt("....", "....")'` freeswitch</div><div>sudo adduser freeswitch sudo</div><div>sudo chown -R freeswitch:freeswitch /usr/local/freeswitch/</div><div>sudo chmod -R o=rwx /usr/local/freeswitch/</div><div>sudo chown -R freeswitch:freeswitch /usr/local/src/freeswitch/</div><div>sudo chmod -R o=rwx /usr/local/src/freeswitch/</div></div><div><br></div><div><br></div><div># set to run at startup</div><div><div>sudo ln /usr/local/freeswitch/bin/freeswitch /usr/bin/freeswitch</div><div>sudo ln /usr/local/freeswitch/bin/fs_cli /usr/bin/fs_cli</div><div>sudo mkdir /etc/freeswitch</div><div>sudo ln /usr/local/freeswitch/conf/freeswitch.xml /etc/freeswitch/freeswitch.xml</div><div><br></div><div>sudo chown freeswitch:daemon /etc/freeswitch</div><div>sudo chmod ug=rwx,o= /etc/freeswitch</div><div><br></div><div>sudo mkdir /var/lib/freeswitch</div><div>sudo chown freeswitch:daemon /var/lib/freeswitch</div><div>sudo chmod -R ug=rwX,o= /var/lib/freeswitch</div><div><br></div><div>sudo cp /usr/local/src/freeswitch/debian/freeswitch-sysvinit.freeswitch.default /etc/default/freeswitch</div><div><br></div><div>sudo chown freeswitch:daemon /etc/default/freeswitch</div><div>sudo chmod ug=rw,o= /etc/default/freeswitch</div><div><br></div><div>sudo cp /usr/local/src/freeswitch/debian/freeswitch-sysvinit.freeswitch.init /etc/init.d/freeswitch</div></div><div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">ClueCon 2015 <a href="https://www.cluecon.com/call-for-speakers/" target="_blank">Call for Speakers</a> | <a href="https://freeswitch.com/cart.php?gid=1" target="_blank">Register</a> TODAY! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div>
</div>