In answer to your first question, yes. I guess my next question would be, if I don't need fs_cli, then what is it for? I guess I am assuming to access FS when it is running in background. What would be the difference between running it in the foreground vs background?<div>
Also, I ran FS without -nc and it showed that mod_event_socket loaded successfully. So why won't it with fs_cli?</div><div><br></div><div>PeterS<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 5:29 PM, Mathieu Rene <span dir="ltr"><<a href="mailto:mrene_lists@avgs.ca">mrene_lists@avgs.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi,<div><br></div><div>Did you start FreeSWITCH before? fs_cli is only used to connect to the console of a running FreeSWITCH instance.</div>
<div><br></div><div>If you did, try starting it without the -nc switch, it should stay in the foreground and tell you whats wrong, if you have a console you can also check that mod_event_socket is properly loaded (load mod_event_socket)</div>
<div><div><div><div><br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>
<span style="font-size:12px"><div>Mathieu Rene</div><div>Avant-Garde Solutions Inc</div><div>Office: + 1 (514) 664-1044 x100</div><div>Cell: +1 (514) 664-1044 x200</div><div><a href="mailto:mrene@avgs.ca" target="_blank">mrene@avgs.ca</a></div>
<div><br></div><div><br></div></span></div></span><br>
</div>
<br><div><div><div></div><div class="h5"><div>On 2010-10-06, at 8:23 PM, Peter Schrock wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5">Okay, so I managed to get FS working the other day and I even managed to test a call and test my voicemail. All seemed to be working smoothly until, because of the rain here, my power went out and I had to reboot my computer. I logged in through the terminal, set up FS in background went to <font face="'courier new', monospace">fs_cli</font> and I get this error message:<div>
<font face="'courier new', monospace">[ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection Error]</font></div><div>I managed to figure out that in the file "<font face="'courier new', monospace">fs_cli.c</font>" on line 1206 you find the code for displaying this error message. The problem is that I don't know why this error message is occurring. Does anyone have any helpful hints as to what I should look at to resolve this problem?</div>
<div>I even tried going to the git tree and make current, but that gave me problems that forced me to turn off <font face="'courier new', monospace">mod_spandsp</font> and <font face="'courier new', monospace">mod_skyopen</font> in the <font face="'courier new', monospace">modules.conf</font>, which I had running earlier. Any thoughts?</div>
<div><br></div><div>PeterS</div><div><br></div><div>PS</div><div>I am not sure if this is of any help, but in addition to the error line above, it also posted this info:</div><div><div><font face="'courier new', monospace">Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [profile]</font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> -?,-h --help Usage Information</font></div>
<div><font face="'courier new', monospace"> -H, --host=hostname Host to connect</font></div><div><font face="'courier new', monospace"> -P, --port=port Port to connect (1 - 65535)</font></div>
<div><font face="'courier new', monospace"> -u, --user=user@domain user@domain</font></div><div><font face="'courier new', monospace"> -p, --password=password Password</font></div>
<div><font face="'courier new', monospace"> -x, --execute=command Execute Command and Exit</font></div><div><font face="'courier new', monospace"> -l, --loglevel=command Log Level</font></div>
<div><font face="'courier new', monospace"> -q, --quiet Disable logging</font></div><div><font face="'courier new', monospace"> -r, --retry Retry connection on failure</font></div>
<div><font face="'courier new', monospace"> -R, --reconnect Reconnect if disconnected</font></div><div><font face="'courier new', monospace"> -d, --debug=level Debug Level (0 - 7)</font></div>
</div><div><br></div></div></div>
_______________________________________________<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>
</blockquote></div><br></div></div></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></div>