Trouble getting perl cgi working

Hello All,

  I'm having trouble getting perl cgi working, below is the error messages in my apache error log:

[Wed Nov 19 18:11:19 2008] [error] [client] Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/' for module DBD::mysql: cannot open shared object file: Permission denied at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/ line 230.
[Wed Nov 19 18:11:19 2008] [error] [client]  at /var/www/cgi-bin/ line 64
[Wed Nov 19 18:11:19 2008] [error] [client] Compilation failed in require at /var/www/cgi-bin/ line 64.
[Wed Nov 19 18:11:19 2008] [error] [client] BEGIN failed--compilation aborted at /var/www/cgi-bin/ line 64.
[Wed Nov 19 18:11:19 2008] [error] [client] Premature end of script headers:
Who is Participating?
Adam314Connect With a Mentor Commented:
What about the permission of all the directories leading to that file?
What is the permission on

sirdiAuthor Commented:
Here it is:

root@apollo init.d]# ls -l /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/
-r-xr-xr-x  1 root apache 278154 Nov 19 15:09 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/
[root@apollo init.d]#

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.