Hi All,
I am doing POC for nagiosxi. Can you please advise me on below error on installation and how to resolved this? Thanks in advance for your help.
Nagios xi Installation Log
==========================
DATE: Tue Aug 14 16:03:41 SGT 2012
DISTRO INFO:
CentOS
5.8
i686
THIS IS A NEW INSTALL!
INSTALLING:
full=2011R3.2
major=2011
minor=R3.2
releasedate=2012-06-27
release=217
Yum already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rp m: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386& repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
error installation nagios xi on CentOS
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: error installation nagios xi on CentOS
This looks like yum could not resolve the DNS name.
Does this machine have a connection to the Internet? Is it behind a proxy?
Does this machine have a connection to the Internet? Is it behind a proxy?
-
- Posts: 4
- Joined: Tue Aug 14, 2012 8:55 pm
Re: error installation nagios xi on CentOS
Hi Thanks for response. Yup, It is solved now after internet connection is established. But I have another error installation as below, Please advise
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 10.147.132.167 for ServerName
[60G[[0;32m OK [0;39m]
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 --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--2012-08-15 16:40:22-- http://localhost/nagiosql/index.php
Resolving proxy... 10.147.135.33
Connecting to proxy|10.147.135.33|:8080... connected.
Proxy request sent, awaiting response... 404 Not Found
2012-08-15 16:40:22 ERROR 404: Not Found.
NAGIOSQL LOGIN FAILED!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 10.147.132.167 for ServerName
[60G[[0;32m OK [0;39m]
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 --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--2012-08-15 16:40:22-- http://localhost/nagiosql/index.php
Resolving proxy... 10.147.135.33
Connecting to proxy|10.147.135.33|:8080... connected.
Proxy request sent, awaiting response... 404 Not Found
2012-08-15 16:40:22 ERROR 404: Not Found.
NAGIOSQL LOGIN FAILED!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: error installation nagios xi on CentOS
You need to make sure you localhost to the no_proxy option in /etc/wgetrc
http://support.nagios.com/wiki/index.ph ... th_Proxies
http://support.nagios.com/wiki/index.ph ... th_Proxies