Operating System - HP-UX
1752806 Members
5773 Online
108789 Solutions
New Discussion юеВ

Error with make_sys_image - pax bug

 
SOLVED
Go to solution
Sergej_5
Regular Advisor

Error with make_sys_image - pax bug

Hi!
I have started to make golden image with make_sys_image. At the end i am getting the following error at the client side:
# ./make_sys_image -d /ignite_depot/TEKILAMB_11_11 -n tekilamb_fresh11_11.gz -s 10.49.4.79
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.

WARNING: CLEAN_LEVEL set to 2: (see -l option for make_sys_image(1M))
While this command is executing at clean level 2, the system
should be as quiet as possible. The host and/or networking
information on the system are temporarily set to newconfig
values. After the command is complete these files are
returned to their previous state.

Creating keepsafe archive with file /stand/system
Creating your system file in the file /var/tmp/make_sys_image.hwsys.a17068
Appending file /.profile to keepsafe archive
.Appending file /etc/rc.config.d/hpetherconf to keepsafe archive
.Appending file /etc/rc.config.d/hpfcmsconf to keepsafe archive
.Appending file /etc/rc.config.d/netconf to keepsafe archive
.Appending file /etc/rc.config.d/netdaemons to keepsafe archive
.Appending file /etc/rc.config.d/namesvrs to keepsafe archive
.Appending file /etc/rc.config.d/mailservs to keepsafe archive
.Appending file /etc/rc.config.d/xfs to keepsafe archive
.Appending file /etc/hosts to keepsafe archive
.Appending file /etc/group to keepsafe archive
.Appending file /etc/mail/sendmail.cw to keepsafe archive
.Appending file /etc/netgroup to keepsafe archive
.Appending file /etc/ntp.conf to keepsafe archive
.Appending file /etc/vue/config/Xsession.d/0070.recs to keepsafe archive
.Appending file /etc/vue/config/Xconfig to keepsafe archive
Appending file /var/adm/sw/security/_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_OWNER to keepsafe archive
.Appending file /var/adm/sw/security/_PROD_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/_SOC_DFLT_ACL to keepsafe archive
.Appending file /var/adm/sw/security/secrets to keepsafe archive
.Appending file /var/adm/sw/security/secrets.pag to keepsafe archive
Appending file /var/adm/sw/security/secrets.dir to keepsafe archive

* Archiving contents of tekilamb via tar to
10.49.4.79:/ignite_depot/TEKILAMB_11_11/tekilamb_fresh11_11.gz.
ERROR: There were files that were not successfully archived because
of a pax bug. Check /var/tmp/pax_bug_files for the list.
* Creation of system archive complete.
* Cleanup: Do Not interrupt; restoring files, kernel, and transition links.


Before golden image creation i've installedcumulative patch PHCO_30420.

What might have been wrong?

Brgds,
Sergej
11 REPLIES 11
Sergej_5
Regular Advisor

Re: Error with make_sys_image - pax bug

Hi!
I have found in /var/tmp/pax_bug_files file the following:

"... exposes a pax bug dealing with directories longer than 100 chars"

Am i missing some other patch then pax patch?

Brgds,
Sergej

Devender Khatana
Honored Contributor
Solution

Re: Error with make_sys_image - pax bug

Hi,


Your pax patch is a bit old. Could you try after installing the latest pax commulative patch which is PHCO_32438.

HTH,
Devender
Impossible itself mentions "I m possible"
Steven E. Protter
Exalted Contributor

Re: Error with make_sys_image - pax bug

Please check the install state of your patch with swverify.

Then remove or replace with a newer patch.

swverity \* is a good way to insure the integrity of your patch database.

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
Arunvijai_4
Honored Contributor

Re: Error with make_sys_image - pax bug

http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|patch.breadcrumb.patchDetail{PHCO_32438,hpux:800:11:11}|&patchid=PHCO_32438&context=hpux:800:11:11

PHCO_32438 should be installed in order to create a golden image in your case.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sergej_5
Regular Advisor

Re: Error with make_sys_image - pax bug

I will try it and post a reply if it succeded. Accordingly i will submit points!

Brgds,
Sergej
Sergej_5
Regular Advisor

Re: Error with make_sys_image - pax bug

Hi!
I have installed PHCO_32438 and reboot machine but still i get the same error!!!

Any ideas?

Brgds,
Sergej
Sergej_5
Regular Advisor

Re: Error with make_sys_image - pax bug

I have also verify the installed patches and everything seems to be OK!

Brgds,
Sergej
Peter Nikitka
Honored Contributor

Re: Error with make_sys_image - pax bug

Hi,

I think pax has reached Std-Tar limitations of pathname restrictions:

pathname <256chars
with
dirname <=100chars
filename <155chars

Check your directory structure, if these restrictions are met! Try something like this to get directory pathnames >100 chars:

find -type d -print | awk '{if (length($0)) >100) print}'

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Sergej_5
Regular Advisor

Re: Error with make_sys_image - pax bug

I have changed make_sys_image file to archive dirs > 100 chars just changed 100 with 255 :)

It was helpful solution :)