[Freeswitch-users] Freeswitch is crashing when httapi playback application is executed

Anthony Minessale anthony.minessale at gmail.com
Mon Dec 3 20:20:19 MSK 2012


Once we have a jira open, its ok to just put the details there.



On Mon, Dec 3, 2012 at 8:17 AM, Srigo <ksrigo at gmail.com> wrote:

> Hi,
>
> I have now more details about this crashed.
> Here is what i did (I used the FS you compiled as 'minessale"):
>
>  - Start FS as minessale:
>
>  su minessale
>  /usr/local/stow/freeswitch_20121130/bin/freeswitch -nonat -rp -nc -conf
> /etc/freeswitch/ -db /var/lib/freeswitch/db/ -log /var/log/freeswitch
>
>  Everthing worked fine, NO CRASH!!
>
>  - Then i tried samething by starting FS as "freeswitch"
>   su - freeswitch -s /bin/bash
>  /usr/local/stow/freeswitch_20121130/bin/freeswitch -nonat -rp -nc -conf
> /etc/freeswitch/ -db /var/lib/freeswitch/db/ -log /var/log/freeswitch
>
>  This time FS crashed.
>  According to "strace", we have a permission denied when accessing to
> /usr/local/stow/freeswitch_20121130/storage/http_file_cache. By changing
> the
> rights on "storage" I was able to run httapi without crash with the user
> "freeswitch"
>
>  I joined the trace file.
>
>  Additionnaly, we got the same issue with the compiled debian package: It's
> looking for its cache in /usr/storage which does nt exist.
>
>  I would like to suggest to you:
> - Checking return code when opening a file in "storage/http_file_cache" and
> log failures.
> - Fix the build system to create the storage cache with the correct rights
> - Add in httapi configuration file parameters to set the storage path
>
>
>  Regards,
>  Srigo
>
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-is-crashing-when-httapi-playback-application-is-executed-tp7585041p7585120.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121203/1919b43a/attachment.html 


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