[Freeswitch-users] ERROR! unable to open ZRTP cache file

Anthony Minessale anthony.minessale at gmail.com
Wed Sep 5 22:18:31 MSD 2012


switch_snprintf(zrtp_cache_path, sizeof(zrtp_cache_path),
"%s%szrtp.dat", SWITCH_GLOBAL_dirs.db_dir, SWITCH_PATH_SEPARATOR);

it should go in /usr/local/freeswitch/db

does the user running the process have ownership of /usr/local/freeswitch ?

On Wed, Sep 5, 2012 at 11:50 AM, Michael Jerris <mike at jerris.com> wrote:
> If freeswitch is not already using one of its directory defines to pass down to the library for where this file should be, someone please open a jira issue to correct this.  This should be using one of dirs we define out of configure appropriately so it has the right permissions.
>
> Thanks
> Mike
>
> On Sep 5, 2012, at 6:19 AM, Vbvbrj <vbvbrj at gmail.com> wrote:
>
>> On 05.09.2012 11:39, Steven Ayre wrote:
>>> It's a log message from within the libzrtp library.
>>>
>>> It means it cannot open the cache file. The log message contains the
>>> filename it tried to open, but it looks like you've removed the end of
>>> the lines with that information.
>>
>> No, I didn't remove any symbol from the log output. Realy it does not
>> show the file name.
>>
>>> The default filename within the library is
>>> "./zrtp_def_cache_path.dat". That'd be within the cwd FS is running
>>> with, which you can find with "ls -ld /proc/PID/cwd" where PID is the
>>> PID freeswitch is running as.
>>
>> Yes, the cmd of FS is running is correct and the username under which FS
>> is running does not have write permission except some subfolders, for
>> ex. log sobfolder. Then how to specify the zrtp cache file path and name?
>>
>> --
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.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
> http://www.freeswitch.org



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list