03-28-2007 12:46 PM
/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.
=====================================================================
Solved! Go to Solution.
03-29-2007 11:31 AM
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
03-29-2007 11:34 AM
ONLY the top two (i.e. the two I listed). The /products entries MUST remain.
03-29-2007 11:37 AM
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?
03-29-2007 11:39 AM
ONLY the two I mentioned in my post. NOTHING else should be removed from this file.
03-29-2007 11:42 AM
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
03-29-2007 12:19 PM
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
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.
03-29-2007 12:56 PM
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.
03-29-2007 01:07 PM
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?
03-29-2007 01:09 PM
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.
03-29-2007 12:58 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide