Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 10:11:34 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        patl@Phoenix.Volant.ORG
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Urgent: yppush hangs when pushing to Solaris8
Message-ID:  <20010617101134.A61981@curry.mchp.siemens.de>
In-Reply-To: <ML-3.4.991856869.2102.patl@asimov.phoenix.volant.org>; from patl@Phoenix.Volant.ORG on Wed, Jun 06, 2001 at 12:47:49PM -0700
References:  <ML-3.4.991856869.2102.patl@asimov.phoenix.volant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Try this (discovered by John Polstra):

===================================================================
RCS file: /usr/local/www/cvs/src/usr.sbin/yppush/yppush_main.c,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -p -r1.11 -r1.11.2.1
--- src/usr.sbin/yppush/yppush_main.c	1999/08/28 01:21:09	1.11
+++ src/usr.sbin/yppush/yppush_main.c	2001/06/07 04:58:35	1.11.2.1
@@ -32,7 +32,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-  "$FreeBSD: /usr/local/www/cvs/src/usr.sbin/yppush/yppush_main.c,v 1.11 1999/08/28 01:21:09 peter Exp $";
+  "$FreeBSD: /usr/local/www/cvs/src/usr.sbin/yppush/yppush_main.c,v 1.11.2.1 2001/06/07 04:58:35 jdp Exp $";
 #endif /* not lint */
 
 #include <errno.h>
@@ -651,6 +651,7 @@ main(argc,argv)
 	sigaddset(&sa.sa_mask, SIGALRM);
 	sigaddset(&sa.sa_mask, SIGINT);
 	sa.sa_handler = async_handler;
+	sa.sa_flags = 0;
 
 	sigaction(SIGIO, &sa, NULL);
 


For more info you can look at http://www.freebsd.org/cgi/query-pr.cgi?pr=27457
or email me.  Hope this helps,

	-Andre



On Wed, 06-Jun-2001 at 12:47:49 -0700, patl@Phoenix.Volant.ORG wrote:
> I have a customer with an NIS master set up on FreeBSD 4.1 and a slave
> on a Netra X1 running Solaris8.  When I try to yppush from the server,
> it fails after a long (5 min+) hang.  Here's a log (with actual host/
> domain names obscured):
> 
> root@fbsd.1006>yppush -vvv netgroup.byhost
> yppush: initiating transfer: netgroup.byhost -> fbsd.my.dom (transid =
> 991850786)
> yppush: fbsd.my.dom has been called
> yppush: checking return status: transaction ID: 991850786
> yppush: transfer of map netgroup.byhost to server fbsd.my.dom failed
> yppush: status returned by ypxfr: Master's version not newer
> yppush: initiating transfer: netgroup.byhost -> x1.my.dom (transid = 991850787)
> yppush: x1.my.dom has been called
> yppush: all jobs dispatched
> yppush: x1.my.dom has not responded
> yppush: fbsd.my.dom has responded
> yppush: 1 transfer still pending
> yppush: timed out
> yppush: warning: exiting with transfer to x1.my.dom (transid = 991850787) still
> pending
> 
> 
> Getting a suitable log from the Solaris side appears to be more difficult.
> A manual ypxfr yields:
> 
> root@x1.28> /usr/lib/netsvc/yp/ypxfr -f netgroup.byhost
> ypxfr: couldnot get fbsd.my.dom address
> (info) fbsd.my.dom nis.dom netgroup.byhost ypxfrd getdbm failed (reason = -1)
> -- using ypxfr
> 
> 
> Note that fbsd.my.dom is explicitly in the /etc/hosts file on the x1;
> and, of course, it is in both the NIS and DNS maps and the machines
> are able to communicate with no problems.
> 
> I do not have ypxfrd running on the FreeBSD box because of the
> incompatability between *BSD and Sun implementations.
> 
> 
> If we can't get this push fixed, they will probably abandon the use of
> FreeBSD...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617101134.A61981>