"tfactl diagcollect -srdc dbperf" :Can't locate warnings.pm i
Test ENV
[root@ol7-db2 ~]# tfactl print status
.----------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+---------+---------------+------+------+------------+----------------------+------------------+
| ol7-db2 | RUNNING | 2632 | 5000 | 12.2.1.2.2 | 12212220170727083130 | COMPLETE |
| ol7-db1 | NOT RUNNING | - | | | | |
'---------+---------------+------+------+------------+----------------------+------------------'
error when using "tfactl diagcollect -srdc dbperf" :
Running Command: /u01/app/11.2.0.4/grid/perl/bin/perl /opt/tfa/ol7-db2/tfa_home/bin/scripts/runawr.pl -ohome /u01/app/oracle/product/11.2.0.4/db_1 -osid oradb2 -ouser oracle -from "2017-10-16 15:08:36" -to "2017-10-16 16:08:36" -html -bad -hostname "ol7-db2"
Can't locate warnings.pm in @INC (@INC contains: /u01/app/11.2.0.4/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0.4/grid/perl/lib/5.10.0 /u01/app/11.2.0.4/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0.4/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0.4/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0.4/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0.4/grid/perl/lib/5.10.0 /u01/app/11.2.0.4/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0.4/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0.4/grid/perl/lib/site_perl .) at /opt/tfa/ol7-db2/tfa_home/bin/scripts/runawr.pl line 37.