more tru64 5.1A NIS problem

From: Dirk Kleinhesselink (dkleinh_at_phy.ucsf.edu)
Date: 05/23/03

  • Next message: Tom Leffingwell: "scu not seeing disks that the console does"
    Date: Fri, 23 May 2003 09:16:09 -0700 (PDT)
    To: tru64-unix-managers@ornl.gov
    
    

    Yesterday I'd submitted a post regarding a problem I'm having with NIS on
    a Tru64 5.1A cluster system. My original problem was that I would get
    the following error when updating NIS files on my master (and only NIS
    server):

    updated netgroup
    cant bind to master for keck-center hosts.byname no such map in server's
    domain will use slave copy!
    Status received from ypxfr on keckcenter:
            Map successfully transferred, but ypxfr couldn't send "Clear
    map" to ypserv

    I don't use the NIS hosts map, but I did create an empty hosts file in my
    /var/yp/src directory because I'd read that would eliminate that error,
    but it did not. I do not have any NIS slaves, but I believe the problems
    began when I tried to configure an NIS slave on a linux machine but it did
    not work, so I wanted to return to just the single NIS (master) server.

    I had one reply from someone, directing me to the man page for
    manual_nis_setup. I decided to try to remove the ypservers map that I had
    been created when I was trying to add a slave server and so I removed the
    ypservers.pag and ypservers.dir files in my /var/yp/keck-center/ maps
    directory. I then created an empty one using:
    /var/yp/makedbm - /var/yp/keck-center/ypservers
    <Ctrl/d>

    Now, however, I am getting the following problem when I run "make" to
    update my NIS maps:

    # make
    updated passwd
    cant bind to master for keck-center hosts.byname no such map in server's
    domain will use slave copy!
    Can't build server list from map "ypservers". Reason: no more records in
    map database.
    cant bind to master for keck-center hosts.byname no such map in server's
    domain will use slave copy!
    Can't build server list from map "ypservers". Reason: no more records in
    map database.
    pushed passwd

    I added a new user and if I run: ypcat passwd | grep <user>
    I can find the record for them, but if I do: finger <user>

    I get the message:
    Login name: <user> In real life: ???

    My tru64 5.1A cluster has 2 members. I've also tried re-making the
    ypservers file with the names of my 2 cluster members and the cluster
    alias and I am still getting the error.

    Any help ?

    Thanks,

    Dirk

    Dirk Kleinhesselink
    System and Network Administrator
    Keck Center for Integrative Neuroscience
    University of California, San Francisco


  • Next message: Tom Leffingwell: "scu not seeing disks that the console does"

    Relevant Pages

    • Re: using NIS for aliases, virtusertable, genericstable
      ... I did replaced the hash with ... nis with the lines looking as what u posted. ... 'nis' and the name of your NIS map. ... FEATURE(`virtusertable', `nis virtusers') ...
      (comp.mail.sendmail)
    • Re: 10.3 nis autofs problem
      ... The NIS server has maps for passwd and auto.home etc. ... The problem is that ypbind binds to the NIS server and ypcat -k auto.home reveals the auto.home map, ... this leads me to think that the automounter is not using the NIS map for auto.home. ...
      (alt.os.linux.suse)
    • Re: 10.3 nis autofs problem
      ... The NIS server has maps for passwd and auto.home etc. ... The problem is that ypbind binds to the NIS server and ypcat -k auto.home reveals the auto.home map, ... this leads me to think that the automounter is not using the NIS map for auto.home. ...
      (alt.os.linux.suse)
    • Re: NIS maps?
      ... Subject: NIS maps? ... > Is there any way to limit which hosts can access a given map from NIS? ... > want server C to see map B. Is that possible? ...
      (Focus-SUN)
    • Re: Problem with NIS on Solaris 8
      ... Tray to add NIS master IP addr and hostname to NIS slave machine's ... > but the slave server never sees them. ...
      (comp.unix.solaris)