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@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-ht... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900