Operating System - HP-UX
1833451 Members
3017 Online
110052 Solutions
New Discussion

11.00 to 11i v1 upgrade missing files in /usr/include/sys

 
SOLVED
Go to solution
Gary_O
Frequent Advisor

11.00 to 11i v1 upgrade missing files in /usr/include/sys

I just upgraded the OS of a customer and went to load a patch. They got an error:
ERROR: Cannot open source file
"/tmp/patch/depot/PHKL_30607/C-INC/usr/include/sys/crashconf.h"

They went to /usr/include/sys and there were no .h files? I did not load the OE as part of the upgrade, just the HPUXBase64

How do I get the 11.11 version of the .hs for /usr/include/sys?
10 REPLIES 10
Dennis Handly
Acclaimed Contributor
Solution

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

If you don't have any includes, you must go back to your OS DVDs and install C-INC.

>ERROR: Cannot open source file
"/tmp/patch/depot/PHKL_30607/C-INC/usr/include/sys/crashconf.h"

But this typically means there is something wrong with the patch. Did you download it to windows and forget to copy it in binary to HP-UX?
Gary_O
Frequent Advisor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

I know the patch is good. As part of the
install it copies /usr/include/sys/crashconf.h
which doesn't exist. It then stops the install.
Steven E. Protter
Exalted Contributor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

Shalom,

Your first mistake was running upgrade-ux if you did. That is a bad tool that often does not properly convert systems.

I would download the patch and dependencies via ftp script if possible. This is the most reliable way to get patches.

Do a checksum on the patch, make sure UNIX95 is not set to 1.

Make sure you didn't use ascii ftp transfer when putting the patch on the system. That will nuke the patch each and every time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
OldSchool
Honored Contributor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

the patch may indeed be correct, however you first need to do the install of the missing items, as per Dennis' post.

once that's done, you should be able to install the patch....
Gary_O
Frequent Advisor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

Well I searched the foundation CDs and didn't
find anything called C-INC.
Now I'm look at the application CDs.
Is there an 11.11 patch you can point me too.
THanks, Gary
Steven E. Protter
Exalted Contributor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

There is no patch for misssing system components left out from upgrade-ux.

The only fix is to reinstall the system cold from valid OS media.

If there is a problem with an individual patch, try using swremove on it, followed by a standard swinstall install.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gary_O
Frequent Advisor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

ok found it in:
/cdrom/ProgSupport/C-INC/usr/include/sys

Lets see if I can load it...
Gary_O
Frequent Advisor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

Figures. It doesn't show up on the swinstall and is not a depot.
Any ideas?
Thanks
Gary_O
Frequent Advisor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

Anybody know how to re-install ProgSupport.C-INC
Dennis Handly
Acclaimed Contributor

Re: 11.00 to 11i v1 upgrade missing files in /usr/include/sys

>I know the patch is good.

Did you check the checksum of the patch? If it matches, you have swinstall or networking problems.

>As part of the install it copies /usr/include/sys/crashconf.h which doesn't exist.

Yes but I would expect a better error message, one that doesn't mention PHKL_30607.

>/cdrom/ProgSupport/C-INC/usr/include/sys
>It doesn't show up on the swinstall and is not a depot.

Your CD should be the depot. What doesn't show up on swinstall?

>Anybody know how to re-install ProgSupport.C-INC?

You should be able to do:
swinstall -s /cdrom ProgSupport.C-INC
(You may have to swremove or reinstall if partially there.)

You may want to swlist your system first to see if any files are there:
swlist -l file ProgSupport.C-INC