Page 4 of 5

Re: cgi error

Posted: Mon Oct 07, 2013 9:55 am
by abrist
abrist wrote:All the required packages installed successfully. Do you have a log from the configure and make?

Re: cgi error

Posted: Mon Oct 07, 2013 9:58 am
by veenm
i dont have a log ...

Re: cgi error

Posted: Mon Oct 07, 2013 10:54 am
by abrist
Run:

Code: Select all

./configure &> /tmp/configure.log
make all &> /tmp/make.log
Post these two log files in code wraps or attachment.

Re: cgi error

Posted: Mon Oct 07, 2013 8:28 pm
by veenm
I have attached the log files .

Re: cgi error

Posted: Tue Oct 08, 2013 3:35 pm
by abrist
You are missing a few dependencies that are required to build all the cgis:

Code: Select all

yum install gd-devel png-devel jpg-devel -y
Then:

Code: Select all

./configure &> /tmp/configure.log
make clean
make all &> /tmp/make.log
If you have continued issues, post the logs once again.

Re: cgi error

Posted: Wed Oct 09, 2013 1:01 am
by veenm
after running the mentioned command i am still not able to see statusmap.cgj file.
attached the files.

Re: cgi error

Posted: Wed Oct 09, 2013 11:38 am
by sreinhardt
Can you run the following command and send us the results please.

Code: Select all

rpm -qa | grep 'gd-devel\|png-devel\|jpeg\|jpg'

Re: cgi error

Posted: Wed Oct 09, 2013 8:20 pm
by veenm
please find the below output

[root@CNPUDAS011 ~]# rpm -qa | grep 'gd-devel\|png-devel\|jpeg\|jpg'
openjpeg-libs-1.3-9.el6_3.x86_64
libjpeg-turbo-devel-1.2.1-1.el6.x86_64
libjpeg-turbo-1.2.1-1.el6.x86_64
libpng-devel-1.2.49-1.el6_2.x86_64

Re: cgi error

Posted: Thu Oct 10, 2013 12:06 pm
by abrist
You are still missing gd-devel:

Code: Select all

yum install gd-devel -y

Re: cgi error

Posted: Sat Oct 12, 2013 2:18 am
by veenm
Hi

I tried all the option that you have mentioned . But while installing th GB i am getting below error.

[root@CNPUDAS011 httpd]# yum install gd-devel png-devel jpg-devel install gd-devel -y
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-6-server-cf-tools-1-rpms | 2.8 kB 00:00
rhel-6-server-rhev-agent-rpms | 3.1 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
Setting up Install Process
No package gd-devel available.
No package png-devel available.
No package jpg-devel available.
No package install available.
No package gd-devel available.
Error: Nothing to do


I have installed the Nagios on Linux .

Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel \r on an \m

[root@CNPUDAS011 httpd]# uname -a
Linux CNPUDAS011 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux