Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-30-2003, 08:07 PM   #1
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake Linux 9.1
Posts: 1

Rep: Reputation: 0
Apache2 CGI-Perl will not read files

I tried searching for a solution, but couldn't find anything.

I have a script that I know works because several people are running it successfully.

If I run it from the command line, the script will read the config file, but if I run it from Apache2, it doesn't read it. It also will not pass any variables.

I think it worked when I first downloaded it because I got some output in a logfile, but I updated some CPAN perl modules, and now it doesn't work.

I know I updated, and believe this is where my problem lies, but I don't know how to fix it.
I also tried to update mod-perl, but it was unsuccessful and didn't test or install.

There are currently 3 files on my computer. How do I know which one it's using?
Why is there a 5.6.1 directory when I'm running 5.8.0?

[root@server /]# ls -la /usr/lib/perl5/5.8.0/
-rw-r--r-- 1 root root 225773 Jun 17 18:31 /usr/lib/perl5/5.8.0/CGI
[root@server /]# ls -la /usr/lib/perl5/vendor_perl/5.8.0/
-rw-r--r-- 1 root root 210190 Apr 10 2002 /usr/lib/perl5/vendor_pe
[root@server /]# ls -la /opt/sysinfo/perl/lib/5.6.1/
-r-xr-xr-x 1 root bin 208050 Jun 26 16:07 /opt/sysinfo/perl/lib/5.

Thanks in advance for any suggestions!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl CGI:Can't locate supermyself Programming 13 09-10-2007 06:22 AM
Apache2 cannot execute cgi files on a USB drive bhoult Linux - Software 2 07-11-2005 10:19 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM
CGI perl links to files in Dir ocularbob Programming 3 04-29-2003 08:40 AM
Problem with perl and cgi files JSP Linux - General 1 03-22-2002 08:01 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration