- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Soft Product INDEX file corrupted
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
Forums
Discussions
Discussions
Discussions
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
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
10-03-2002 01:42 AM
10-03-2002 01:42 AM
Merci!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2002 01:54 AM
10-03-2002 01:54 AM
Re: Soft Product INDEX file corrupted
Have you tried
#/sbin/init.d/swagentd stop
$/sbin/init.d/swagentd start ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2002 01:58 AM
10-03-2002 01:58 AM
Re: Soft Product INDEX file corrupted
First, determine where the corruption is. Before the IPD can be rebuilt, the source of the corruption must be eliminated from the lowest level. If swlist is reporting parsing errors, it will point to a line number within the master INDEX (/var/adm/sw/products/INDEX). Look at this file at the given line number to locate the product/fileset where the parsing error occurs. As with any parse, the error may actually have occurred in the previous product/fileset. Once you have this information, the next step is to look at this information at the subINDEX level. Since the master INDEX is basically a concatenation of INDEX files from all products within the IPD, you should try to isolate the problem at the subINDEX level. If this can be done, the choices are usually to try reinstalling this product/fileset, or (on 10.20 only), to mv that product directory structure out of the IPD to /var/tmp, and then try rebuilding the IPD. The simplest way to do this is to take a product/fileset which is already correctly configured on the system, and to use swmodify to mark its state as configured. For example,
# swmodify -a state=configured OS-Core.Q4
This will accomplish nothing other than to force SD-UX to rebuild the IPD. If you have correctly eliminated the troublesome product, swlist will not report any errors on the newly built IPD.
One source of IPD corruption is a lack of disk space in /var. Many times, checking swagent.log will point to errors where disk space was too low in /var, but the software installation was attempted anyway. Because all necessary files cannot be copied into the IPD once space runs out (during the installation process), the missing information may cause IPD corruption. Usually, this can be corrected by adding more space to /var and reinstalling the product/fileset(s) in question, but this may not be possible if the corruption is too extensive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2002 02:01 AM
10-03-2002 02:01 AM
Re: Soft Product INDEX file corrupted
serious problems with swlist. There are a ton of errors
and warnings in the swlist -1 file when I run swlist.
Some of them are:
...
WARNING: Ignoring unknown keyword "state" at line 24.
WARNING: Invalid value defined for the keyword "timestamp", at line
670. Valid values for this keyword are: Unsigned integers
(in decimal, octal, or hexidecimal notation).
WARNING: Ignoring duplicate definition for the keyword "tag" at line
671.
WARNING: Ignoring duplicate definition for the keyword
"data_model_revision" at line 672.
WARNING: Ignoring duplicate definition for the keyword "instance_id" at
line 673.
WARNING: Ignoring duplicate definition for the keyword
"control_directory" at line 674.
WARNING: Ignoring duplicate definition for the keyword "revision" at
line 675.
WARNING: Ignoring duplicate definition for the keyword "title" at line
676.
ERROR: Incomplete definition for the bundle "J2166A_APS", beginning
at line 1344. The following attributes are not defined:
contents the software contained in the bundle.
The attribute(s) must be defined before the parsing can
continue.
ERROR: Invalid definition for the bundle "J2166A_APS", beginning at
line 1344. Details described above. The bundle has been
marked as corrupt.
What is the problem?
CONFIGURATION
Operating System -HP-UX
Version -10.01
Hardware System -T500
RESOLUTION
In the /var/adm/sw/products/J2166A_APS/pfiles directory,
the INDEX file is corrupted. It's chopped off at: bundle.
You will need to re-load the J2166A_APS software in order
to fix your problem.
The HP Token Ring/9000 Series 800 product (J2166A) provides
hardware and software connectivity from an HP 9000 Series.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x520a6d96588ad4118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x81faa14d9abcd4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2002 02:26 AM
10-03-2002 02:26 AM
SolutionFollow the next procedure to correct this:
First, make a backup copy of the INDEX file (if it exists). If problems are encountered, this file can be moved back into place, and the product definitions will be restored to their former state.
To rebuild the INDEX file, use the following procedure which will install a "fake" product on the system. During the installation of this product, the INDEX file will be regenerated.
# cd /var/adm/sw/products
# mv INDEX INDEX.orig
# cd /tmp
# vi void.psf
product
tag void
fileset
tag void
:wq!
# swpackage -s /tmp/void.psf
# swinstall void
# swremove void
# rm void.psf
# swremove -d void
C.