John Callender wrote:
On Apr 4, 2005, at 7:56 PM, Stas Bekman wrote:

John Callender wrote:

In moving some web sites from a server running Red Hat Linux release 7.3 (Valhalla) to one running Fedora Core release 1 (Yarrow), I'm finding that attempts to authenticate under mod_perl using Apache::AuthDBI, which were working normally on the RH 7.3 server, are producing segfaults on the FC1 server.


I'd suggest to cleanup your perl's lib tree first, nuking all paths with 5.8.2, 5.8.1 and 5.8.0 in it. May be you get some binary incompatible module loaded which causes the crush.


That appears to have solved my problem. I needed to install DBI and DBD::mysql from source after removing the 5.8.0, 5.8.1, and 5.8.2 paths from the perl lib tree, because the FC1 distribution apparently came with those installed under 5.8.0. But having done that, Apache::AuthDBI is authenticating properly, with no segfaults.

Excellent :)

Thank you very much for your help.

Your perl is thread-enabled, do you by chance spawn perl threads anywhere? Did you try building perl with -Uusethreads?


As far as I'm aware, we're not using threads anywhere on the server. I haven't tried building perl with -Uusethreads, no.

If you don't use threads and you build your own perl, you should build it with threads disabled. You will get a faster and smaller perl.



-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to