Operating System - HP-UX
1754353 Members
4814 Online
108813 Solutions
New Discussion юеВ

ignite golden image restore error when downloading software

 
DerickZ
New Member

ignite golden image restore error when downloading software

I am using ignite 7.0 on 11iv3. I guess this version no long support using remsh or ftp to transfer archive file. I had a ignite server working on 11iv2 by using remsh. This time I am using nfs. Here is the logs:
1)system archive successfully created on ignite server
2)archive recognized on server
3)nfs exported ignite directories
4)bootsys succesfully enabled client
5)installation initiated
-config file prepared
-disks configured
-mini system downloaded
x ./etc/hosts, 486 bytes, 1 tape blocks
x ./etc/services, 10908 bytes, 22 tape blocks
x ./etc/inetsvcs.conf, 15 bytes, 1 tape blocks
x ./etc/nsswitch.conf, 382 bytes, 1 tape blocks
x ./configure3, 450560 bytes, 880 tape blocks
x ./monitor_bpr, 20480 bytes, 40 tape blocks


* Download_mini-system: Complete



* Loading_software: Begin

* Installing boot area on disk.
* Enabling swap areas.
* Backing up LVM configuration for "vg00".
* Processing the archive source (HP-UX Core Operating System Archives).
* Fri Oct 31 16:29:35 EST 2003: Starting archive load of the source

1)system archive successfully created on ignite server
2)archive recognized on server
3)nfs exported ignite directories
4)bootsys succesfully enabled client
5)installation initiated
-config file prepared
-disks configured
-mini system downloaded
x ./etc/hosts, 486 bytes, 1 tape blocks
x ./etc/services, 10908 bytes, 22 tape blocks
x ./etc/inetsvcs.conf, 15 bytes, 1 tape blocks
x ./etc/nsswitch.conf, 382 bytes, 1 tape blocks
x ./configure3, 450560 bytes, 880 tape blocks
x ./monitor_bpr, 20480 bytes, 40 tape blocks


* Download_mini-system: Complete



* Loading_software: Begin

* Installing boot area on disk.
* Enabling swap areas.
* Backing up LVM configuration for "vg00".
* Processing the archive source (HP-UX Core Operating System Archives).
Starting archive load of the source
1)system archive successfully created on ignite server
2)archive recognized on server
3)nfs exported ignite directories
4)bootsys succesfully enabled client
5)installation initiated
-config file prepared
-disks configured
-mini system downloaded
x ./etc/hosts, 486 bytes, 1 tape blocks
x ./etc/services, 10908 bytes, 22 tape blocks
x ./etc/inetsvcs.conf, 15 bytes, 1 tape blocks
x ./etc/nsswitch.conf, 382 bytes, 1 tape blocks
x ./configure3, 450560 bytes, 880 tape blocks
x ./monitor_bpr, 20480 bytes, 40 tape blocks


* Download_mini-system: Complete



* Loading_software: Begin

* Installing boot area on disk.
* Enabling swap areas.
* Backing up LVM configuration for "vg00".
* Processing the archive source (HP-UX Core Operating System Archives).
cat: Cannot open /tmp/ign_configure/archive_nfs/hpux-cn2v3.gz: Permission denied
* Completed 0% of archive

here is my configure file:
dfstabs:
share -F nfs -o anon=2 /var/opt/ignite
share -F nfs -o anon=2 /var/opt/ignite/clients

INDEX file:

cfg "HP-UX B.11.31 Default" {
description "This selection supplies the default system configuration that HP supplies for the B.11.31 release."
"/opt/ignite/data/Rel_B.11.31/config"
"/opt/ignite/data/Rel_B.11.31/hw_patches_cfg"
"/var/opt/ignite/data/Rel_B.11.31/archive_cfg"
# "/var/opt/ignite/data/Rel_B.11.31/core_cfg"
"/var/opt/ignite/config.local"
}

archive_cfg:
sw_source "core archive" {
description = "HP-UX Core Operating System Archives"
load_order = 0
source_format = archive
source_type="NET"
post_load_script = "/opt/ignite/data/scripts/os_arch_post_l"
post_config_script = "/opt/ignite/data/scripts/os_arch_post_c"
nfs_source = "10.128.133.40:/var/opt/ignite"
init sw_sel "golden image - 64 bit OS" {
description = "English HP-UX 11.31 CDE - 64 Bit OS"
sw_source = "core archive"
sw_category = "HPUXEnvironments"
archive_type = gzip cpio
#archive_path = "/var/opt/ignite/archives/Rel_B.11.31/hpux-cn2v3.gz"
archive_path = "hpux-cn2v3.gz"
impacts = "/" 61Kb
impacts = "/.secure" 1Kb
impacts = "/.spc_trust_store" 23Kb
impacts = "/dev" 15Kb
impacts = "/etc" 209647Kb
impacts = "/home" 17Kb
impacts = "/opt" 3179946Kb
impacts = "/sbin" 107844Kb
impacts = "/stand" 42469Kb
impacts = "/tools" 1508Kb
impacts = "/usr" 2157527Kb
impacts = "/var" 470003Kb
exrequisite += "golden image - 32 bit OS"
visible_if = can_run_64bit
} = (!can_run_32bit)

Thanks in advance to all repliers. Any suggestion will be appriciated.





4 REPLIES 4
Scot Bean
Honored Contributor

Re: ignite golden image restore error when downloading software

I am not aware of a problem using 'remsh' for archive restore. It is still supported.

Are you really using 7.0? That is over 2 years old. 7.8 is the current version.

Problem is here:
cat: Cannot open /tmp/ign_configure/archive_nfs/hpux-cn2v3.gz: Permission denied

Looks like the problem is here:
nfs_source = "10.128.133.40:/var/opt/ignite"

This line should have the full path to the image, such as
nfs_source = "10.128.133.40:/var/opt/ignitearchives/Rel_B.11.31/"

Steven E. Protter
Exalted Contributor

Re: ignite golden image restore error when downloading software

Shalom,

Ideas:

* Network interuption. Access to the NFS share was temporarily lost.
* A file bigger than 2 gb or 8 gb was built into the archive and could not be unpacked.

* An error message came up on the install log. Escape to the Ignite shell and read the log.

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
Prashanth.D.S
Honored Contributor

Re: ignite golden image restore error when downloading software

Hi Derick,

In one of our case changing the ownership of the archive file from root to bin allowed the recovery to complete.

Try the same and let us know the result.

Best Regards,
Prashanth
DerickZ
New Member

Re: ignite golden image restore error when downloading software

Thanks to all. As Prashanth.D.S pointed out, it is an permission problem.I change the permisson of archive file, it works out. I might try 7.8 later if having sometime. Cheers!