From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Norbert Kasperczyk-Borgmann Newsgroups: gmane.os.tru64.managers Subject: Strange Problem with NIS/YP Date: Tue, 25 Mar 2003 16:11:46 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3E8071B2.1060709@informatik.haw-hamburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048605140 27903 80.91.224.249 (25 Mar 2003 15:12:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2003 15:12:20 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Mar 25 16:12:17 2003 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 18xq5s-0007EL-00 for ; Tue, 25 Mar 2003 16:12:04 +0100 Original-Received: (qmail 25972 invoked by uid 5); 25 Mar 2003 15:11:54 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25963 invoked by uid 49493); 25 Mar 2003 15:11:54 -0000 Original-Received: from nkb@informatik.haw-hamburg.de by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.3/5.0):. Processed in 0.613236 secs); 25 Mar 2003 15:11:54 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 25 Mar 2003 15:11:54 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCB008R68VQS5@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 Mar 2003 10:11:53 -0500 (EST) Original-Received: from wombat.is.haw-hamburg.de ([141.22.192.33]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCB00BDT8VO0L@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 Mar 2003 10:11:49 -0500 (EST) Original-Received: from fbi010.informatik.haw-hamburg.de (fbi010.informatik.haw-hamburg.de [141.22.10.10]) by wombat.is.haw-hamburg.de (8.11.6+Sun/8.11.0) with ESMTP id h2PFBlH07252 for ; Tue, 25 Mar 2003 16:11:47 +0100 (MET) Original-Received: from informatik.haw-hamburg.de by fbi010.informatik.haw-hamburg.de (8.11.1/1.1.22.3/10Aug00-0433PM) id h2PFBkH0000381198; Tue, 25 Mar 2003 16:11:47 +0100 (MET) Original-To: tru64-unix-managers@ornl.gov X-Accept-Language: en, en-us User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.0.2) Gecko/20021120 Netscape/7.01 Xref: main.gmane.org gmane.os.tru64.managers:3780 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3780 Hello Guru's, yes, I think there is a tough nut to crack: After a upgrade from 4.0G (with a direct step over version 5.1) to 5.1B PK1 if have a strange problem with NIS/YP. 1.) When a user login to the NIS-Master and try to change the passwort the follwing happens: NIS-Master>yppasswd Changing NIS password for USERNAME Old NIS password: New password: Retype new password: RPC: Timed out Your NIS passwd may or may not be changed NIS-Master> 'USERNAME' is the login of the current user. The passwort is allways changed. But for a short time the NIS passwort service is not available! After inserting (even as root) the command 'ypcat passwd' the answer is: 'no such map in server's domain'. It's about 10 until 15 seconds, but long enough that some user can't login or a mail isn't receiving because the user is unknown in this situation. 2.) When I login at the NIS-Slave and su to root I should get the NIS-maps without any problems. But the following is happen (as an example): NIS-Slave>ypxfr -a d passwd.byname ypxfr: bind_to_server clnt_call error: RPC: Timed out The NIS-map is allways updated but it takes a long time. Here are the processes at the NIS-Master: PID /usr/sbin/ypbind -s -S swlnis,NIS_MASTER,NIS_SLAVE PID /usr/sbin/rpc.yppasswdd /var/yp/src/passwd -m passwd DIR= /var/yp/src PID /usr/sbin/ypserv -a d PID /usr/sbin/rpc.yppasswdd /var/yp/src/passwd -m passwd DIR= /var/yp/src PID /usr/sbin/ypxfrd There are always two yppasswdd's, but I think that's ok. The processes at the NIS-SLAVE are: PID /usr/sbin/ypserv -a d PID /usr/sbin/ypbind -s -S swlnis,NIS_SLAVE,NIS_MASTER The call 'rpcinfo -p NIS_MASTER' gives: 100004 2 udp 995 ypserv 100004 2 tcp 996 ypserv 100004 1 udp 995 ypserv 100004 1 tcp 996 ypserv 100007 2 tcp 1003 ypbind 100007 2 udp 1005 ypbind 100007 1 tcp 1003 ypbind 100007 1 udp 1005 ypbind 100009 1 udp 999 yppasswdd 100069 1 udp 604 ypxfrd 100069 1 tcp 606 ypxfrd and 'rpcinfo -p NIS_SLAVE' gives: 100004 2 udp 896 ypserv 100004 2 tcp 897 ypserv 100004 1 udp 896 ypserv 100004 1 tcp 897 ypserv 100007 2 tcp 903 ypbind 100007 2 udp 905 ypbind 100007 1 tcp 903 ypbind 100007 1 udp 905 ypbind I haven't changed the NIS-configuration neither at the Master nor at the Slave after the upgrade. I searched the archive and found nearly the same question without an answer. After contacting the people he wrote that he still lives with the 'yppasswd' problem and that it also exist after a freshly install of version 5.1A. Is there someone out who can give me a hint for this problem? Any help is wellcome and I'll give a summary. Yours sincerely Norbert -- Norbert Kasperczyk-Borgmann Hochschule fuer Angewandte Wissenschaften Hamburg - Hamburg University of Applied Sciences - Fachbereich E/I, Softwarelabor, Raum 1186 Berliner Tor 7 D-20099 Hamburg, Germany phone: +49 40 42875-8417 fax : +49 40 2803770 email: nkb@informatik.haw-hamburg.de