Page 1 of 1

Cannot install oracle plugin

Posted: Fri Jan 30, 2015 12:39 pm
by shiwpam
Hi, we are in the process of purchasing Nagios Enterprise and having trouble trying to Install & Configure the Oracle Client & Plugins via the instructions from the link http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

The problem is that I'm getting the following error
12: Timeout on http://mirrorlist.centos.org/?release=6 ... nfra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Error: Cannot find a valid baseurl for repo: base


These are the files that the instructions said to download.
-rwxr-xr-x 1 root root 1.9K Nov 2 2011 oracleinstall.sh
-rw-r--r-- 1 root root 60M Jan 29 14:58 oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
-rw-r--r-- 1 root root 620K Jan 29 14:58 oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
-rw-r--r-- 1 root root 833K Jan 29 14:58 oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm


This is what I get trying to run the installation....
[root@wmrs55 ~]# cd /tmp
[root@wmrs55 tmp]# ./oracleinstall.sh
#######################################
# #
# This is the installer script #
# for installing Oracle monitoring #
# libraries. #
# #
# Before you continue, be sure that #
# the oracle-basic, sqlplus and devel #
# are in the same directory as this #
# installer script. #
# #
#######################################
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
12: Timeout on http://mirrorlist.centos.org/?release=6 ... nfra=stock: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Error: Cannot find a valid baseurl for repo: base


Is there a way to manually download what I need?

1. What version of Nagios XI are you using? 2014R2.5
2. Linux Distribution and version? CentOS release 6.6 (Final)
3. 32 or 64bit? 64bit
4. VMware Image or Manual Install of XI? VMware Image
5. Are there special configurations on your system, ie; is Gnome installed?
Are you using a proxy? No, but we are behind one.
Are you using SSL? No
All default settings except for static IP change.

Re: Cannot install oracle plugin

Posted: Fri Jan 30, 2015 1:02 pm
by slansing
The "Being behind a proxy" is likely the issue here have you modified the server to accept the proxy?

http://support.nagios.com/wiki/index.ph ... n_Problems

Re: Cannot install oracle plugin

Posted: Fri Jan 30, 2015 2:22 pm
by shiwpam
I added the proxy but had the same issue, but decided to do a reboot since it's the easiest thing to do.

Re-ran the install and it failed again. I added the proxy http_proxy=http://myname:mypass@someproxyserver:port/ and did a yum update and then the oracleinstall was able to download the needed files.

Looks like this was a proxy issue after all, but not sure why it didn't take when I first tried it.

Either way, thanks for the quick response. :D

Re: Cannot install oracle plugin

Posted: Fri Jan 30, 2015 2:24 pm
by slansing
Awesome! Yeah they can be a bit finicky with traffic sometimes :).