I am trying to install nagios XI on an RHEL 6 server. Initially, I didn't have wget configured properly and the E-importnagiosql script failed. I added a "no-proxy" statement to /etc/wgetrc and it proceeded further than it had, but now fails with the following output. It still fails in the E-importnagiosql script but for a different reason than before. I tried starting over by removing the "installed*" files but that resulted in the same error. Any thoughts?
Running './E-importnagiosql'...
httpd: no process killed
Starting httpd: [ OK ]
Sleeping...
NOTE: If prompted, enter the MySQL root password
NagiosQL database appears OK - continuing...
NDOUtils database appears OK - continuing...
Found config files to import - continuing...
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --no-proxy --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2011-12-02 13:05:04-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost/nagiosql/index.php [following]
--2011-12-02 13:05:04-- http://localhost/nagiosql/index.php
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `nagiosql.login'
0K ..... 100% 503M=0s
2011-12-02 13:05:04 (503 MB/s) - `nagiosql.login' saved [5259/5259]
NAGIOSQL LOGIN FAILED!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
The script that failed was: './E-importnagiosql'
nagiosxi installation failure on RHEL 6
Re: nagiosxi installation failure on RHEL 6
I'm guessing you're missing the pear-Template-IT package, which is usually what fails on a proxy install.
php-pear-HTML-Template-IT
You'll have to figure out how to get this package installed from behind the proxy. From there I would suggest running the installer from a fresh tarball, otherwise it will skip some of the stages.
php-pear-HTML-Template-IT
You'll have to figure out how to get this package installed from behind the proxy. From there I would suggest running the installer from a fresh tarball, otherwise it will skip some of the stages.
Re: nagiosxi installation failure on RHEL 6
OK i am having the same issue as well installing nagiosxi on RHEL 6 64bit OS. I did check and php-pear-HTML-Template-IT-1.3.0-2.el5.noarch is installed on my host.
I have been doing research on this for past couple of hours and i am running out of options here.
Please help me with this issue.
I have been doing research on this for past couple of hours and i am running out of options here.
Please help me with this issue.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nagiosxi installation failure on RHEL 6
Are you doing a proxy install as well? Can you post your install.log?
Re: nagiosxi installation failure on RHEL 6
I don't think i am doing proxy install. but just curious how do i know if i am doing proxy installation?
thanks,
thanks,
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nagiosxi installation failure on RHEL 6
You would know.
If you are on RHEL 6 as stated you need to add the Optional software channel so that Nagios XI can install the necessary prerequisites. To do so, first sign in to your Red Hat Network account at http://rhn.redhat.com/. Then click on the link corresponding to your system. Near the bottom-left corner of the page, click Alter Channel Subscriptions. Check the box labeled RHEL Server Optional and click Change Subscriptions. That's it! You should be able to run the installer again and complete your installation.
If that has been completed can you post your install.log
If you are on RHEL 6 as stated you need to add the Optional software channel so that Nagios XI can install the necessary prerequisites. To do so, first sign in to your Red Hat Network account at http://rhn.redhat.com/. Then click on the link corresponding to your system. Near the bottom-left corner of the page, click Alter Channel Subscriptions. Check the box labeled RHEL Server Optional and click Change Subscriptions. That's it! You should be able to run the installer again and complete your installation.
If that has been completed can you post your install.log
Re: nagiosxi installation failure on RHEL 6
When i run ./fullinstall it download rpmforge and epel repos, so i am just curious what does the RHEL Server optional pkgs included that rpmforge and epel don't have?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nagiosxi installation failure on RHEL 6
I don't know off the top of my head what all of the packages are pulled from what repo other than to say I do know that we have had this on our wiki and in our Administrator guide for the installation for quite some time.
ERROR:_Please_add_the_.27Optional.27_channel_to_your_Red_Hat_systems_subscriptions
I can have our install developer get back to you next time they are in the office if you like.
ERROR:_Please_add_the_.27Optional.27_channel_to_your_Red_Hat_systems_subscriptions
I can have our install developer get back to you next time they are in the office if you like.
Re: nagiosxi installation failure on RHEL 6
sure can you please do that.
Do you think i should try CentOS 6 instead to see if that works? I don't know if it will help, theoretically they are both same base OS.
Do you think i should try CentOS 6 instead to see if that works? I don't know if it will help, theoretically they are both same base OS.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: nagiosxi installation failure on RHEL 6
CentOS 6 will work.
They aren't the same...just similar.
They aren't the same...just similar.