AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

AIX 7143: error: Failed to initialize NSS library

  • 1.  AIX 7143: error: Failed to initialize NSS library

    Posted Wed May 09, 2018 08:11 AM

    Originally posted by: ltus1


    i installed the latest rpm.rte:

    rpm.rte                   4.13.0.3  COMMITTED  RPM Package Manager

    then installed yum but i had a discrepancy and i started working my way thru the 'errors' working to fix them etc.

    now i am in a bumfuddled state where any yum/rpm command results with:

    />updtvpkg
    Please wait...error: Failed to initialize NSS library
    error: Failed to initialize NSS library
    error: Failed to initialize NSS library
    error: Failed to initialize NSS library

    error: Failed to initialize NSS library

     

    />rpm
    error: Failed to initialize NSS library

     

     

    />yum
    error: Failed to initialize NSS library
    There was a problem importing one of the Python modules
    required to run yum. The error leading to this problem was:

       cannot import name ts

    Please install a package which provides this module, or
    verify that the module is installed correctly.

    It's possible that the above module doesn't match the
    current version of Python, which is:
    2.7.10 (default, Jun 22 2016, 05:57:59) [C]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq

     

    i have googled, been thru the:

     http://yum.baseurl.org/wiki/Faq

     

    nothing!!!!

    help, i will provide what output i can BUT the above fully describes my present situation..........

     

    thx

     

    LT



  • 2.  Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed May 09, 2018 11:29 AM

    Originally posted by: ltus1


    never mind, i banged my head against this too long now, several days, i reinstalled mksysb, starting over and will be MUCH MORE careful with RPM/YUM updates

    thx

    LT



  • 3.  Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 02, 2018 10:40 AM

    Originally posted by: lopces


    Good morning.

    I working with AIX 7.2, and I found the same problem, after uninstall sqllite.

    Looking around in the web, I coudn't found a solution.

    Finally, I was uninstalled rpm.rte, cdrtools.base, and cdrtools.man.en_US packages, using installp (Never fails !!), and later I began again, whit rpm, and other rpm packages.

    César

    (Please, forgiveme if my wording ins't good: I'm not speak English)

     


  • 4.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Mon October 09, 2023 01:26 PM

    I'm facing the same issue on AIX7.2, I re-installed rpm.rte but it doesn't help, anyone has a solution for this issue  ? 

    # oslevel -s
    7200-05-06-2320
     # rpm -aq
    error: Failed to initialize NSS library
    # updtvpkg
    Please wait...error: Failed to initialize NSS library
    error: Failed to initialize NSS library
    error: Failed to initialize NSS library
    error: Failed to initialize NSS library
     
    error: Failed to initialize NSS library
     # lslpp -l |grep  -i Rpm
      rpm.rte                4.15.1.1006  COMMITTED  RPM Package Manager
      rpm.rte                4.15.1.1006  COMMITTED  RPM Package Manager
    # lslpp -l |grep  -i cdrtools
      cdrtools.base              1.9.0.9  COMMITTED  CD/DVD recorder
      cdrtools.man.en_US         1.9.0.9  COMMITTED  CD/DVD recorder man page
      cdrtools.base              1.9.0.9  COMMITTED  CD/DVD record


    ------------------------------
    Youcef Zouzi
    ------------------------------



  • 5.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 10, 2023 07:50 AM
    Edited by Douglas Probst Tue October 10, 2023 07:53 AM

    That is not the current version  of rpm.rte for AIX 7.2.  Try this one and see if it corrects the problem. Run the updvpkg after you install the newer version.

    Good luck!

     rpm.rte                4.15.1.1010  COMMITTED  RPM Package Manager



    ------------------------------
    Douglas Probst
    ------------------------------



  • 6.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 10, 2023 12:23 PM

    where I can find  ( rpm.rte   -- 4.15.1.1010) version ? 



    ------------------------------
    Youcef Zouzi
    ------------------------------



  • 7.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 10, 2023 01:44 PM

    https://www.ibm.com/resources/mrs/assets/DownloadList?source=aixbp&lang=en_US



    ------------------------------
    Douglas Probst
    ------------------------------



  • 8.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 10, 2023 12:56 PM

    I uninstalled and reinstalled both (rpm.rte, cdrtools.base ), but it doesn't help 

    root@mtlenod4(/) # lslpp -l |grep cdrtools
      cdrtools.base              1.9.0.9  COMMITTED  CD/DVD recorder
      cdrtools.base              1.9.0.9  COMMITTED  CD/DVD recorder
    root@mtlenod4(/) # lslpp -l |grep rpm.rte
      rpm.rte                4.15.1.1006  COMMITTED  RPM Package Manager
      rpm.rte                4.15.1.1006  COMMITTED  RPM Package Manager
    root@mtlenod4(/) # rpm -aq
    error: Failed to initialize NSS library
    root@mtlenod4(/) # updtvpkg
    Please wait...error: Failed to initialize NSS library
    error: Failed to initialize NSS library
    error: Failed to initialize NSS library
    error: Failed to initialize NSS library
     
    error: Failed to initialize NSS library
    root@mtlenod4(/) # rpm -aq
    error: Failed to initialize NSS library
    root@mtlenod4(/) #



    ------------------------------
    Youcef Zouzi
    ------------------------------



  • 9.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 10, 2023 01:45 PM
    Edited by Douglas Probst Tue October 10, 2023 01:45 PM

    Download rpm.rte here https://www.ibm.com/resources/mrs/assets/DownloadList?source=aixbp&lang=en_US



    ------------------------------
    Douglas Probst
    ------------------------------



  • 10.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 10, 2023 05:12 PM

    This link is not working 

    https://www.ibm.com/resources/mrs/assets/DownloadList?source=aixbp&lang=en_US

    Getting bellow error 

    Oops - that's not right!

    The page you requested cannot be displayed. 503: Service Unavailable



    ------------------------------
    Youcef Zouzi
    ------------------------------



  • 11.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Tue October 10, 2023 07:43 PM

    That was where I got it.. same link in other posts if you search at the top of this forum for the rpm.rte.4.15.1.1010

    IBMs websites suck .. 



    ------------------------------
    Douglas Probst
    ------------------------------



  • 12.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed October 11, 2023 08:03 AM

    Link is working today.. 

    https://www.ibm.com/resources/mrs/assets/DownloadList?source=aixbp&lang=en_US



    ------------------------------
    Douglas Probst
    ------------------------------



  • 13.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed October 11, 2023 08:28 AM
    I just tried the link, still not working 
     
    Is there anything else I can try ?  because it doesn't seems to me is rpm.rte version issue, as I have another server with same AIX oslevel (7200-05-06-2320) and same rpm.rte  version (4.15.1.1006) without any issue. 
     
     
    Thanks. 



    ------------------------------
    Youcef Zouzi
    ------------------------------



  • 14.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed October 11, 2023 08:37 AM

    Beats me.. let me post a new question as this should be really easy to find.. I mean it is required for DNF to work correctly.. 



    ------------------------------
    Douglas Probst
    ------------------------------



  • 15.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed October 11, 2023 09:56 AM

    Start here https://www.ibm.com/resources/mrs/assets?source=aixbp



    ------------------------------
    Douglas Probst
    ------------------------------



  • 16.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed October 11, 2023 09:57 AM

    No,  DNF not required



    ------------------------------
    Youcef Zouzi
    ------------------------------



  • 17.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed October 11, 2023 02:43 PM

    you miss understand.. rpm.rte is required for DNF so you would think it would be easier to find.. but we are off topic.. and I can't really help you if this does not solve your issue



    ------------------------------
    Douglas Probst
    ------------------------------



  • 18.  RE: Re: AIX 7143: error: Failed to initialize NSS library

    Posted Wed October 11, 2023 06:17 PM

    A quick follow-up - the issue here was missing /dev/urandom on the 5.3 system prior to the alt_disk migration.

     nss opens /dev/urandom for random number generation during rpm.rte install



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------