Operating System - HP-UX
1851546 Members
3881 Online
104060 Solutions
New Discussion

Regenerate Print_manifest

 
carodn
Advisor

Regenerate Print_manifest

Hello!
How can I regenerate the print_manifest file, because this was replaced with another from other machine, so when I execute this command, it give me back the information from the other machine. If I do a machinfo command, it give me back the right information.
8 REPLIES 8
spex
Honored Contributor

Re: Regenerate Print_manifest

Hi,

Please refer to "Viewing and Printing a Manifest" available here:
http://docs.hp.com/en/B2355-90772/ch05s06.html

PCS
Roland Piette
Regular Advisor

Re: Regenerate Print_manifest

Hello,

Use simpely the print_manifest command.
It will generate a manifest.info file.

You will get more info if you do a "man print_manifest" command.

Regards,
Roland
rariasn
Honored Contributor

Re: Regenerate Print_manifest

Hi Carolina De Napoli,

# /opt/ignite/bin/print_manifest > $PWD/print_manifest_`hostname`.txt

man print_manifest

rgs.
carodn
Advisor

Re: Regenerate Print_manifest

HI! thank you for all responses but my problem continue , I did all the advices..I executed the print_manifest,I read the man and papers but the information from the print_manifest continue differ from the machinfo, and this lastone is the correct..so I don't know how to level out the two reports. anybody can help me with that? thanks again and best regards.

Peter Godron
Honored Contributor

Re: Regenerate Print_manifest

Hi,
what are the differences in the reports? How do you know it is for an other machine.

What are your executables:
what `which print_manifest`
what `which machinfo`

Roland Piette
Regular Advisor

Re: Regenerate Print_manifest

Hi Carolina,

Some stupid thinks can happen. Could you control the permission on the file & directory.

On my system (/var/opt/ignite/local/manifest) all files have 644 as permission exept template.def wich has 444 bitmap.

Be sure to execute as root the command print_manifest and immediately after look at return code with echo $? command.

I hope it helps,
Roland
carodn
Advisor

Re: Regenerate Print_manifest

Hello Peter!
One of the diferences in the reports is the serial no, and I know that this is for another machine because we made an ignite and this file was overwrote, and the information is from the machine where was take the original ignite.
The executables are:
/opt/ignite/bin/print_manifest
/usr/contrib/bin/machinfo

Hello Roland!
All files in /var/opt/ignite/local/manifest all files have 644 permission except template.def with 444 and all have root:sys except manifest.seed and template.def with bin:bin owner and group.
My user is root and after execute the print_manifest command, the return of the
echo $? is 0.

Thanks a lot for any advice..
Best Regards, Caro.
carodn
Advisor

Re: Regenerate Print_manifest

No comments