<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>did you try to compile your two FS</FONT></DIV>
<DIV><FONT size=2>with different prefix and .pid path ?</FONT></DIV>
<DIV><FONT size=2>as this you'll be sure that FS are running
independtly.</FONT></DIV>
<DIV><FONT size=2>I remember (maybe wrongly) to have this kind of problem
before.....</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=u2nsam@gmail.com href="mailto:u2nsam@gmail.com">Sam</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 12, 2011 10:16
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
console</DIV>
<DIV><BR></DIV>Yes the netstat shows the ports 8081 & 8082 not used
<BR>Justin, as said earlier i have 2 FS instances running on same server and
having below config:-<BR>for<BR>> 192.168.2.1:-<BR>>
<param name="listen-ip" value="127.0.0.1"/><BR>>
<param name="listen-port" value="8021"/><BR>> for<BR>>
192.168.2.2:-<BR>> <param name="listen-ip"
value="127.0.0.1"/><BR>> <param name="listen-port"
value="8022"/><BR><BR>Here I tried all the permutation combination changing
the IP port but no sucess.<BR><BR>Regds<BR>Sam<BR><BR>
<DIV class=gmail_quote>On Wed, Jan 12, 2011 at 11:25 PM, JRichey <SPAN
dir=ltr><<A
href="mailto:jrichey@itltd.net">jrichey@itltd.net</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN>Did you ever try using
netstat like Steven suggested? What do you get as output for "netstat
-tunlp"?</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN>In one of your commands
below you show 127.0.0.2 instead of 127.0.0.1 so if that's not a typo you
may want to try it again.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN>-Justin</SPAN></FONT></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN></SPAN></FONT> </DIV>
<BLOCKQUOTE>
<DIV dir=ltr align=left><FONT size=2 face=Tahoma>-----Original
Message-----<BR><B>From:</B> <A
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target=_blank>freeswitch-users-bounces@lists.freeswitch.org</A> [mailto:<A
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target=_blank>freeswitch-users-bounces@lists.freeswitch.org</A>]<B>On
Behalf Of </B>Sam<BR><B>Sent:</B> Tuesday, January 11, 2011 9:27
PM<BR><B>To:</B> FreeSWITCH Users Help<BR><B>Subject:</B> Re:
[Freeswitch-users] console<BR><BR></FONT></DIV>Tried this below and
received :-<BR><BR><BR># /usr/local/fs_2/bin/fs_cli -H 127.0.0.2 -P
8082<BR>[ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket
Connection Error]<BR><BR>tried by creating profile:-<BR>#
/usr/local/fs_2/bin/fs_cli profile1<BR>[ERROR] libs/esl/fs_cli.c:1206
main() Error Connecting [Socket Connection Error]<BR><BR>By port:<BR>#
/usr/local/fs_2/bin/fs_cli -P 8082<BR>[ERROR] libs/esl/fs_cli.c:1206
main() Error Connecting [Socket Connection Error]<BR><BR><BR><SPAN
style="TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Times New Roman'; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px"><PRE><I>netstat -nlp | grep ; ports 8081 & 8082 are available</I></PRE></SPAN>But
i could get a console for other server by<BR>#
/usr/local/fs_2/bin/fs_cli<BR><BR>Regards<BR>Sam<BR><BR><BR>
<DIV class=gmail_quote>On Tue, Jan 11, 2011 at 10:54 PM, Steven Ayre <SPAN
dir=ltr><<A href="mailto:steveayre@gmail.com"
target=_blank>steveayre@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Actually, correction it does - just not the
event_socket.conf.xml one. It'll read .fs_cli_conf in your home
directory if it exists, but that isn't created by default - you create
it yourself if you want to use it (it's optional). The command line
arguments -H and -P -will- override the config file though.<BR><BR>Are
you using a capital P? -p is password while -P is port. If there's no
password on the event socket you'd get no error from using a small p by
accident.<BR><BR>-Steve
<DIV>
<DIV></DIV>
<DIV><BR><BR><BR><BR><BR><BR>
<DIV class=gmail_quote>On 11 January 2011 16:59, Steven Ayre <SPAN
dir=ltr><<A href="mailto:steveayre@gmail.com"
target=_blank>steveayre@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>It does not read any config file.
<DIV>
<DIV></DIV>
<DIV><BR><BR><BR><BR><BR>
<DIV class=gmail_quote>On 11 January 2011 16:56, Sam <SPAN
dir=ltr><<A href="mailto:u2nsam@gmail.com"
target=_blank>u2nsam@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>the port and ip donot work for me,<BR>is it that
the fs_cli is not reading the config from 192.168.2.2 but it is
reading the config only of 192.168.2.1, though its in the different
[FS_1 & FS_2] path where i am executing.<BR><BR>Regds<BR><FONT
color=#888888>Sam</FONT>
<DIV>
<DIV></DIV>
<DIV><BR><BR><BR>
<DIV class=gmail_quote>On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre
<SPAN dir=ltr><<A href="mailto:steveayre@gmail.com"
target=_blank>steveayre@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>/usr/local/FS_1/bin/fs_cli -P
8021<BR>/usr/local/FS_2/bin/fs_cli -P 8022<BR><BR>fs_cll doesn't
read any config file. It's not part of the FS server at all, you
can have it on a different machine that doesn't have FS installed.
It entirely relies on the arguments to control where to connect
to.<BR><BR>-Steve
<DIV>
<DIV></DIV>
<DIV><BR><BR><BR>
<DIV class=gmail_quote>On 11 January 2011 15:04, Sam <SPAN
dir=ltr><<A href="mailto:u2nsam@gmail.com"
target=_blank>u2nsam@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Something more here ... i am getting the
console for 192.168.2.1 every time i do fs_cli on both instances
.<BR><BR>like
<BR>/usr/local/FS_1/bin/fs_cli<BR>/usr/localFS_2/bin/fs_cli<BR>i
get the console for the 1st server only<BR><BR>the 2 server are
listing to 2 different ips .<BR><BR>Regds<BR><FONT
color=#888888>Sam</FONT>
<DIV>
<DIV></DIV>
<DIV><BR><BR>
<DIV class=gmail_quote>On Tue, Jan 11, 2011 at 8:07 PM, Steven
Ayre <SPAN dir=ltr><<A href="mailto:steveayre@gmail.com"
target=_blank>steveayre@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>It should work. Is there anything already
listening on port 8022?<BR><BR>$ netstat -a -n -p | grep
8022<BR><BR>Are you also sure that they're not both loading
the same config file?<BR><BR>Regards,<BR>-Steve<BR>
<DIV>
<DIV></DIV>
<DIV><BR><BR><BR>On 11 January 2011 14:32, Sam <<A
href="mailto:u2nsam@gmail.com"
target=_blank>u2nsam@gmail.com</A>> wrote:<BR>> the
scenario is i have 2 ips on 1 server for 2 FS
instances;<BR>><BR>> 192.168.2.1<BR>>
192.168.2.2<BR>><BR>> and the parameters i have set
is:-<BR>><BR>> for<BR>> 192.168.2.1:-<BR>>
<param name="listen-ip"
value="127.0.0.1"/><BR>> <param
name="listen-port" value="8021"/><BR>> for<BR>>
192.168.2.2:-<BR>> <param name="listen-ip"
value="127.0.0.1"/><BR>> <param
name="listen-port" value="8022"/><BR>><BR>> Ideally
it should work but i am getting console for only
192.168.2.1 FS .<BR>><BR>><BR>> Regards<BR>>
Sam<BR>><BR>> On Tue, Jan 11, 2011 at 4:20 PM, Steven
Ayre <<A href="mailto:steveayre@gmail.com"
target=_blank>steveayre@gmail.com</A>>
wrote:<BR>>><BR>>> <param
name="listen-ip" value="127.0.0.1"/><BR>>>
<param name="listen-port"
value="8021"/><BR>>><BR>>> You can bind both to
port 8021 on their individual IPs, or different<BR>>>
ports on the same IP.<BR>>><BR>>> A listen IP of
0.0.0.0 will mean any IP.<BR>>><BR>>>
-Steve<BR>>><BR>>> On 11 January 2011 10:44, Sam
<<A href="mailto:u2nsam@gmail.com"
target=_blank>u2nsam@gmail.com</A>> wrote:<BR>>> >
A query,<BR>>> ><BR>>> > I have 2 FS running
on one server on 2 different ips,<BR>>> > so when i
do fs_cli going to respective bins , i see console of only
the<BR>>> > first server.<BR>>>
><BR>>> > Is there any way to get the console of
both the FS on the same server .<BR>>> > I tried
changing the port of event socket to 8022 but it donot
works.<BR>>> > <param name="listen-port"
value="8022"/><BR>>> ><BR>>> > Is there
some method to start the console of both the
instances.<BR>>> ><BR>>> > Regds<BR>>>
> Sam<BR>>> ><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>>> ><BR>>><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>><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>><BR><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></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV><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></DIV><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></DIV><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></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV><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></BLOCKQUOTE></DIV></DIV></DIV><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"
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>
<P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>