Can I copy /usr/conf/mod/core from one system to another to enable swinstall? (1470 Views)
Reply
Regular Advisor
EU-Admins-UNIX
Posts: 196
Registered: ‎09-23-2011
Message 1 of 3 (1,470 Views)

Can I copy /usr/conf/mod/core from one system to another to enable swinstall?

[ Edited ]

Hi

 

My /usr/conf/mod/core file is missing.  It is stopping me from swinstalling the latest FC-01 drivers for our HBAs.

 

Can I copy the /usr/conf/mod/core from another system, enabling me to install successfully?

 

Regards

 

Tariq

 

 

P.S. This thread has been moevd from HP-UX > System Administration to HP-UX > patches. - Hp Forum Moderator

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,901
Registered: ‎03-06-2006
Message 2 of 3 (1,456 Views)

Re: Can I copy /usr/conf/mod/core from one system to another to enable swinstall?

>My /usr/conf/mod/core file is missing.

 

Why?  You better fix your processes so you don't remove it again!

You should be able to do this if you have the same version and patch levels between the two systems.

Please use plain text.
Frequent Advisor
RJHall
Posts: 27
Registered: ‎05-30-2013
Message 3 of 3 (1,437 Views)

Re: Can I copy /usr/conf/mod/core from one system to another to enable swinstall?

[ Edited ]

I'll bet you have a cron job to recursively remove 'core' files from your system. You can modify the find command to prune the directory:

 

find / -path '/usr/conf/mod' -prune -o \
   \( -fsonly hfs -o -fsonly vxfs \) \
   -name 'core' -type f -exec rm -f {} \;

 

The /usr/conf/mod/core file is delivered with OS-Core.CORE2-KRN.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation