AIX

AIX

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

 View Only
Expand all | Collapse all

Method error (/usr/lib/methods/cfgfan):

  • 1.  Method error (/usr/lib/methods/cfgfan):

    Posted Mon December 08, 2008 11:49 AM

    Originally posted by: SystemAdmin


    Has anyone seen this issue before?
    This happens when I run cfgmgr.

    This is the error message below, although this path can not be found on this and other boxes (the other nodes do not get the message when running cfgmgr.

    sh: /usr/lib/methods/cfgfan: not found.
    1. cfgmgr
    Method error (/usr/lib/methods/cfgfan):
    0514-068 Cause not known.
    sh: /usr/lib/methods/cfgfan: not found.

    1. oslevel -r
    5300-08
    From the boot log below:


    Time: 9 LEDS: 0x538
    invoking top level program -- "/usr/lib/methods/cfgfan"
    Time: 9 LEDS: 0x539
    return code = 127
    • no stdout ***********
    • stderr ***********
    sh: /usr/lib/methods/cfgfan: not found.

    Method error (/usr/lib/methods/cfgfan ^H):
    0514-068 Cause not known.
    sh: /usr/lib/methods/cfgfan: not found.



  • 2.  Re: Method error (/usr/lib/methods/cfgfan):

    Posted Wed December 10, 2008 09:12 AM

    Originally posted by: tony.evans


    What does cfgmgr -v show


  • 3.  Re: Method error (/usr/lib/methods/cfgfan):

    Posted Thu December 11, 2008 11:22 AM

    Originally posted by: SystemAdmin


    Here is the fix:
    The cfgmgr is trying to run the /usr/lib/methods/cfgfan method, however, the /usr/lib/methods/cfgfan file doesn't exist. That's why the error message is being generated. The cfgfan rule is left over in the ODM from an earlier version of AIX and can be removed without a problem.

    I removed the cfgfan config rule from the ODM by the following commands that resolved the problem.

    1. cd /etc/objrepos
    2. cp Config_Rules Config_Rules.orig.20081210
    3. odmdelete -o Config_Rules -q rule=/usr/lib/methods/cfgfan
    1. cfgmgr
    #

    cfgmgr now runs successfully without any errors messages (i.e. it no longer tries to run the cfgfan method).