cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1573
Views
10
Helpful
24
Replies

Same box LMS 2.6 upgrade from LMS 2.2 issue

yjdabear
VIP Alumni
VIP Alumni

/opt/CSCOpx is a symlink to /product/CSCO/CSCOpx created by LMS 2.2 installaton. I tried modifying the following two files to point to /opt/CSCOpx rather than /product/CSCO/CSCOpx, before executing setup.sh, to no avail. It seems they get written over with "/product/CSCO/CSCOpx" everytime during pkgadd of CSCOcore:

/opt/CSCOpx/etc/coreinstall.cshrc

/opt/CSCOpx/etc/coreinstall.profile

***************

Installation of <CSCOcsv> was successful.

application CSCOcsv Command Service Library

INFO: performing pkgadd -a /tmp/cscotmp/CSCO.admin -d /lms26/cs33/packages CSCOcore

/opt/CSCOpx

INFO: Package CSCOcore - Installed. Correcting pkgchk errors - Done.

Processing package instance <CSCOcore> from </lms26/cs33/packages>

...

Installation of <CSCOcore> was successful.

application CSCOcore CWCS Utilities

ERROR: /opt/CSCOpx/etc/coreinstall.cshrc

ERROR: file size <199> expected <244> actual

ERROR: file cksum <16370> expected <20235> actual

ERROR: /opt/CSCOpx/etc/coreinstall.profile

ERROR: file size <204> expected <249> actual

ERROR: file cksum <16806> expected <20671> actual

ERROR: Package verification failed : CSCOcore aborting.

=================================================================

Finished: Wed Mar 28 15:22:21 EDT 2007

=================================================================

===============- Software Installation Tool Completed -==============

=================================================================

===================- Possible Warnings/Errors Encountered -===================

WARNING: This is an upgrade to CiscoView 6.1.2. The CiscoView related data like

WARNING: Device List,Preferences etc. will not be preserved during the upgrade.

WARNING: Exiting installation beyond this point might result in system instability.

ERROR: /opt/CSCOpx/etc/coreinstall.cshrc

ERROR: file size <199> expected <244> actual

ERROR: file cksum <16370> expected <20235> actual

ERROR: /opt/CSCOpx/etc/coreinstall.profile

ERROR: file size <204> expected <249> actual

ERROR: file cksum <16806> expected <20671> actual

ERROR: Package verification failed : CSCOcore aborting.

=====================================================================

24 Replies 24

I'm confused. Do I remove these two:

/opt/CSCOpx/etc/copyright/CSCOxrcs.copyright f xerces 0640 casuser casusers 49 3925 1040130052 CSCOxrcs

/opt/CSCOpx/etc/copyright/CSCOxrts.copyright f pxxrts 0640 casuser casusers 2035 14288 1132763479 CSCOxrts

or these four?

/opt/CSCOpx/etc/coreinstall.cshrc f core 0640 casuser casusers 199 16370 1175176578 CSCOcore

/product/CSCO/CSCOpx/etc/coreinstall.cshrc f core 0440 casuser casusers 244 20235 1175176658 CSCOcore

/opt/CSCOpx/etc/coreinstall.profile f core 0640 casuser casusers 204 16806 1175176578 CSCOcore

/product/CSCO/CSCOpx/etc/coreinstall.profile f core 0440 casuser casusers 249 20671 1175176658 CSCOcore

ONLY the top two (i.e. the two I listed). The /products entries MUST remain.

So I should remove

/opt/CSCOpx/etc/coreinstall.cshrc f core 0640 casuser casusers 199 16370 1175176578 CSCOcore

/opt/CSCOpx/etc/coreinstall.profile f core 0640 casuser casusers 204 16806 1175176578 CSCOcore

Not

/opt/CSCOpx/etc/copyright/CSCOxrcs.copyright f xerces 0640 casuser casusers 49 3925 1040130052 CSCOxrcs

/opt/CSCOpx/etc/copyright/CSCOxrts.copyright f pxxrts 0640 casuser casusers 2035 14288 1132763479 CSCOxrts

Correct?

ONLY the two I mentioned in my post. NOTHING else should be removed from this file.

So these two should get removed? They don't seem to have anything to do with coreinstall.

/opt/CSCOpx/etc/copyright/CSCOxrcs.copyright f xerces 0640 casuser casusers 49 3925 1040130052 CSCOxrcs

/opt/CSCOpx/etc/copyright/CSCOxrts.copyright f pxxrts 0640 casuser casusers 2035 14288 1132763479 CSCOxrts

Well, I took out the two coreinstall lines:

/opt/CSCOpx/etc/coreinstall.cshrc f core 0640 casuser casusers 199 16370 1175176578 CSCOcore

/opt/CSCOpx/etc/coreinstall.profile f core 0640 casuser casusers 204 16806 1175176578 CSCOcore

It got it past CSCOcore:

Installation of was successful.

application CSCOcore CWCS Utilities

INFO: performing pkgadd -a /tmp/cscotmp/CSCO.admin -d /lms26/cs33/packages CSCOapch

INFO: Uninstall-Mode=UPGRADE :Old Package is being uninstalled

And it finished fine.

Good. You should be good to go with the rest of the 2.5.1 upgrade, then on to the 2.6 mega-patch CD.

Thanks for all your help. Is this a bug? Will this be fixed on new CDs of LMS 2.6 or a later maintenance release?

This may have been a problem with LMS 2.2. My analysis of the 2.5.1 code (this file isn't touched in 2.6) leads me to believe that this should no longer happen moving forward.

Sorry, I completely mis-copied the lines in my post. My mouse must have slipped. You removed the correct lines. The two lines in this post MUST remain. Sounds like you did the right thing.