ATTENTION: We are currently working an issue with posting. Thank you for your patience while we work on a resolution.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
813
Views
1
Helpful
1
Replies

Solaris 9 command line "backup.p1" command is failing

dgrier
Level 1
Level 1

I receive the following error:

-#> /usr/bin/perl /opt/CSCOpx/bin/backup.pl /data01/cwsi_backups/1 /var/tmp/cwsi-bkp.log 1

Can't locate CRM.pm in @INC (@INC contains: /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at /opt/CSCOpx/bin/backup.pl line 45.

BEGIN failed--compilation aborted at /opt/CSCOpx/bin/backup.pl line 45.

I am upgrading to 3.0 if I can backup the current data. Please reply

1 Reply 1

jreekers
Level 4
Level 4

Hi.

Don't use /usr/bin/perl, rather use the version of perl under /opt/CSCOpx/bin

So the command should be something like:

/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/backup.pl /data01/cwsi_backups/1 /var/tmp/cwsi-bkp.log 1

Please let me know how that goes.

HTH,

-J

Review Cisco Networking for a $25 gift card