The script that failed was: './0-yum'

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
danusbigian
Posts: 3
Joined: Thu Feb 16, 2012 10:20 am
Location: Clearwater, FL

The script that failed was: './0-yum'

Post by danusbigian »

I am trying to install that Nagios XI on a new RHEL 5.5 64-bit installation. I have registered the server with RHN and followed the installation instructions by downloading and extracting Nagios XI to /tmp. When running ./fullinstall the installation process seems to start.

I say Y to the first question about installing on a clean install.

I say y to the question about removing RPMs.

The program responnds with:
Removed: librsvg2.i386 0:2.16.1-1.el5
Complete!
RESULT=1
INSTALLATION ERROR!

The script that failed was: './0-yum'

I have attached the install.log file as the error suggests.
You do not have the required permissions to view the files attached to this post.
Adam Detroit
A+; Net+; Server+; MCP
Learning Open Source
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The script that failed was: './0-yum'

Post by scottwilkerson »

What version on NagiosXI is this?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
danusbigian
Posts: 3
Joined: Thu Feb 16, 2012 10:20 am
Location: Clearwater, FL

Re: The script that failed was: './0-yum'

Post by danusbigian »

I downloaded the software yesterday from http://assets.nagios.com/downloads/nagi ... est.tar.gz

I'm not entirely sure how to tell what version it is, there is an rpm file named nagiosxi-deps-2011r2.0-1.noarch.rpm

Looking at what is available on the Nagios website I would guess the version would be

2011R2.1
February 9, 2011
Adam Detroit
A+; Net+; Server+; MCP
Learning Open Source
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The script that failed was: './0-yum'

Post by scottwilkerson »

can you open 0-yum and change the shebang line at the top from

Code: Select all

#!/bin/sh -e
to

Code: Select all

#!/bin/sh
Then try run ./fullinstall again.

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
danusbigian
Posts: 3
Joined: Thu Feb 16, 2012 10:20 am
Location: Clearwater, FL

Re: The script that failed was: './0-yum'

Post by danusbigian »

Thanks. I'm up and running.
Adam Detroit
A+; Net+; Server+; MCP
Learning Open Source
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The script that failed was: './0-yum'

Post by scottwilkerson »

Great.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked