Yes both FS are complied with the prefixes and are running quiet independently , the only problem is with the fs_cli .<br><br>Regards<br>Sam<br><br><br><br><div class="gmail_quote">On Thu, Jan 13, 2011 at 9:02 AM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">





<div 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&#39;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: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="h5">
  <div style="font: 10pt arial;">----- Original Message ----- </div>
  <div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b> 
  <a title="u2nsam@gmail.com" href="mailto:u2nsam@gmail.com" target="_blank">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" target="_blank">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 &amp; 8082 not used 
  <br>Justin, as said earlier i have 2 FS instances running on same server and 
  having below config:-<br>for<br>&gt; 192.168.2.1:-<br>&gt;    
  &lt;param name=&quot;listen-ip&quot; value=&quot;127.0.0.1&quot;/&gt;<br>&gt;   
   &lt;param name=&quot;listen-port&quot; value=&quot;8021&quot;/&gt;<br>&gt; for<br>&gt; 
  192.168.2.2:-<br>&gt;    &lt;param name=&quot;listen-ip&quot; 
  value=&quot;127.0.0.1&quot;/&gt;<br>&gt;    &lt;param name=&quot;listen-port&quot; 
  value=&quot;8022&quot;/&gt;<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">&lt;<a href="mailto:jrichey@itltd.net" target="_blank">jrichey@itltd.net</a>&gt;</span> wrote:<br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
    <div>
    <div><font color="#0000ff" face="Arial" size="2"><span>Did you ever try using 
    netstat like Steven suggested?  What do you get as output for &quot;netstat 
    -tunlp&quot;?</span></font></div>
    <div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
    <div><font color="#0000ff" face="Arial" size="2"><span>In one of your commands 
    below you show 127.0.0.2 instead of 127.0.0.1 so if that&#39;s not a typo you 
    may want to try it again.</span></font></div>
    <div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
    <div><font color="#0000ff" face="Arial" size="2"><span>-Justin</span></font></div>
    <div>
    <div></div>
    <div>
    <div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
    <blockquote>
      <div dir="ltr" align="left"><font face="Tahoma" size="2">-----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 &#39;Times New Roman&#39;; white-space: normal; letter-spacing: normal; color: rgb(0, 0, 0); word-spacing: 0px;"><pre>
<i>netstat -nlp | grep ; ports 8081 &amp; 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">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>
      <blockquote style="border-left: 1px solid rgb(204, 204, 204); 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&#39;ll read .fs_cli_conf in your home 
        directory if it exists, but that isn&#39;t created by default - you create 
        it yourself if you want to use it (it&#39;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&#39;s no 
        password on the event socket you&#39;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">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>
        <blockquote style="border-left: 1px solid rgb(204, 204, 204); 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">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt;</span> wrote:<br>
          <blockquote style="border-left: 1px solid rgb(204, 204, 204); 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 &amp; 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">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>
            <blockquote style="border-left: 1px solid rgb(204, 204, 204); 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&#39;t 
              read any config file. It&#39;s not part of the FS server at all, you 
              can have it on a different machine that doesn&#39;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">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt;</span> wrote:<br>
              <blockquote style="border-left: 1px solid rgb(204, 204, 204); 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">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>
                <blockquote style="border-left: 1px solid rgb(204, 204, 204); 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&#39;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 &lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt; wrote:<br>&gt; the 
                  scenario is i have 2 ips on 1 server for 2 FS 
                  instances;<br>&gt;<br>&gt; 192.168.2.1<br>&gt; 
                  192.168.2.2<br>&gt;<br>&gt; and the parameters i have set 
                  is:-<br>&gt;<br>&gt; for<br>&gt; 192.168.2.1:-<br>&gt; 
                     &lt;param name=&quot;listen-ip&quot; 
                  value=&quot;127.0.0.1&quot;/&gt;<br>&gt;    &lt;param 
                  name=&quot;listen-port&quot; value=&quot;8021&quot;/&gt;<br>&gt; for<br>&gt; 
                  192.168.2.2:-<br>&gt;    &lt;param name=&quot;listen-ip&quot; 
                  value=&quot;127.0.0.1&quot;/&gt;<br>&gt;    &lt;param 
                  name=&quot;listen-port&quot; value=&quot;8022&quot;/&gt;<br>&gt;<br>&gt; Ideally 
                  it should work  but i am getting console for only 
                  192.168.2.1 FS .<br>&gt;<br>&gt;<br>&gt; Regards<br>&gt; 
                  Sam<br>&gt;<br>&gt; On Tue, Jan 11, 2011 at 4:20 PM, Steven 
                  Ayre &lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt; 
                  wrote:<br>&gt;&gt;<br>&gt;&gt;    &lt;param 
                  name=&quot;listen-ip&quot; value=&quot;127.0.0.1&quot;/&gt;<br>&gt;&gt;   
                   &lt;param name=&quot;listen-port&quot; 
                  value=&quot;8021&quot;/&gt;<br>&gt;&gt;<br>&gt;&gt; You can bind both to 
                  port 8021 on their individual IPs, or different<br>&gt;&gt; 
                  ports on the same IP.<br>&gt;&gt;<br>&gt;&gt; A listen IP of 
                  0.0.0.0 will mean any IP.<br>&gt;&gt;<br>&gt;&gt; 
                  -Steve<br>&gt;&gt;<br>&gt;&gt; On 11 January 2011 10:44, Sam 
                  &lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt; wrote:<br>&gt;&gt; &gt; 
                  A query,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; I have 2 FS running 
                  on one server on 2 different ips,<br>&gt;&gt; &gt; so when i 
                  do fs_cli going to respective bins , i see console of only 
                  the<br>&gt;&gt; &gt; first server.<br>&gt;&gt; 
                  &gt;<br>&gt;&gt; &gt; Is there any way to get the console of 
                  both the FS on the same server .<br>&gt;&gt; &gt; I tried 
                  changing the port of event socket to 8022 but it donot 
                  works.<br>&gt;&gt; &gt; &lt;param name=&quot;listen-port&quot; 
                  value=&quot;8022&quot;/&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Is there 
                  some method to start the console of both the 
                  instances.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Regds<br>&gt;&gt; 
                  &gt; Sam<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; 
                  _______________________________________________<br>&gt;&gt; 
                  &gt; FreeSWITCH-users mailing list<br>&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; 
                  &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; 
                  &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; 
                  &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;&gt; 
                  &gt;<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt; 
                  _______________________________________________<br>&gt;&gt; 
                  FreeSWITCH-users mailing list<br>&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; 
                  <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; 
                  UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; 
                  <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<br>&gt; 
                  _______________________________________________<br>&gt; 
                  FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; 
                  <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; 
                  UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; 
                  <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<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" 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><p>
  </p><hr><div class="im">

  <p></p>_______________________________________________<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></blockquote></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>