AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

Creating nim spot from lpp_source fails

  • 1.  Creating nim spot from lpp_source fails

    Posted Mon May 26, 2014 05:55 PM

    Originally posted by: ruecker


    I am (or rather AIX is) having a problem in creating a nim spot from an lpp_source. This is what I do:

    A lpp_source with simages exists:

    $ lsnim -l lpp71000109
    lpp71000109:
       class       = resources
       type        = lpp_source
       arch        = power
       Rstate      = ready for use
       prev_state  = unavailable
       location    = /export/eznim/lpp_source/lpp71000109
       simages     = yes
       alloc_count = 0
       server      = master

     

    Now creating the spot:

    $ nim -o define -t spot -a server=master -a source=lpp71000109 -a location=/export/eznim/spot spot71000109

     SPOT wird in "/export/eznim/spot" auf Maschine "master" aus "lpp71000109" erstellt...

     Dateien werden aus dem BOS-Image wiederhergestellt.  Dieser Vorgang kann einige Minuten dauern...

    0042-001 nim: Verarbeitungsfehler in "master":
       0042-001 m_mkspot: Verarbeitungsfehler in "master":
       0042-003 c_mkspot: Fehler in Systemaufruf. Informationen folgen:
                         
    unknown source type " lpp_source"

    The Messages are partly in german but I hope they are still comprehensable. It seems like nim is complaining about a wrong source type " lpp_source", and it might the blank at the beginning of the " lpp_source" that could the source of this problem.

    I could not find anything helpfull on 0042-003 c_mkspot. Has anyone seen a similar problem or has suggestions how to fix or analyze this?

    Thank you very much for sharing your ideas and your help!

     

    The problem  arises both with AIX 7.1 TL1 SP9 and with TL3 SP2.



  • 2.  Re: Creating nim spot from lpp_source fails

    Posted Wed June 04, 2014 04:39 AM

    Originally posted by: ruecker


    The Problem was known in earlier AIX Versions and is reported under CMVC Defect 267730

    NIM Spot Fails when LANG=de_DE


    Workaround instructions
    -----------------------
    The purpose of this workaround is to correct a problem

    with the message catalog, cndnim.cat, which causes
    the spot generation with the de_DE locale to fail.

    The existing cmdnim.cat contains blank spaces in
    front of two resources, " lpp_source" and
    " installp_bundle". These blank spaces have been
    removed by using dspcat -g cmdnim.cat > cmdnim.msg;
    removing the suspect blank spaces and rebuilding the

    message catalog with gencat cmdnim.cat cmdnim.msg.


    1. Create output file to edit

    # dspcat -g /usr/lib/nls/msg/de_DE/cmdnim.cat > /tmp/cmdnim.msg


    2. Edit /tmp/cmdnim.msg to remove blank spaces in front of
    " lpp_source" and " installp_bundle"

    3. Use gencat to create new cmdnim.cat


    # gencat /tmp/cmdnim.cat /tmp/cmdnim.msg

    4. Copy new cmdnim.cat to /usr/lib/nls/msg/de_DE/cmdnim.cat

    That did it for me.