Operating System - HP-UX
1826726 Members
2645 Online
109702 Solutions
New Discussion

pkg_rec_depot failed due to /sbin/ch_hostname.d not found

 
SOLVED
Go to solution
BILLARD Didier
Occasional Advisor

pkg_rec_depot failed due to /sbin/ch_hostname.d not found

Hello,

I am trying to use make_net_recovery to backup an old HP-UX 10.20 Ignite client on an old HP-UX 11.00 Ignite server.

Ignite version installed on HP-UX 11.00 tpsi2 server is:
B5725AA B.5.4.50 HP-UX Installation Utilities (Ignite-UX)
Ignite-UX-11-00 B.5.4.50 HP-UX Installation Utilities for Installing 11.00 Systems

Ignite version installed on HP-UX 10.20 psk2 client is:
B5725AA_APZ A.2.2.158 HP-UX Installation Utilities (Ignite-UX - S800 - 10.20)

When I run make_net_recovery command on HP-UX 10.20 client, I get the following warning message:

./make_net_recovery -s tpsi2
======= 09/28/10 11:50:07 METDST Started make_net_recovery. (Tue Sep 28
11:50:07 METDST 2010)
@(#) Ignite-UX Revision A.2.2.158
@(#) net_recovery (opt) $Revision: 10.382 $
./make_net_recovery -s tpsi2
* Testing pax for needed patch
* Passed pax tests.
* Checking Versions of Net Recovery Tools
ERROR: The versions of the tools required for network system recovery on
"psk2" are different from the versions on the server system "tpsi2".
To ensure that versions are compatible, install the required toolset
from the server tpsi2, using the command: /usr/sbin/swinstall -x
mount_all_filesystems=false -s
tpsi2:/var/opt/ignite/depots/recovery_cmds "*"

======= 09/28/10 11:50:35 METDST make_net_recovery completed unsuccessfully

Unfortunately recovery_cmds is not a software depot and nothing has been recorded here yet.

Thus I try to run pkg_rec_depot command on HP-UX 11.00 tpsi2 server but I get the following error:
======= 09/27/10 14:09:17 WETDST BEGIN swpackage SESSION
* Session started for user "root@TPSI2".
* Source: tpsi2:/var/tmp/rec_psf.3812
* Target: tpsi2:/var/opt/ignite/depots/recovery_cmds
* Software selections:
*
* Beginning Selection Phase.
* Reading the Product Specification File (PSF)
"/var/tmp/rec_psf.3812".
* Reading the product "Ignite-UX" at line 5.
* Reading the fileset "BOOT-KERNEL-IA" at line 16.
ERROR: Cannot access the source file "/sbin/ch_hostname.d": No such
file or directory (2).
ERROR: Invalid definition for the fileset "BOOT-KERNEL-IA", beginning
at line 15. Details described above. The error(s) must be
corrected before the parsing can continue.
ERROR: Invalid definition for the product "Ignite-UX", beginning at
line 5. Details described above. The error(s) must be
corrected before the parsing can continue.

It appears that /sbin/ch_hostname.d directory does not exist on HP-UX 11.00 tpsi2 server.

As far as I understand, this directory is instaleld along with Ingite-UX-BOOT-KERNEL fileset (either for AI or for PA architecture).

Could anyone tell me what is the procedure to install /sbin/ch_hostname.d directory please ?

Thank you for your attention.

Best Regards.

Didier Billard
6 REPLIES 6
Scot Bean
Honored Contributor

Re: pkg_rec_depot failed due to /sbin/ch_hostname.d not found

With these old OS's, you really are on your own.

Maybe your best bet is try to find some old 11.00 or 10.20 media laying around that has Ignite on it. Install it on both your server and your client to synch them up.
Steven E. Protter
Exalted Contributor

Re: pkg_rec_depot failed due to /sbin/ch_hostname.d not found

Shalom,

Apparently Ignite 5.4 can not recover the 10.20 image which was most likely created with an earlier version of Ignite.

There is no procedure for recovering this system.

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
Scot Bean
Honored Contributor
Solution

Re: pkg_rec_depot failed due to /sbin/ch_hostname.d not found

Version B.5.4 should actually work. That was the last Ignite version that had 10.20 support.

Just need it on client and server.
BILLARD Didier
Occasional Advisor

Re: pkg_rec_depot failed due to /sbin/ch_hostname.d not found

Dear all,

Thank you very much for your quick responses.

Beisides I confirm Scott's response: Ignite version B.5.4.x is supporting both HP-UX 10.20 and HP-UX 11.00 (see HP document "Ingite-UX Supported Versions" dated August 2010, Part Number 5900-1093).

I am going to try to install Ignite-UX B.5.4.x on client HP-UX 10.20 replacing old version. This could solve the problem.

Nevertheless this does not explain why /sbi/ch_hostname.d direcotry does not exist on HP-UX 11.00 server, thus preventing to run pkg_rec_depot on this station.

Thank you again for your help.

Best regards.

Didier Billard
BILLARD Didier
Occasional Advisor

Re: pkg_rec_depot failed due to /sbin/ch_hostname.d not found

Hello everybody,

I could not find any software depot from where to donwload Ignite B5.4.x for non-supported OS HP-UX 10.20.

Thus there are two solutions to solve my problem:

1- either to find Ignite-UX B.5.x for HP-UX 10.20 somewhere (not probable)

2 - or to find why /sbin/ch_hostname.d direcotry does not exist on HP-UX 11.00 server, preventing to perform pkg_rec_depot on this station (more probable ?).

Could any one help me to find either solution please ?

Thank you for your attention.

Best regards.

Didier Billard
Scot Bean
Honored Contributor

Re: pkg_rec_depot failed due to /sbin/ch_hostname.d not found

That is why I suggested media. Hopefully you have some old 11.00 or 10.20 HPUX CDs laying around.

Ignite-UX can be found there.

You will not find official HP sources on the web for this.