- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hpapache2 can't locate GD module
Operating System - HP-UX
1755699
Members
3410
Online
108837
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 09:45 PM
10-01-2003 09:45 PM
hpapache2 can't locate GD module
Hi,
I've installed perl 5.8. with several additional modules e.g. GD::Chart. When I ran the following script (call metrics.pl) from the command line:
__________
#!/opt/perl/bin/perl -w
use CGI;
use GD;
my $q = new CGI;
print $q->header( "text/html" );
print $q->title( "Dies ist eine CGI Seite");
foreach (@INC) {
print $q->p, $_ ;
}
______________
everything is fine.
If I call the same script via hpapache2 using cgi I receive an "Error 500: Premature end of script headers". The logfile from hpapache shows the following error message:
__________________
[Wed Oct 01 13:19:03 2003] [error] [client ....] Premature end of script headers: metrics.pl
[Wed Oct 01 13:19:03 2003] [error] [client ....] Can't locate loadable object for module GD in @INC (@INC contains: /opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi /opt/perl/lib/5.8.0 /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.8.0 /opt/perl/lib/site_perl .) at /archive1/docs-edc/cgi/metrics.pl line 3
[Wed Oct 01 13:19:03 2003] [error] [client ....] Compilation failed in require at /archive1/docs-edc/cgi/metrics.pl line 3.
[Wed Oct 01 13:19:03 2003] [error] [client ....] BEGIN failed--compilation aborted at /archive1/docs-edc/cgi/metrics.pl line 3.
__________________
But an ls -la /opt/perl/lib/site_perl/5.8.0/GD show the GD module:
total 128
drwxr-xr-x 4 root root 96 Sep 26 11:25 .
dr-xr-xr-x 32 root sys 1024 Sep 26 11:47 ..
drwxr-xr-x 2 root sys 1024 Sep 26 11:25 Graph
-rwxr-xr-x 1 root sys 45395 Jul 1 05:02 Graph.pm
drwxr-xr-x 2 root sys 96 Sep 26 11:25 Text
-rwxr-xr-x 1 root sys 16996 Jun 19 00:13 Text.pm
_______________
Could someone help?
Thanks in advance.
Karl
I've installed perl 5.8. with several additional modules e.g. GD::Chart. When I ran the following script (call metrics.pl) from the command line:
__________
#!/opt/perl/bin/perl -w
use CGI;
use GD;
my $q = new CGI;
print $q->header( "text/html" );
print $q->title( "Dies ist eine CGI Seite");
foreach (@INC) {
print $q->p, $_ ;
}
______________
everything is fine.
If I call the same script via hpapache2 using cgi I receive an "Error 500: Premature end of script headers". The logfile from hpapache shows the following error message:
__________________
[Wed Oct 01 13:19:03 2003] [error] [client ....] Premature end of script headers: metrics.pl
[Wed Oct 01 13:19:03 2003] [error] [client ....] Can't locate loadable object for module GD in @INC (@INC contains: /opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi /opt/perl/lib/5.8.0 /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.8.0 /opt/perl/lib/site_perl .) at /archive1/docs-edc/cgi/metrics.pl line 3
[Wed Oct 01 13:19:03 2003] [error] [client ....] Compilation failed in require at /archive1/docs-edc/cgi/metrics.pl line 3.
[Wed Oct 01 13:19:03 2003] [error] [client ....] BEGIN failed--compilation aborted at /archive1/docs-edc/cgi/metrics.pl line 3.
__________________
But an ls -la /opt/perl/lib/site_perl/5.8.0/GD show the GD module:
total 128
drwxr-xr-x 4 root root 96 Sep 26 11:25 .
dr-xr-xr-x 32 root sys 1024 Sep 26 11:47 ..
drwxr-xr-x 2 root sys 1024 Sep 26 11:25 Graph
-rwxr-xr-x 1 root sys 45395 Jul 1 05:02 Graph.pm
drwxr-xr-x 2 root sys 96 Sep 26 11:25 Text
-rwxr-xr-x 1 root sys 16996 Jun 19 00:13 Text.pm
_______________
Could someone help?
Thanks in advance.
Karl
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP