<div dir="auto">You can strace application start and locate accessed directory/file.<div dir="auto">After it need check directory/file permissions.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 10 апр. 2019 г., 18:15 sagar malam <<a href="mailto:sagarmalam@gmail.com">sagarmalam@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>FS encode does not work using non root user.Any idea why ? or how to fix it ? </div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">sudo -H -u nginx bash -c '/usr/local/freeswitch/bin/fs_encode -v /tmp/k1.wav /tmp/k1.PCMA' </span><br>Cannot init core [Cannot Open log directory or XML Root!]
<br>2019-04-10 15:01:20.230883 [WARNING] switch_core_codec.c:920 Codec is not initialized!
<br>2019-04-10 15:01:20.231005 [WARNING] switch_core_codec.c:920 Codec is not initialized!<br>
<br></span><div><br></div>-- <br><div dir="ltr" class="m_7712270180580194699m_7193451358938295216gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks,<div><br></div><div>Sagar</div></div></div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>