Problem in using HTML::Index::Store with Apache server(httpd)
am 16.10.2006 20:51:53 von piyushagHi,
I am trying to write a small web application to index some html files.
On trying to use HTML::Index::Store, while the perl script is running on
the Apache Server, it gives the following error (from error_log file):
***********************************************
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] Can't load
'/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/au to/Compress/Zlib/Zlib.so'
for module Compress::Zlib: libz.so.1: cannot enable executable stack as
shared object requires: Permission denied at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] at
/usr/lib/perl5/site_perl/5.8.6/HTML/Index/Store.pm line 5
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] Compilation
failed in require at /usr/lib/perl5/site_perl/5.8.6/HTML/Index/Store.pm
line 5.
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] BEGIN
failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.6/HTML/Index/Store.pm line 5.
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] Compilation
failed in require at
/usr/lib/perl5/site_perl/5.8.6/HTML/Index/Store/DataDumper.p m line 13.
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] Compilation
failed in require at /var/www/cgi-bin/search.cgi line 3.
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] BEGIN
failed--compilation aborted at /var/www/cgi-bin/search.cgi line 3.
[Mon Oct 16 23:16:56 2006] [error] [client 172.26.77.178] Premature end
of script headers: search.cgi
**********************************************
I am using a Fedora core 4 machine. Also, the same script runs fine if
not run on the apache server.
Any help in debugging this would be highly appreciated!
TIA,
Piyush
--
Piyush Agrawal
4th Year Undergraduate Student
Department of Computer Science & Engineering
Indian Institute of Technology, Kanpur
Homepage: http://www.cse.iitk.ac.in/users/piyushag