Offline Installation Issue.
Posted: Mon Apr 17, 2017 1:50 am
Hello Everyone,
To brief you about my environment this is RHEL 7 and the server does not have access to the internet at all and add to it its not registered to RedHat either
.
Now what i did was i manually downloaded all the dependency rpm files and created a mount point and manually created a repository. All looked well, as a matter of fact after many challenges which i faced i almost feel like i am at the end of the race and am about to win
.
At the begining my installation failed right at script 0 anyways i've now came to Subcomponent error i.e
Full log file has been attached.
Any help would be much appreciated.
Thanks
To brief you about my environment this is RHEL 7 and the server does not have access to the internet at all and add to it its not registered to RedHat either
Now what i did was i manually downloaded all the dependency rpm files and created a mount point and manually created a repository. All looked well, as a matter of fact after many challenges which i faced i almost feel like i am at the end of the race and am about to win
At the begining my installation failed right at script 0 anyways i've now came to Subcomponent error i.e
Code: Select all
# Looks like you planned 8 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Nagios-Monitoring-Plugin-Functions-03.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/8 subtests
# Failed test 'use Nagios::Monitoring::Plugin::Getopt;'
# at t/Nagios-Monitoring-Plugin-Getopt-01.t line 6.
# Tried to use 'Nagios::Monitoring::Plugin::Getopt'.
# Error: Base class package "Class::Accessor" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
# at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Undefined subroutine &Nagios::Monitoring::Plugin::Functions::_use_die called at t/Nagios-Monitoring-Plugin-Getopt-01.t line 9.
# Looks like you planned 76 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Nagios-Monitoring-Plugin-Getopt-01.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 76/76 subtests
# Failed test 'use Nagios::Monitoring::Plugin::Getopt;'
# at t/Nagios-Monitoring-Plugin-Getopt-02.t line 6.
# Tried to use 'Nagios::Monitoring::Plugin::Getopt'.
# Error: Base class package "Class::Accessor" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
# at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Undefined subroutine &Nagios::Monitoring::Plugin::Functions::_use_die called at t/Nagios-Monitoring-Plugin-Getopt-02.t line 9.
# Looks like you planned 14 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Nagios-Monitoring-Plugin-Getopt-02.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 14/14 subtests
# Failed test 'use Nagios::Monitoring::Plugin::Getopt;'
# at t/Nagios-Monitoring-Plugin-Getopt-03.t line 9.
# Tried to use 'Nagios::Monitoring::Plugin::Getopt'.
# Error: Base class package "Class::Accessor" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
# at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
Undefined subroutine &Nagios::Monitoring::Plugin::Functions::_use_die called at t/Nagios-Monitoring-Plugin-Getopt-03.t line 12.
# Looks like you failed 1 test of 1.
# Looks like your test exited with 255 just after 1.
t/Nagios-Monitoring-Plugin-Getopt-03.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
# Failed test 'use Nagios::Monitoring::Plugin::Getopt;'
# at t/Nagios-Monitoring-Plugin-Getopt-04.t line 6.
# Tried to use 'Nagios::Monitoring::Plugin::Getopt'.
# Error: Base class package "Class::Accessor" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
# at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Getopt.pm line 13.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Undefined subroutine &Nagios::Monitoring::Plugin::Functions::_use_die called at t/Nagios-Monitoring-Plugin-Getopt-04.t line 9.
# Looks like you planned 11 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Nagios-Monitoring-Plugin-Getopt-04.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 11/11 subtests
# Failed test 'use Nagios::Monitoring::Plugin::Performance;'
# at t/Nagios-Monitoring-Plugin-Performance-02.t line 4.
# Tried to use 'Nagios::Monitoring::Plugin::Performance'.
# Error: Base class package "Class::Accessor::Fast" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
# at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Performance.pm line 9.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Performance.pm line 9.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Failed test 'use_die correctly set on import'
# at t/Nagios-Monitoring-Plugin-Performance-02.t line 7.
# got: 'Undefined subroutine &Nagios::Monitoring::Plugin::Functions::nagios_die called at t/Nagios-Monitoring-Plugin-Performance-02.t line 6.
# '
# expected: 'NAGIOS-MONITORING-PLUGIN-PERFORMANCE-02 UNKNOWN - Testing
# '
# Failed test 'use Nagios::Monitoring::Plugin::Performance;'
# at t/Nagios-Monitoring-Plugin-Performance-02.t line 10.
# Tried to use 'Nagios::Monitoring::Plugin::Performance'.
# Error: Attempt to reload Nagios/Monitoring/Plugin/Performance.pm aborted.
# Compilation failed in require at (eval 8) line 2.
# BEGIN failed--compilation aborted at (eval 8) line 2.
# Failed test 'Should not get here if code works correctly because prior nagios_die should have exited'
# at t/Nagios-Monitoring-Plugin-Performance-02.t line 13.
# Looks like you planned 3 tests but ran 4.
# Looks like you failed 4 tests of 4 run.
t/Nagios-Monitoring-Plugin-Performance-02.t ..
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 3/3 subtests
Can't locate Math/Calc/Units.pm in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Functions.pm line 12.
BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Functions.pm line 12.
Compilation failed in require at t/Nagios-Monitoring-Plugin-Performance.t line 5.
BEGIN failed--compilation aborted at t/Nagios-Monitoring-Plugin-Performance.t line 5.
t/Nagios-Monitoring-Plugin-Performance.t .....
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
# Failed test 'use Nagios::Monitoring::Plugin::Range;'
# at t/Nagios-Monitoring-Plugin-Range.t line 7.
# Tried to use 'Nagios::Monitoring::Plugin::Range'.
# Error: Base class package "Class::Accessor::Fast" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
# at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Range.pm line 9.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Range.pm line 9.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Can't locate object method "parse_range_string" via package "Nagios::Monitoring::Plugin::Range" at t/Nagios-Monitoring-Plugin-Range.t line 28.
# Looks like you planned 151 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Nagios-Monitoring-Plugin-Range.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 151/151 subtests
# Failed test 'use Nagios::Monitoring::Plugin::Threshold;'
# at t/Nagios-Monitoring-Plugin-Threshold.t line 5.
# Tried to use 'Nagios::Monitoring::Plugin::Threshold'.
# Error: Base class package "Class::Accessor::Fast" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
# at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Threshold.pm line 8.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Threshold.pm line 8.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Failed test 'use Nagios::Monitoring::Plugin::Functions;'
# at t/Nagios-Monitoring-Plugin-Threshold.t line 6.
# Tried to use 'Nagios::Monitoring::Plugin::Functions'.
# Error: Can't locate Math/Calc/Units.pm in @INC (@INC contains: /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/arch /root/perl5/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Functions.pm line 12.
# BEGIN failed--compilation aborted at /tmp/nagiosxi/subcomponents/extraplugins/Nagios-Monitoring-Plugin-0.51/blib/lib/Nagios/Monitoring/Plugin/Functions.pm line 12.
# Compilation failed in require at (eval 7) line 2.
# BEGIN failed--compilation aborted at (eval 7) line 2.
Global symbol "%STATUS_TEXT" requires explicit package name at t/Nagios-Monitoring-Plugin-Threshold.t line 51.
BEGIN not safe after errors--compilation aborted at t/Nagios-Monitoring-Plugin-Threshold.t line 57.
# Looks like you planned 93 tests but ran 2.
# Looks like you failed 2 tests of 2 run.
# Looks like your test exited with 255 just after 2.
t/Nagios-Monitoring-Plugin-Threshold.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 93/93 subtests
Test Summary Report
-------------------
t/check_stuff.t (Wstat: 3328 Tests: 14 Failed: 13)
Failed tests: 1-10, 12-14
Non-zero exit status: 13
t/Nagios-Monitoring-Plugin-01.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 15 tests but ran 1.
t/Nagios-Monitoring-Plugin-02.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 103 tests but ran 1.
t/Nagios-Monitoring-Plugin-03.t (Wstat: 65280 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 255
Parse errors: Bad plan. You planned 61 tests but ran 2.
t/Nagios-Monitoring-Plugin-04.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 30 tests but ran 1.
t/Nagios-Monitoring-Plugin-Functions-01.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 113 tests but ran 1.
t/Nagios-Monitoring-Plugin-Functions-02.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 37 tests but ran 1.
t/Nagios-Monitoring-Plugin-Functions-03.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 8 tests but ran 1.
t/Nagios-Monitoring-Plugin-Getopt-01.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 76 tests but ran 1.
t/Nagios-Monitoring-Plugin-Getopt-02.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 14 tests but ran 1.
t/Nagios-Monitoring-Plugin-Getopt-03.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
t/Nagios-Monitoring-Plugin-Getopt-04.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 11 tests but ran 1.
t/Nagios-Monitoring-Plugin-Performance-02.t (Wstat: 1024 Tests: 4 Failed: 4)
Failed tests: 1-4
Non-zero exit status: 4
Parse errors: Bad plan. You planned 3 tests but ran 4.
t/Nagios-Monitoring-Plugin-Performance.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/Nagios-Monitoring-Plugin-Range.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 151 tests but ran 1.
t/Nagios-Monitoring-Plugin-Threshold.t (Wstat: 65280 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 255
Parse errors: Bad plan. You planned 93 tests but ran 2.
Files=16, Tests=33, 1 wallclock secs ( 0.05 usr 0.03 sys + 0.57 cusr 0.10 csys = 0.75 CPU)
Result: FAIL
Failed 16/16 test programs. 32/33 subtests failed.
make: *** [test_dynamic] Error 255
ERROR: Subcomponent 'extraplugins' installation failed - exiting.
Subcomponents installation failed - exitingAny help would be much appreciated.
Thanks