- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bootable CD from Golden Image does not work in Ign...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 02:21 AM
тАО04-27-2004 02:21 AM
Bootable CD from Golden Image does not work in Ignite 5.3.35
Installing a CD-based installation from a Golden Image
======================================================
...
TEST: run_cmd("/sbin/sh /tmp/ign_configure/archive_script")
pax_iux: opt/ignite/bin : File exists
* Processed 10% of archive
...
* Completed 100% of archive
DEBUG: sigchld: wait'ed on process: 140 (last_pid=140)
ERROR: Cannot load OS archive (HP-UX B.11.00 64bit)
DEBUG: monitor_swagent_log: start=0, mon_pid=0
DEBUG SHELL:
============
When running the archive_script myself it works perfectly, but returns 1 ("echo $?") instead of the expected 0.
WHY ???
I've checked the tar-gzipped golden image and it is perfect!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 01:11 AM
тАО04-28-2004 01:11 AM
Re: Bootable CD from Golden Image does not work in Ignite 5.3.35
I'll try it out shortly.
> Errors during golden image installs in B.5.3 and B.5.4 (updated).
> -----------------------------------------------------------------
>
> This issue is documented in the CR JAGaf19725 in chart. The headline of
the CR reads "pax_iux error during Golden Image install due to problem with
SYSCMDS".
>
> Who is impacted by this problem?
>
> This affects all Ignite-UX servers running versions B.5.3 and B.5.4 _and_
doing custom golden image installs of any target HP-UX version 10.20 ->
11.23. These are installs from images created manually with make_sys_image,
rather than automatically via make_net_recovery.
>
> How do I know if I have the problem?
>
> There are two symptoms of this problem:
>
> 1) The pax error message:
>
> pax_iux: opt/ignite/bin : File exists
>
> printed just before the message:
>
> * Processed 10% of archive
>
> 2) Ignite-UX, after loading all of the archive, stops with an error:
>
> * Completed 100% of archive
> ERROR: Cannot load OS archive (English HP-UX B.11.11 64 Bit (image of
rusty.rose.hp.com))
>
> The configuration process has incurred an error, would you like to push a
shell for debugging purposes? (y/[n]):
>
> What is the workaround?
>
> The workaround is to add logic to the archive config files in the
sw_source "core archive" stanza. The specific logic is:
>
> is_hppa {
> pre_load_cmd += "
> if [[ ! -d /opt/ignite/binpa ]]
> then
> /sbin/mkdir /opt/ignite/binpa
> /sbin/chmod 555 /opt/ignite/binpa
> /sbin/chown bin:bin /opt/ignite/binpa
> /sbin/mv /opt/ignite/bin/print_manifest /opt/ignite/binpa
> /usr/bin/rmdir /opt/ignite/bin
> /usr/bin/ln -s /opt/ignite/binpa /opt/ignite/bin
> fi
> "
> }
>
> is_ia64 {
> pre_load_cmd += "
> if [[ ! -d /opt/ignite/binia ]]
> then
> /sbin/mkdir /opt/ignite/binia
> /sbin/chmod 555 /opt/ignite/binia
> /sbin/chown bin:bin /opt/ignite/binia
> /sbin/mv /opt/ignite/bin/print_manifest /opt/ignite/binia
> /usr/bin/rmdir /opt/ignite/bin
> /usr/bin/ln -s /opt/ignite/binia /opt/ignite/bin
> fi
> "
> }
>
>
> An example stanza:
>
> #########################################################
> ## Software Sources
> #########################################################
>
> sw_source "core archive" {
> description = "HP-UX Core Operating System Archives"
> load_order = 0
> source_format = archive
> source_type="NET"
>
> # When using this config file with a tape or CD-ROM where
> # the archive is on the same piece of media, then un-comment
> # the next line to prevent a prompt to change media during
> # install.
> # change_media=FALSE
>
> #
> # fix for pax archive extraction errors on PA-RISC systems
> #
> is_hppa {
> pre_load_cmd += "
> if [[ ! -d /opt/ignite/binpa ]]
> then
> /sbin/mkdir /opt/ignite/binpa
> /sbin/chmod 555 /opt/ignite/binpa
> /sbin/chown bin:bin /opt/ignite/binpa
> /sbin/mv /opt/ignite/bin/print_manifest /opt/ignite/binpa
> /usr/bin/rmdir /opt/ignite/bin
> /usr/bin/ln -s /opt/ignite/binpa /opt/ignite/bin
> fi
> "
> }
>
>
> #
> # fix for pax archive extraction errors on IPF systems
> #
> is_ia64 {
> pre_load_cmd += "
> if [[ ! -d /opt/ignite/binia ]]
> then
> /sbin/mkdir /opt/ignite/binia
> /sbin/chmod 555 /opt/ignite/binia
> /sbin/chown bin:bin /opt/ignite/binia
> /sbin/mv /opt/ignite/bin/print_manifest /opt/ignite/binia
> /usr/bin/rmdir /opt/ignite/bin
> /usr/bin/ln -s /opt/ignite/binia /opt/ignite/bin
> fi
> "
> }
>
> # The following 2 scripts should be reviewed to see if the
> # defined defaults are applicable. If you need to modify
> # them, copy them to /var/opt/ignite/scripts first and change
> # the paths here.
> post_load_script = "/opt/ignite/data/scripts/os_arch_post_l"
> post_config_script = "/opt/ignite/data/scripts/os_arch_post_c"
>
> # If nfs_source is used, be sure to export the source.
> nfs_source = "15.1.1.1:/var/opt/ignite/archives/Rel_B.11.11"
>
> # ftp_source and remsh_source are alternate ways to copy
> # the archive. An example of the ftp syntax:
> # ftp_source = "anonymous@15.1.54.123:iux"
> # remsh_source = "user@15.1.54.123"
> }
>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 02:37 AM
тАО04-28-2004 02:37 AM
Re: Bootable CD from Golden Image does not work in Ignite 5.3.35
You may if possible need to check your pax patch level and rebuild the golden image.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2004 12:57 AM
тАО04-29-2004 12:57 AM
Re: Bootable CD from Golden Image does not work in Ignite 5.3.35
So no need for a new golden image, but to implement a workaround to create the right directory.
WORKS PERFECT NOW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 03:01 AM
тАО05-11-2004 03:01 AM
Re: Bootable CD from Golden Image does not work in Ignite 5.3.35
/opt/ignite/bin directory was a link to /opt/ignite/binpa.
I even used the -g option with make_sys_image and specified an include file containing specifically /opt/ignite/bin and that didn't work.
Finally, I removed the /opt/ignite/bin link, created a new directory /opt/ignite/bin and copied over all the files from /opt/ignite/binpa into /opt/ignite/bin.
When I created a new archive and checked, /opt/ignite/bin and all the files underneath (not just print_manifest) were in there.