nbdeployutil Perl error
Hello,
I have just installed nbdeployutil on our Solaris10 netbackup 7.5 master server but I run into the following error:
-bash-3.00# /usr/openv/netbackup/bin/admincmd/nbdeployutil --gather --report --capacity /tmp/
NetBackup Deployment Utility, version 7.5_EEB1_PET3406793_SET3406831
Gathering license deployment information...
Discovered master server backup
Output for backup at: /usr/openv/var/global/reports/20140527_120909_backup
Gather DONE
Analyzing license deployment ...
Directory /tmp/
No file starting with bpimagelist found in /tmp/
Master backup
Can't locate loadable object for module Encode in @INC (@INC contains: PERL2EXE_STORAGE /usr/openv/netbackup/bin/admincmd /tmp/p2xtmp-7112) at PERL2EXE_STORAGE/Spreadsheet/WriteExcel/Workbook.pm line 162
Compilation failed in require at PERL2EXE_STORAGE/Spreadsheet/WriteExcel/Workbook.pm line 162.
Since I don't know Perl programming, I thought after seeing this error that the problem could be the 'perl2exe' program that wasn't installed on the system.
I did a 'find' for it without results so I installed and run nbdeployutil again but had the same error again.
I looked for the Encode module too and found the following related output:
# perl -MFile::Find=find -MFile::Spec::Functions -Tlw -e 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC' | grep Encode
/usr/perl5/5.8.4/lib/sun4-solaris-64int/Encode.pm
The contents of @INC shows the following:
# perl -e "print \"@INC\""
/usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .
Does anybody know what could be the reason of this error and how to solve it?
Answers pointing to the right solution will be much appreciated since I don't know how to proceed from here.
Regards,
Marcos
Did you install the EEB (nbdeployutil) or just extract it?
Most downloaded versions include lots of other files too so it should be installed
Having said that you shoulddn't need to download anything for 7.5 as it is all built in and shoul dbe under admincmd
Just wanting to check exactly what you have done
Also, in relation to the command, the report option is usually phase 2 .. just run:
nbdeployutil --gather -- capacity
The report bit comes next