Re: [users@httpd] Strange apache behaviour when lauching an externalbinary called by a perl script

2013-11-21 Thread ledoc
Fastidious but undeniably efficient. I'll try that. Thanks! Message d'origine De : "smaug ix" À : users@httpd.apache.org Objet : Re: [users@httpd] Strange apache behaviour when lauching an externalbinary called by a perl script Date : 21/11/2013 19:52:49 CET On 11/21/2013 08:25 AM, le

Re: [users@httpd] Strange apache behaviour when lauching an external binary called by a perl script

2013-11-21 Thread Pete Houston
Possibly a difference in environment would cause this (perhaps LD_LIBRARY_PATH or similar?). Compare the environment in your failing at job with the environment in your successful shell command and determine if there are any differences. HTH, Pete -- Openstrike - improving business through open

Re: Re: [users@httpd] Strange apache behaviour when lauching an externalbinary called by a perl script

2013-11-21 Thread ledoc
Nice suggestion. But unfortunately both environments are the same (and my binary is compiled with static library option). Message d'origine De : "Pete Houston" À : users@httpd.apache.org Objet : Re: [users@httpd] Strange apache behaviour when lauching an externalbinary called by a per

Re: [users@httpd] Strange apache behaviour when lauching an external binary called by a perl script

2013-11-21 Thread smaug ix
On 11/21/2013 08:25 AM, le...@netcourrier.com wrote: crashes systematically (with a kernel segfault) configure core dumps and use gdb to see the stack trace at the time of the crash. see if you can figure it out from that. additionally, you can wrap your binary in a script that runs strace l

[users@httpd] Strange apache behaviour when lauching an external binary called by a perl script

2013-11-21 Thread ledoc
Hello list, I am currently setting up a web service running on CentOS 6.4. This service uses perl scripts (cgi-bin) launching an external homemade fortran compiled binary. This last is triggered through a web form when the user ask for it. It is not a system service but an 'on demand' execution.