XI Trial Problem Oracle
Posted: Tue Mar 07, 2017 3:27 pm
Hello, I try NagiosXI.
I ran wizard configuration to add a new Oracle Server. But I get Warning that hte plugin isn't installed on server. So I open the PDF document https://assets.nagios.com/downloads/nag ... ios-XI.pdf and i start to follow it for oracle plugin installation. When I got "Run The Install Script" section of the document it finished with errors. I look at the output information and I understand that the downloaded packages from oracle site were corrupt, so I re-downloaded packages. I ran again the script and i received this:
Thanks
I found answer here http://www.yourownlinux.com/2014/10/nag ... ation.html
I ran wizard configuration to add a new Oracle Server. But I get Warning that hte plugin isn't installed on server. So I open the PDF document https://assets.nagios.com/downloads/nag ... ios-XI.pdf and i start to follow it for oracle plugin installation. When I got "Run The Install Script" section of the document it finished with errors. I look at the output information and I understand that the downloaded packages from oracle site were corrupt, so I re-downloaded packages. I ran again the script and i received this:
I need your help to understand What I need to do to finish installation.#######################################
# #
# 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
Loading mirror speeds from cached hostfile
* base: repo1.ash.innoscale.net
* epel: mirror.cogentco.com
* extras: mirror.teklinks.com
* updates: mirror.cs.pitt.edu
Package glibc-devel-2.17-157.el7_3.1.x86_64 already installed and latest version
Package glibc-utils-2.17-157.el7_3.1.x86_64 already installed and latest version
Package glibc-2.17-157.el7_3.1.x86_64 already installed and latest version
Package glibc-headers-2.17-157.el7_3.1.x86_64 already installed and latest version
Package glibc-static-2.17-157.el7_3.1.x86_64 already installed and latest version
Package glibc-common-2.17-157.el7_3.1.x86_64 already installed and latest version
Package perl-YAML-0.84-5.el7.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Examining oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64.rpm: oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64
Marking oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64.rpm to be installed
Examining oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm: oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64
Marking oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm to be installed
Examining oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64.rpm: oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64
Marking oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-instantclient12.2-basic.x86_64 0:12.2.0.1.0-1 will be installed
---> Package oracle-instantclient12.2-devel.x86_64 0:12.2.0.1.0-1 will be installed
---> Package oracle-instantclient12.2-sqlplus.x86_64 0:12.2.0.1.0-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================================================================================
Installing:
oracle-instantclient12.2-basic x86_64 12.2.0.1.0-1 /oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64 211 M
oracle-instantclient12.2-devel x86_64 12.2.0.1.0-1 /oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64 2.0 M
oracle-instantclient12.2-sqlplus x86_64 12.2.0.1.0-1 /oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64 3.1 M
Transaction Summary
==========================================================================================================================================================================================================================================
Install 3 Packages
Total size: 216 M
Installed size: 216 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64 1/3
Installing : oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64 2/3
Installing : oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64 3/3
Verifying : oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64 1/3
Verifying : oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64 2/3
Verifying : oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64 3/3
Installed:
oracle-instantclient12.2-basic.x86_64 0:12.2.0.1.0-1 oracle-instantclient12.2-devel.x86_64 0:12.2.0.1.0-1 oracle-instantclient12.2-sqlplus.x86_64 0:12.2.0.1.0-1
Complete!
RPM installation was successful!
CPAN may ask you questions. Choose 'No' if it asks if you want to
do a manual install, unless you have special internet settings.
Reading '/root/.cpan/Metadata'
Database was generated on Mon, 06 Mar 2017 22:17:02 GMT
DBI is up to date (1.636).
Reading '/root/.cpan/Metadata'
Database was generated on Mon, 06 Mar 2017 22:17:02 GMT
Running install for module 'DBD::Oracle'
Running make for P/PY/PYTHIAN/DBD-Oracle-1.74.tar.gz
Checksum for /root/.cpan/sources/authors/id/P/PY/PYTHIAN/DBD-Oracle-1.74.tar.gz ok
CPAN.pm: Building P/PY/PYTHIAN/DBD-Oracle-1.74.tar.gz
Multiple copies of Driver.xst found in: /usr/local/lib64/perl5/auto/DBI/ /usr/lib64/perl5/vendor_perl/auto/DBI/ at Makefile.PL line 39.
Using DBI 1.636 (for perl 5.016003 on x86_64-linux-thread-multi) installed in /usr/local/lib64/perl5/auto/DBI/
Configuring DBD::Oracle for perl 5.016003 on linux (x86_64-linux-thread-multi)
Remember to actually *READ* the README file! Especially if you have any problems.
Installing on a linux, Ver#2.6
Using Oracle in /usr/lib/oracle/12.2/client64
DEFINE _SQLPLUS_RELEASE = "1202000100" (CHAR)
Oracle version 12.2.0.1 (12.2)
Unable to locate an oracle.mk or other suitable *.mk
file in your Oracle installation. (I looked in
/usr/lib/oracle/12.2/client64/rdbms/demo/demo_xe.mk /usr/lib/oracle/12.2/client64/rdbms/lib/oracle.mk /usr/lib/oracle/12.2/client64/rdbms/demo/oracle.mk /usr/lib/oracle/12.2/client64/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/12.2/client64/rdbms/demo/demo_rdbms64.mk /usr/lib/oracle/12.2/client64/rdbms/lib/ins_rdbms.mk /usr/share/oracle/12.2/client64/demo.mk under /usr/lib/oracle/12.2/client64)
The oracle.mk (or demo_rdbms.mk) file is part of the Oracle
RDBMS product. You need to build DBD::Oracle on a
system which has one of these Oracle components installed.
(Other *.mk files such as the env_*.mk files will not work.)
Alternatively you can use Oracle Instant Client.
In the unlikely event that a suitable *.mk file is installed
somewhere non-standard you can specify where it is using the -m option:
perl Makefile.PL -m /path/to/your.mk
See the appropriate README file for your OS for more information and some alternatives.
at Makefile.PL line 1187.
Warning: No success on command[/usr/bin/perl Makefile.PL]
PYTHIAN/DBD-Oracle-1.74.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
Thanks
I found answer here http://www.yourownlinux.com/2014/10/nag ... ation.html