cgi error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: cgi error

Post by abrist »

abrist wrote:All the required packages installed successfully. Do you have a log from the configure and make?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: cgi error

Post by veenm »

i dont have a log ...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: cgi error

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: cgi error

Post by veenm »

I have attached the log files .
Attachments
make.log
(2.62 KiB) Downloaded 211 times
configure.log
(9.68 KiB) Downloaded 187 times
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: cgi error

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: cgi error

Post by veenm »

after running the mentioned command i am still not able to see statusmap.cgj file.
attached the files.
Attachments
make.log
(9.51 KiB) Downloaded 197 times
configure.log
(9.68 KiB) Downloaded 205 times
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: cgi error

Post 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'
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: cgi error

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: cgi error

Post by abrist »

You are still missing gd-devel:

Code: Select all

yum install gd-devel -y
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
veenm
Posts: 148
Joined: Tue Jun 18, 2013 5:58 am

Re: cgi error

Post 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
Locked