Error "0518-507 odmget error" When Running mksysb from cron


Environment

OS Level: AIX Version 4.1.5
Type/Model: Unspecified

Problem

The user is running a mksysb from cron. It fails with the following error:
   0518-507 
   odmget: could not retrieve object for PdAt: 
   odm error number 5910.
   strip: shr.o -- the file was already stripped as specified 
   mv: cannot rename tmp boot ram.fs

Solution

If you are able to run the mksysb successfully from the command line, complete the following steps.
  1. At the command line, enter the following command:
       bosboot -ad /dev/rmt0
    
  2. List the status of the cron process. Enter:
       ps -ef | grep cron
    

    There should be only one cron process running. For example, the following cron processes may display:

       /etc/cron
       cron
    

    If this is the case, terminate both processes using the kill command. The correct cron process will respawn with a new process number.

  3. Rerun the mksysb from cron.



[ Doc Ref: 95634978910972     Publish Date: Apr. 28, 2000     4FAX Ref: none ]