Error 0042-151 Occurs during Creation of mksysb Resource


Environment

OS Level: 4.3.1
Type/Model: c10

Problem

During the creation of the mksysb resource, error 0042-151, regarding c_stat, occurs. The exact errors are as follows:

0042-001 nim: processing error encountered on "master":
   0042-001 m_mkbosi: processing error encountered on "master":
   0042-175 c_cklevel: An unexpected result was returned by the
"/usr/lpp/bos.sysmgt/nim/methods/c_stat" command:

0042-151 c_stat: the file "/NIM/export/mksysb/cut11_420r1" has a file type
of 0100000.
        This conflicts with the expected type of 010000.a

Solution

Execute the following command:

	grep mode= /usr/lpp/bos.sysmgt/nim/methods/c_cklevel

Look to see if the following is returned:

	#${C_STAT} -a location=${source} -a mode=0100000 2>${ERR} \
        ${C_STAT} -a location=${source} -a mode=010000 2>${ERR} \

If this is returned, modify the file as follows:

	${C_STAT} -a location=${source} -a mode=0100000 2>${ERR} \

Then creating the mksysb resource should work fine.




[ Doc Ref: 93629317318584     Publish Date: Oct. 01, 1999]