Issue with genjson.sh after update of httpd
goodday
After updating http i am getting this error when i go with my browser to the lpar2rrd server (on AIX):
This error i have never seen. Someone any ideas?
Kind regards,
Michel.
There was an error on menu JSON generation
200: SyntaxError: Unexpected token '#', "#!/bin/sh "... is not valid JSON
Please and send that file to developers via secured upload service.
#!/bin/sh # Load LPAR2RRD environment CGID=`dirname $0` if [ "$CGID" = "." ]; then CGID=`pwd` fi INPUTDIR_NEW=`dirname $CGID` . $INPUTDIR_NEW/etc/lpar2rrd.cfg TMPDIR_LPAR="$INPUTDIR/tmp" export TMPDIR_LPAR umask 000 ERRLOG="/var/tmp/lpar2rrd-realt-error.log" export ERRLOG # Load "magic" setup if [ -f $INPUTDIR/etc/.magic ]; then . $INPUTDIR/etc/.magic fi exec $PERL $BINDIR/genjson.pl 2>>$ERRLOG
Comments
-
- rpm -qa| grep httpd
- logs
Note a short problem description in the text field of the upload form.
under lpar2rrd user:
cd `cat ~/.lpar2rrd_home`
gzip -9 logs.tar
Send us logs.tar.gz via https://upload.lpar2rrd.com
-
Solved it.
httpd.conf_64 was lacking this line:
LoadModule cgid_module /opt/freeware/lib64/httpd/modules/mod_cgid.so
Thankyou for you comment Pavel, have a nice day.
Regards
Michel.
Howdy, Stranger!
Categories
- 1.7K All Categories
- 114 XorMon
- 26 XorMon Original
- 171 LPAR2RRD
- 14 VMware
- 19 IBM i
- 2 oVirt / RHV
- 5 MS Windows and Hyper-V
- Solaris / OracleVM
- 1 XenServer / Citrix
- Nutanix
- 8 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 140 STOR2RRD
- 20 SAN
- 7 LAN
- 19 IBM
- 7 EMC
- 12 Hitachi
- 5 NetApp
- 17 HPE
- 1 Lenovo
- 1 Huawei
- 3 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 4 Pure Storage
- Oracle