From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Pedro AF. Cunha" Newsgroups: gmane.os.tru64.managers Subject: Nis Service Problem Date: Mon, 03 Mar 2003 19:06:14 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1046718396 11780 80.91.224.249 (3 Mar 2003 19:06:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2003 19:06:36 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18pvGj-00033X-00 for ; Mon, 03 Mar 2003 20:06:33 +0100 Original-Received: (qmail 15264 invoked by uid 5); 3 Mar 2003 19:06:48 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15249 invoked by uid 49493); 3 Mar 2003 19:06:48 -0000 Original-Received: from Pedro.Cunha@decsis.pt by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(4.2/5.0):. Processed in 0.600135 secs); 03 Mar 2003 19:06:48 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 3 Mar 2003 19:06:47 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HB600E7CT3A6M@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Mar 2003 14:06:47 -0500 (EST) Original-Received: from fep06-svc.mail.telepac.pt (fep06-svc.mail.telepac.pt [194.65.5.211]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HB60026RT2TG1@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 03 Mar 2003 14:06:33 -0500 (EST) Original-Received: from decsissrv.decsis.net ([213.13.134.158]) by fep06-svc.mail.telepac.pt (InterMail vM.5.01.04.13 201-253-122-122-113-20020313) with ESMTP id <20030303190628.JGKC8890.fep06-svc.mail.telepac.pt@decsissrv.decsis.net> for ; Mon, 03 Mar 2003 19:06:28 +0000 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Importance: high Priority: Urgent X-Priority: 1 Thread-Topic: Nis Service Problem Thread-Index: AcLht4j30ox3Zzr4R2WiOm/OzOhezQAAFwkA content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:3499 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3499 Hi Gurus, I've setup a highly available disk Nis Service in Tru64 V4.0F and ASE V1.6, with two members, that is configured in this way: A disk service that is mounted in /nis, and contains all the structure below /var/yp. A link from /var/yp to /nis. If the node is running the service is configured as master, if not is configured as client. A action script that uses the script /var/ase/examples_supported to start and stop the service and reconfigures the server as Nis master or client. The passwd, group and prpasswd maps are being distributed. This processes are running on the Nis master: 22703 ?? I < 0:12.74 /usr/sbin/rpc.yppasswdd /var/yp/src/passwd /var/yp/src/prpasswd -m passwd prpasswd 22786 ?? S < 3:51.70 /usr/sbin/ypserv -a b 22966 ?? I < 0:00.02 /usr/sbin/ypbind -s -S domainname,servicename And the problem is: In one node, which is the node that was used to create the service, if I run the usermod everything works fine, but when the service is relocated to the other node and the same command is run I get the following message: usermod: Unable to update the master database. Not on NIS Master machine. Why? Any hints? Many Thanks, Pedro Cunha.