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.



On Mon, Jun 29, 2015 at 2:10 PM, Craig Stevenson <craig@stevenson.com> wrote:
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.

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...

craig $ fs_cli
[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]


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 :-)

Any hints on what the issue might be?  Thanks.

---------------------------------------------------------------

For what it is worth, here are the script commands that I use to build FreeSWITCH:

# git freeswitch, bootstrap, configure and make...
sudo ./bootstrap.sh -j
sudo ./configure -C
perl -i -pe 's/#formats\/mod_vlc/formats\/mod_vlc/g' modules.conf
perl -i -pe 's/#applications\/mod_av/applications\/mod_av/g' modules.conf

sudo make
sudo make install
sudo make cd-sounds-install cd-moh-install samples


# add user & group freeswitch
sudo useradd  --shell /bin/bash --password `perl -e 'print crypt("....", "....")'` freeswitch
sudo adduser freeswitch sudo
sudo chown -R freeswitch:freeswitch /usr/local/freeswitch/
sudo chmod -R o=rwx /usr/local/freeswitch/
sudo chown -R freeswitch:freeswitch /usr/local/src/freeswitch/
sudo chmod -R o=rwx /usr/local/src/freeswitch/


# set to run at startup
sudo ln /usr/local/freeswitch/bin/freeswitch /usr/bin/freeswitch
sudo ln /usr/local/freeswitch/bin/fs_cli /usr/bin/fs_cli
sudo mkdir /etc/freeswitch
sudo ln /usr/local/freeswitch/conf/freeswitch.xml /etc/freeswitch/freeswitch.xml

sudo chown freeswitch:daemon /etc/freeswitch
sudo chmod ug=rwx,o= /etc/freeswitch

sudo mkdir /var/lib/freeswitch
sudo chown freeswitch:daemon /var/lib/freeswitch
sudo chmod -R ug=rwX,o= /var/lib/freeswitch

sudo cp /usr/local/src/freeswitch/debian/freeswitch-sysvinit.freeswitch.default /etc/default/freeswitch

sudo chown freeswitch:daemon /etc/default/freeswitch
sudo chmod ug=rw,o= /etc/default/freeswitch

sudo cp /usr/local/src/freeswitch/debian/freeswitch-sysvinit.freeswitch.init  /etc/init.d/freeswitch


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest