[HPADM] Refreshing NIS ypservers map

From: Julian Rogan (Julian.Rogan_at_Unilever.com)
Date: 05/24/05

  • Next message: Yoho, Cindy: "[HPADM] Corrput filesystem"
    Date: Tue, 24 May 2005 10:35:32 +0100 (GMT Daylight Time)
    To: "hpux-admin@dutchworks.nl" <hpux-admin@dutchworks.nl>
    
    

    Hi,
    I am running the NIS master on HPUX v 11.0

    I have just modified the ypservers map via the usual method:

    ypcat -k ypservers >/tmp/ypservers.map

    Modified /tmp/ypservers.map (in this case server deletions) and then made
    the changes live.

    cat /tmp/ypservers.map |makedbm - /var/yp/`domainname`/ypservers

    Running ypcat -k ypservers at this point should show the changes however
    the servers I deleted are still being displayed.
    If I run strings on the map itself in /var/yp/domainname/ypservers.pag
    then the servers I deleted are not there.
    I have tried stopping and starting the ypserv daemons with no change.

    Is there any way I can make this change live without rebooting or have I
    missed something>

    Many thanks in advance for assist,

    Julian

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Yoho, Cindy: "[HPADM] Corrput filesystem"

    Relevant Pages

    • IDMU ypservers Map Broken?
      ... I am having trouble with my 2003 R2 IDMU Server for NIS. ... going into my ypservers map but spaces, ... Adding more servers just adds more blank lines in "ypcat ypservers". ...
      (microsoft.public.windows.server.active_directory)
    • format for ypservers file
      ... My filesystem ypservers file is empty but a "ypcat ypservers" gives ... If I dump my ypservers map it ... but the 192.168.1.139 is not the address of a master, ...
      (comp.os.linux.setup)