×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    A List of random errors and fixes for them[edit]

    NIS Resolver issue[edit]

    After setting up a new Solaris box with NIS, i was haveing issues.


    I checked NIS with:

    bash-3.00# ypcat passwd
    RPC failure on yp operation
    

    As you can see this was failing and reporting the below in messages:

    May 5 23:05:23 test-box ypcat[12361]: yp_all - transport level create failure for domain test.url.co.uk / map passwd.byname: RPC: Unknown host
    


    This is because NIS had been set up as the hosts resolver and we are not using NIS for DNS

    e.g. /etc/nsswitch.conf was set up like.

    hosts:      files dns nis
    

    A simple update fixed the issues

    e.g. /etc/nsswitch.conf should be set up like.

    hosts:      dns files
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.