Mailing List Archive

random .dll loading error when running fastCGI
Hi, all,

I know this might be more like fastCGI or Apache problem instead of Catalyst
issue, but there are more experts in this list than anywhere else so I will
not be shy to ask you guys. I appologize if this is offending anyone here.

The story is here:

[Tue Sep 28 08:35:46 2010] [error] [client 127.0.0.1] FastCGI: server
"C:..../test001.fcgi" stderr: install_driver(ODBC) failed: Can't load
'C:/Perl/site/lib/auto/DBD/ODBC/ODBC.dll' for module DBD::ODBC: load_file:A
dynamic link library (DLL) initialization routine failed at
C:/Perl/lib/DynaLoader.pm 230

The environment is Windows XP Pro, Apache 2.2.10, SQL Server 2005, FastCGI
and Perl 5.5.8.

When this error appears, refreshing the page or whatever cannot solve this
problem while other pages are still fine. When refreshing, I can see the
server generates the same log again but seems the server can never load this
particular script successfully. After restarting server, it might happen to
other scripts once in a while, which makes debugging is impossible to me.

Very appreciate if anyone can share some experience or point me to some
direction.

Joe
Re: random .dll loading error when running fastCGI [ In reply to ]
On 28 Sep 2010, at 15:07, Joseph He wrote:
> [Tue Sep 28 08:35:46 2010] [error] [client 127.0.0.1] FastCGI:
> server "C:..../test001.fcgi" stderr: install_driver(ODBC) failed:
> Can't load 'C:/Perl/site/lib/auto/DBD/ODBC/ODBC.dll' for module
> DBD::ODBC: load_file:A dynamic link library (DLL) initialization
> routine failed at C:/Perl/lib/DynaLoader.pm 230
>
> The environment is Windows XP Pro, Apache 2.2.10, SQL Server 2005,
> FastCGI and Perl 5.5.8.

You mean 5.8.8, right?

>
> When this error appears, refreshing the page or whatever cannot
> solve this problem while other pages are still fine. When
> refreshing, I can see the server generates the same log again but
> seems the server can never load this particular script successfully.
> After restarting server, it might happen to other scripts once in a
> while, which makes debugging is impossible to me.
>
> Very appreciate if anyone can share some experience or point me to
> some direction.

Try upgrading stuff like the DBD driver, and/or perl? (Sorry, not very
helpful)

Or run your .fcgis as external servers rather than having apache
dynamically start them?

Cheers
t0m


_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev