[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Trouble getting perl cgi working

Posted on 2008-11-19
Medium Priority
Last Modified: 2012-05-05
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/mysql.so' for module DBD::mysql: libmysqlclient.so.15: cannot open shared object file: Permission denied at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
[Wed Nov 19 18:11:19 2008] [error] [client]  at /var/www/cgi-bin/receive2db.pl line 64
[Wed Nov 19 18:11:19 2008] [error] [client] Compilation failed in require at /var/www/cgi-bin/receive2db.pl line 64.
[Wed Nov 19 18:11:19 2008] [error] [client] BEGIN failed--compilation aborted at /var/www/cgi-bin/receive2db.pl line 64.
[Wed Nov 19 18:11:19 2008] [error] [client] Premature end of script headers: receive2db.pl
Question by:sirdi
LVL 48

Expert Comment

ID: 23000655
What is the permission on


Author Comment

ID: 23001322
Here it is:

root@apollo init.d]# ls -l /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
-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/mysql.so
[root@apollo init.d]#

LVL 39

Accepted Solution

Adam314 earned 2000 total points
ID: 23001372
What about the permission of all the directories leading to that file?

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month18 days, 19 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question