Hi Team,
We are trying to configure & install Oracle Client & Plugins. Our Linux systems are not connected to internet and need to do an offline installation.
Nagios Version :- 5.6.12 - enterprise license
SERVER LINUX : RHEL 7.7 x86_64
I have tried below mentioned method and getting below error and please required your help to fix this issue
https://labs.consol.de/assets/downloads ... 2.2.tar.gz
https://cpan.metacpan.org/authors/id/T/ ... 643.tar.gz
http://search.cpan.org/CPAN/authors/id/ ... .74.tar.gz
yum reinstall --downloadonly --downloaddir=. glibc-static
yum reinstall --downloadonly --downloaddir=. glibc-utils
yum reinstall --downloadonly --downloaddir=. perl-YAML
yum reinstall --downloadonly --downloaddir=. gd
yum reinstall --downloadonly --downloaddir=. libXpm
The attached oracleinstall.sh
Copy them to the /tmp directory of the XI server
2. Run the install:
cd /tmp
chmod 755 oracleinstall.sh
./oracleinstall.sh
Error Msg:-
" gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DVERSION=\"1.643\" -DXS_VERSION=\"1.643\" -fPIC "-I/usr/lib64/perl5/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: gcc: command not found
make: *** [Perl.o] Error 127
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DVERSION=\"1.643\" -DXS_VERSION=\"1.643\" -fPIC "-I/usr/lib64/perl5/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: gcc: command not found
make: *** [Perl.o] Error 127 "
and
Oracle Plugin output#:-
CRITICAL - cannot connect to hostname:1521/SID. install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_per
Perhaps the DBD::Oracle perl module hasn't been fully installed,
or perhaps the capitalisation of 'Oracle' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
at /usr/local/nagios/libexec/check_oracle_health line 6151.
Thanks
Install Oracle Client & Plugin - Offline
-
Beena_Jogin
- Posts: 54
- Joined: Fri Jan 22, 2016 4:58 am
Install Oracle Client & Plugin - Offline
You do not have the required permissions to view the files attached to this post.
Re: Install Oracle Client & Plugin - Offline
It looks like you need to install gcc as well. Run this to download the rpm:
Code: Select all
yum reinstall --downloadonly --downloaddir=. gccAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Beena_Jogin
- Posts: 54
- Joined: Fri Jan 22, 2016 4:58 am
Re: Install Oracle Client & Plugin - Offline
After Oracle plugin installation getting below error
Oracle Plugin output#:-
CRITICAL - cannot connect to hostname:1521/SID. install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_per
Perhaps the DBD::Oracle perl module hasn't been fully installed,
or perhaps the capitalisation of 'Oracle' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
at /usr/local/nagios/libexec/check_oracle_health line 6151.
Thanks
Oracle Plugin output#:-
CRITICAL - cannot connect to hostname:1521/SID. install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_per
Perhaps the DBD::Oracle perl module hasn't been fully installed,
or perhaps the capitalisation of 'Oracle' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
at /usr/local/nagios/libexec/check_oracle_health line 6151.
Thanks
Re: Install Oracle Client & Plugin - Offline
This appears to be being addressed in a ticket. We'll lock this thread and focus our efforts on the ticket.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.