AIX

AIX

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

 View Only
Expand all | Collapse all

sudo + pcmpath = Error Accessing ODM

  • 1.  sudo + pcmpath = Error Accessing ODM

    Posted Mon March 26, 2012 03:49 AM

    Originally posted by: Tibor_B


    Hi

    Our problem is:

    We have script with line:

    
    sudo pcmpath query device
    


    that is called sometimes by root and sometimes by other user. I believe we have the same setup in multiple servers, but in one case this doesnt work.

    Even if run as root, "sudo pcmpath query device" returns:

    
    Error Accessing ODM
    


    When I run "pcmpath query device", I will get expected output

    AIX version is 6100-05-01-1016, but we have other servers with same version where it works.
    What do you think a problem can be?

    Thanks


  • 2.  Re: sudo + pcmpath = Error Accessing ODM

    Posted Mon March 26, 2012 08:27 AM

    Originally posted by: ColombianJoker


    Reconfigure sudo in a way that maintains the value of ODMDIR variable.