cgi dont generate dynamic graph
Hi together,
after update the Apache http Server the lpar2rrd dont show the dynamic generate graph.
Apache Error Log has following entry:
Tue Mar 20 13:09:39.337731 2018] [cgid:error] [pid 34603400] [client 172.27.40.142:56221] Script timed out before returning headers: detail-graph.sh, referer: http://ax-nim01.llb/lpar2rrd/?menu=b4ed29a&tab=0
Apache Version: 2.4.27
lpar2rrd.cfg Perl Path
PERL=/opt/freeware/bin/perl
RRDTOOL=/opt/freeware/bin/rrdtool
after update the Apache http Server the lpar2rrd dont show the dynamic generate graph.
Apache Error Log has following entry:
Tue Mar 20 13:09:39.337731 2018] [cgid:error] [pid 34603400] [client 172.27.40.142:56221] Script timed out before returning headers: detail-graph.sh, referer: http://ax-nim01.llb/lpar2rrd/?menu=b4ed29a&tab=0
Apache Version: 2.4.27
lpar2rrd.cfg Perl Path
PERL=/opt/freeware/bin/perl
RRDTOOL=/opt/freeware/bin/rrdtool
PERL5LIB=/usr/opt/perl5/lib/site_perl/5.8.8::/opt/freeware/lib/perl/5.8.0:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/opt/perl5/lib/si
te_perl/5.8.8/aix-thread-multi:/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi:/home/lpar2rrd/lpar2rrd/lib
httpd.conf
When we switch to old apache Version the graph will be generated without problems. Have any an idea?
Thanks for your help.
Regards
Alex
httpd.conf
Alias /lpar2rrd "/home/lpar2rrd/lpar2rrd/www/"
<Directory "/home/lpar2rrd/lpar2rrd/www/">
Options Indexes FollowSymLinks Includes MultiViews
#Order allow,deny
#Allow from all
AllowOverride AuthConfig FileInfo
Require all granted
</Directory>
# CGI-BIN
ScriptAlias /lpar2rrd-cgi/ "/home/lpar2rrd/lpar2rrd/lpar2rrd-cgi/"
<Directory "/home/lpar2rrd/lpar2rrd/lpar2rrd-cgi">
AllowOverride None
SetEnv PERL5LIB /opt/freeware/lib/perl5/5.8.8
SetHandler cgi-script
Options ExecCGI Includes FollowSymLinks
AllowOverride AuthConfig FileInfo
# Order allow,deny
# Allow from all
Require all granted
</Directory>
When we switch to old apache Version the graph will be generated without problems. Have any an idea?
Thanks for your help.
Regards
Alex
Comments
-
Check documentation, there might be something missed in your apache 2.4 cfg, there are examples http://www.lpar2rrd.com/install.htm?4.1.0 --> Web --> Apache 2.4+ generally
like:LoadModule alias_module /opt/freeware/lib/httpd/modules/mod_alias.so LoadModule cgi_module /opt/freeware/lib/httpd/modules/mod_cgi.so
Check also Apache error_log, there should be visible issue
LoadModule mpm_prefork_module /opt/freeware/lib/httpd/modules/mod_mpm_prefork.so # LoadModule mpm_worker_module /opt/freeware/lib/httpd/modules/mod_mpm_worker.so # LoadModule mpm_event_module modules/mod_mpm_event.so <IfModule mpm_prefork_module> LoadModule cgi_module /opt/freeware/lib/httpd/modules/mod_cgi.so </IfModule>
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle