[Freeswitch-users] FS_ENCODE does not work with non root user

Sergey Safarov s.safarov at gmail.com
Wed Apr 10 16:43:26 UTC 2019


You can strace application start and locate accessed directory/file.
After it need check directory/file permissions.

ср, 10 апр. 2019 г., 18:15 sagar malam <sagarmalam at gmail.com>:

> Hello,
>
> FS encode does not work using non root user.Any idea why ?  or how to fix
> it ?
> sudo -H -u nginx bash -c '/usr/local/freeswitch/bin/fs_encode -v
> /tmp/k1.wav /tmp/k1.PCMA'
> Cannot init core [Cannot Open log directory or XML Root!]
> 2019-04-10 15:01:20.230883 [WARNING] switch_core_codec.c:920 Codec is not
> initialized!
> 2019-04-10 15:01:20.231005 [WARNING] switch_core_codec.c:920 Codec is not
> initialized!
>
>
> --
> Thanks,
>
> Sagar
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190410/884c302d/attachment.html>


More information about the FreeSWITCH-users mailing list