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

Steven Ayre steveayre at gmail.com
Wed Sep 5 12:39:21 MSD 2012


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.
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.

The most likely cause is perhaps a write permission error. libzrtp
doesn't log the error that occurred, but you might be able to see it
by attaching strace, but it'd first be easier to check if FS can write
to its cwd directory.

-Steve




On 5 September 2012 07:14, Vbvbrj <vbvbrj at gmail.com> wrote:
> Hello.
>
> Regularly in FS log I see:
>
> 09:03:54.044779 [DEBUG] switch_rtp.c:915  [  zrtp cache]: Storing ZRTP
> Cache...
> 09:03:54.044779 [DEBUG] switch_rtp.c:915  [  zrtp cache]:    Storing
> ZRTP cache to <...
> 09:03:54.044779 [DEBUG] switch_rtp.c:915  [  zrtp cache]:    ERROR!
> unable to open ZRTP cache file <.
> 09:03:54.044779 [DEBUG] switch_rtp.c:915  [  zrtp cache]: Storing ZRTP
> Cache - DONE.
> 09:03:54.044779 [DEBUG] switch_rtp.c:776 Saving ZRTP cache: OK
>
> Why is this logged, and why an error? There is no file name to search
> for permission or access. Note the missing ">" where file name must be.
>
> --
> Mimiko desu.
>
> _________________________________________________________________________
> 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



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