[Freeswitch-users] Error in launching fs_cli

I put the Who? in Mishehu mishehu at freeswitch.org
Wed Aug 14 01:54:28 MSD 2013


Actually, that's not entirely correct. I run FreeSWITCH in the 
foreground monitored under runit or djb daemontools all the time.  
FreeSWITCH needs to be running with mod_event_socket enabled and loaded 
in order for fs_cli to be able to connect to it.  Whether or not 
FreeSWITCH's pid has been forked to background not of any real importance.

-Yossi


On 08/13/2013 02:52 PM, Ashish Mishra wrote:
> the issue was that i was only running fs_cli on my machine without 
> running freeswitch. fs_cli works only when freeswitch is running in 
> background.
>  thank you
> Ashish Mishra
>
>
> On Tue, Aug 13, 2013 at 1:47 PM, Steven Ayre <steveayre at gmail.com 
> <mailto:steveayre at gmail.com>> wrote:
>
>     What was the issue?
>
>
>     On 13 August 2013 08:16, Ashish Mishra <itsme.kunnu at gmail.com
>     <mailto:itsme.kunnu at gmail.com>> wrote:
>
>         Thank you for your reply...i am now able to run fs_cli on my
>         ubuntu machine on which freeswitch is installed...:-)
>
>         On Aug 13, 2013 3:17 AM, "I put the Who? in Mishehu"
>         <mishehu at freeswitch.org <mailto:mishehu at freeswitch.org>> wrote:
>
>             I have the nagging feeling that Ashish isn't telling the
>             whole story here...
>
>             Ashish -  what happens if you are on the machine that is
>             running FreeSWITCH and you execute `telnet localhost 8021`
>             ?  Do you see something like this:
>
>             # telnet localhost 8021
>             Trying 127.0.0.1...
>             Connected to localhost.
>             Escape character is '^]'.
>             Content-Type: auth/request
>
>             If you are running with the standard configurations this
>             should work in this fashion.  If you have changed the
>             conf/autoload_configs/event_socket.conf.xml , then paste
>             those configurations. (If too lengthy, please post to
>             http://pastebin.freeswitch.org )
>
>             -Yossi
>
>             On 08/12/2013 09:44 AM, Steven Ayre wrote:
>>             Have you checked the logfile and netstat?
>>
>>
>>             On 12 August 2013 09:51, Ashish Mishra
>>             <itsme.kunnu at gmail.com <mailto:itsme.kunnu at gmail.com>> wrote:
>>
>>                 I reinstalled freeswitch but still i am getting the
>>                 same error :
>>                 fs_cli .c:1455 main() Error Connecting [Socket
>>                 Connection Error ] mod_socket is also loaded...i have
>>                 also flushed the firewall rules...pls help
>>
>>                 On Aug 6, 2013 2:30 AM, "Ashish Mishra"
>>                 <itsme.kunnu at gmail.com
>>                 <mailto:itsme.kunnu at gmail.com>> wrote:
>>
>>                     When i am trying to launch fs_cli on my ubuntu
>>                     12.04 machine (on which i have installed
>>                     freeswitch) it gives me the following error :
>>                     fs_cli .c:1455 main() Error Connecting [Socket
>>                     Connection Error ]
>>
>>
>>                 _________________________________________________________________________
>>                 Professional FreeSWITCH Consulting Services:
>>                 consulting at freeswitch.org
>>                 <mailto:consulting at freeswitch.org>
>>                 http://www.freeswitchsolutions.com
>>
>>                 FreeSWITCH-powered IP PBX: The CudaTel Communication
>>                 Server
>>                 
>>
>>                 Official FreeSWITCH Sites
>>                 http://www.freeswitch.org
>>                 http://wiki.freeswitch.org
>>                 http://www.cluecon.com
>>
>>                 FreeSWITCH-users mailing list
>>                 FreeSWITCH-users at lists.freeswitch.org
>>                 <mailto: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  <mailto:consulting at freeswitch.org>
>>             http://www.freeswitchsolutions.com
>>
>>             
>>             
>>
>>             Official FreeSWITCH Sites
>>             http://www.freeswitch.org
>>             http://wiki.freeswitch.org
>>             http://www.cluecon.com
>>
>>             FreeSWITCH-users mailing list
>>             FreeSWITCH-users at lists.freeswitch.org  <mailto: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 <mailto:consulting at freeswitch.org>
>             http://www.freeswitchsolutions.com
>
>             
>             
>
>             Official FreeSWITCH Sites
>             http://www.freeswitch.org
>             http://wiki.freeswitch.org
>             http://www.cluecon.com
>
>             FreeSWITCH-users mailing list
>             FreeSWITCH-users at lists.freeswitch.org
>             <mailto: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 <mailto:consulting at freeswitch.org>
>         http://www.freeswitchsolutions.com
>
>         
>         
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org
>         http://wiki.freeswitch.org
>         http://www.cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto: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 <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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://wiki.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130813/cc33d34e/attachment-0001.html 


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