[Freeswitch-users] fs_cli will not connect on Fresh install on Debian

Stanislav Sinyagin ssinyagin at gmail.com
Tue Mar 10 12:29:25 MSK 2015


alright, I'll file a Jira ticket

On Tue, Mar 10, 2015 at 10:24 AM, Richard Mace <richard.mace at gmail.com> wrote:
> Nothing, by the looks of things
>
> root at FreeSWITCH:~# netstat -an | grep 8021
> root at FreeSWITCH:~#
>
> Thanks
>
>
> On 10 March 2015 at 09:07, Stanislav Sinyagin <ssinyagin at gmail.com> wrote:
>>
>> Richard, what do you see in the output:
>>
>> netstat -an | grep 8021
>>
>>
>>
>> On Tue, Mar 10, 2015 at 10:06 AM, Stanislav Sinyagin
>> <ssinyagin at gmail.com> wrote:
>> > this is exactly what I saw on a system which had no IPv4 address on
>> > its ethernet ports. FreeSWITCH was just not listening to port 8021,
>> > without any errors in the log.
>> >
>> > On Tue, Mar 10, 2015 at 9:16 AM, Richard Mace <richard.mace at gmail.com>
>> > wrote:
>> >> Hi Bote,
>> >> Tried this as well, on the local machine:
>> >>
>> >> root at FreeSWITCH:~# fs_cli 127.0.0.1
>> >> [ERROR] fs_cli.c:1565 main() Error Connecting [Socket Connection Error]
>> >>
>> >> root at FreeSWITCH:~# /etc/init.d/freeswitch status
>> >> [ ok ] freeswitch is running.
>> >>
>> >> Richard
>> >>
>> >>
>> >> On 10 March 2015 at 07:11, Bote Man <bote_radio at botecomm.com> wrote:
>> >>>
>> >>> You could explicitly direct fs_cli to a particular i.p. address either
>> >>> on
>> >>> the command line or using a profile definition.
>> >>>
>> >>>
>> >>>
>> >>> Bote
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> From: Richard Mace
>> >>> Sent: Tuesday, 10 March, 2015 02:20
>> >>> To: FreeSWITCH Users Help
>> >>> Subject: Re: [Freeswitch-users] fs_cli will not connect on Fresh
>> >>> install
>> >>> on Debian
>> >>>
>> >>>
>> >>>
>> >>> Hi,
>> >>>
>> >>> Is there an fs_cli command that I can use that will get me round the
>> >>> current bug?
>> >>>
>> >>> Its strange as it's only happened within the last month, as I built a
>> >>> system recently that worked fine out of the box.
>> >>>
>> >>>
>> >>>
>> >>> Thanks
>> >>>
>> >>>
>> >>>
>> >>> Richard
>> >>>
>> >>>
>> >>>
>> >>> On 9 March 2015 at 10:37, Richard Mace <richard.mace at gmail.com> wrote:
>> >>>
>> >>> Hi Brian,
>> >>>
>> >>> Removed the line, and rebooted, but still getting:
>> >>>
>> >>> root at FreeSWITCH:~# fs_cli
>> >>> [ERROR] fs_cli.c:1565 main() Error Connecting [Socket Connection
>> >>> Error]
>> >>>
>> >>> Richard
>> >>>
>> >>>
>> >>>
>> >>> On 6 March 2015 at 20:42, Brian West <brian at freeswitch.org> wrote:
>> >>>
>> >>> remove
>> >>>
>> >>> ::1     localhost ip6-localhost ip6-loopback
>> >>>
>> >>>
>> >>>
>> >>> from /etc/hosts
>> >>>
>> >>>
>> >>>
>> >>> its a bug in debian.
>> >>>
>> >>>
>> >>>
>> >>> On Fri, Mar 6, 2015 at 3:33 PM, Richard Mace <richard.mace at gmail.com>
>> >>> wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>>
>> >>>
>> >>> Sorry, I should have clarified that this is running locally on the
>> >>> machine
>> >>> running FreeSWITCH.
>> >>>
>> >>>
>> >>>
>> >>> Richard
>> >>>
>> >>>
>> >>>
>> >>> On 6 March 2015 at 20:02, Bote Man <bote_radio at botecomm.com> wrote:
>> >>>
>> >>> On a fresh FS installation fs_cli only connects to 127.0.01 localhost.
>> >>>
>> >>>
>> >>>
>> >>> To connect from a remote machine put a valid routable interface
>> >>> address
>> >>> (although I have 0.0.0.0 in mine) in
>> >>>
>> >>> conf/autoload_configs/event_socket.conf.xml
>> >>>
>> >>>
>> >>>
>> >>> and change the password and maybe even the port depending on the
>> >>> crackability of your network.
>> >>>
>> >>>
>> >>>
>> >>> Then you’ll probably want to configure a profile configuration file
>> >>> with
>> >>> tight permissions to avoid having to type the parameters on the
>> >>> command line
>> >>> every time you start fs_cli.
>> >>>
>> >>>
>> >>>
>> >>> Check the ‘command-line Interface fs_cli’ Confluence page for all the
>> >>> details.
>> >>>
>> >>>
>> >>>
>> >>> Bote
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> From: Richard Mace
>> >>> Sent: Friday, 06 March, 2015 14:34
>> >>> Subject: [Freeswitch-users] fs_cli will not connect on Fresh install
>> >>> on
>> >>> Debian
>> >>>
>> >>>
>> >>>
>> >>> Hi All,
>> >>>
>> >>> I did a fresh install of both Debian and FreeSWITCH today, following
>> >>> the
>> >>> article here:
>> >>>
>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Debian
>> >>>
>> >>>
>> >>>
>> >>> However, after installation, fs_cli will not connect. Any ideas?
>> >>>
>> >>>
>> >>>
>> >>> Thanks
>> >>>
>> >>>
>> >>>
>> >>> Richard
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> _________________________________________________________________________
>> >>> Professional FreeSWITCH Consulting Services:
>> >>> consulting at 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 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
>> >>
>> >>
>> >>
>> >>
>> >> _________________________________________________________________________
>> >> Professional FreeSWITCH Consulting Services:
>> >> consulting at 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 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
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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



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