Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* NIS on alpha problem history (was Re: ERRORS: do_ypcall:)
@ 1998-04-17  9:47 Wilf
  1998-04-17 11:46 ` Steven N. Hirsch
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wilf @ 1998-04-17  9:47 UTC (permalink / raw)
  To: axp-list


> I was just wondering if anyone else is having the same problem as I. 
> I have a sx164 running Redhat 5.0 (2.0.30) and I just installed all
> the updates from the Redhat Errata wed site (thru Apr 1).  Since
> then, I can not get the yp stuff to work (portmap).  When ever I try
> and access any of our yp info, like during telnet, I get the
> following errors:
> 
> do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused
>         [repeated over and over again]

Anyone know of a fix yet?

My observed status since RedHat 5.0 was released.

glibc-2.0.5-x:		broken in various ways, NIS 'compat' dead slow.
glibc-2.0.6-x:		NIS lookups use up TCP sockets - a big
			tar will run the system out of sockets... 
			Check /proc/net/sockstat 
glibc-2.0.7-x:		NIS completely and utterly broken

Same results with various portmapper versions including the latest.

Cheers,
Wilf.
-- 
      Dr Graeme Wilford         CVSSP Computer Systems Support Officer
      School of EEIT&M          Phone: +44 (0)1483 259125  Room: 16aAB22
      University of Surrey      Fax:   +44 (0)1483 259554
      Guildford                 email: G.Wilford@ee.surrey.ac.uk
      Surrey GU2 5XH, UK        http://www.ee.surrey.ac.uk/Research/VSSP/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS on alpha problem history (was Re: ERRORS: do_ypcall:)
  1998-04-17  9:47 NIS on alpha problem history (was Re: ERRORS: do_ypcall:) Wilf
@ 1998-04-17 11:46 ` Steven N. Hirsch
  1998-04-17 15:46 ` Stephen Williams
  1998-04-17 15:57 ` Ian Grant
  2 siblings, 0 replies; 5+ messages in thread
From: Steven N. Hirsch @ 1998-04-17 11:46 UTC (permalink / raw)
  To: Wilf; +Cc: axp-list



On Fri, 17 Apr 1998, Wilf wrote:

> My observed status since RedHat 5.0 was released.
> 
> glibc-2.0.5-x:		broken in various ways, NIS 'compat' dead slow.
> glibc-2.0.6-x:		NIS lookups use up TCP sockets - a big
> 			tar will run the system out of sockets... 
> 			Check /proc/net/sockstat 
> glibc-2.0.7-x:		NIS completely and utterly broken
> 
> Same results with various portmapper versions including the latest.

Same experience here.  I was foolish enough to purchase the "official"
RedHat Alpha distribution, in the thought that they might provide
technical support for it.  My week-old request for attention to this
problem has garnered nothing more than an automated acknowledgement of
receipt.

The entire glibc transition has been a debacle in my opinion.

Steve



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS on alpha problem history (was Re: ERRORS: do_ypcall:)
  1998-04-17  9:47 NIS on alpha problem history (was Re: ERRORS: do_ypcall:) Wilf
  1998-04-17 11:46 ` Steven N. Hirsch
@ 1998-04-17 15:46 ` Stephen Williams
  1998-04-17 15:57 ` Ian Grant
  2 siblings, 0 replies; 5+ messages in thread
From: Stephen Williams @ 1998-04-17 15:46 UTC (permalink / raw)
  To: G.Wilford; +Cc: axp-list


G.Wilford@ee.surrey.ac.uk said:
> glibc-2.0.7-x:		NIS completely and utterly broken 

To be more specific, NIS client completely and utterly broken. My machine
is an alpha with glibc-2.0.7 and is the NIS server for the domain. That
works fine, I can even do ypcat and ypwhich and etc.

Programs that access NIS through glibc are hosed, because glibc-2.0.7
is hosed (on the alpha).

Is anybody working on this problem?

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS on alpha problem history (was Re: ERRORS: do_ypcall:)
  1998-04-17  9:47 NIS on alpha problem history (was Re: ERRORS: do_ypcall:) Wilf
  1998-04-17 11:46 ` Steven N. Hirsch
  1998-04-17 15:46 ` Stephen Williams
@ 1998-04-17 15:57 ` Ian Grant
  2 siblings, 0 replies; 5+ messages in thread
From: Ian Grant @ 1998-04-17 15:57 UTC (permalink / raw)
  To: Wilf; +Cc: axp-list, Jon Peatfield

Someone, sometime wrote:

> I was just wondering if anyone else is having the same problem as I. 
> I have a sx164 running Redhat 5.0 (2.0.30) and I just installed all
> the updates from the Redhat Errata wed site (thru Apr 1).  Since
> then, I can not get the yp stuff to work (portmap).  When ever I try
> and access any of our yp info, like during telnet, I get the
> following errors:

Dear Wilf and original poster and any other Alpha YP users,

The problem is that glibc 2.0.7 breaks ypbind-3.3  My colleague Jon
Peatfield has found fix, albeit a temporary one. There is
also further advice from Thorsten Kukuk.

Our patch follows, and below that is Thorsten's response to our request
for help.

Have fun

Ian

From J.S.Peatfield@damtp.cam.ac.uk Fri Apr 17 16:45:59 1998
Date: Tue, 14 Apr 1998 17:13:54 +0100
From: Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>
Reply-To: hurricane-list@redhat.com
To: hurricane-list@redhat.com, Cristian Gafton <gafton@redhat.com>
Cc: J.S.Peatfield@damtp.cam.ac.uk
Subject: Re: glibc 2.0.7-6 and yp on alpha 
Resent-Date: 14 Apr 1998 16:14:12 -0000
Resent-From: hurricane-list@redhat.com
Resent-cc: recipient list not shown: ;

The following patch to ypbind-3.3 makes it work with glibc-2.0.7 on the alpha 
platform, I don't know yet if anything else has a different definition of 
binding stuff:

--cut-here--
--- rpcsvc/yp_prot.h.orig       Tue Apr 14 16:44:13 1998
+++ rpcsvc/yp_prot.h    Tue Apr 14 16:45:30 1998
@@ -247,7 +247,7 @@
 struct ypbind_resp {
        enum ypbind_resptype ypbind_status;
        union {
-               unsigned long ypbind_error;
+               u_int ypbind_error;
                struct ypbind_binding ypbind_bindinfo;
        } ypbind_respbody;
 };
--cut-here--

this definition is compatible with that in glibc.  Perhaps we really need to 
put these definitions only in one header file so we don't get this type of 
confusion when one is different...  I'll put the RPM/SRPM up if anyone want 
them...

Anyway yp is now working on alpha again!

 -- Jon


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail hurricane-list-request@redhat.com with 
                       "unsubscribe" as the Subject.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS on alpha problem history (was Re: ERRORS: do_ypcall:)
@ 1998-04-17 18:21 Dumb Kid
  0 siblings, 0 replies; 5+ messages in thread
From: Dumb Kid @ 1998-04-17 18:21 UTC (permalink / raw)
  To: G.Wilford, I.A.N.Grant; +Cc: axp-list, J.S.Peatfield

YES!! The NIS works perfectly now!! One thing I want to point
out is the glibc patch I got from ftp.kernel.org will turn the
file yp_prot.h into a zero byte file.

However, if you untar the clean ypbind-3.3.tar.gz and keep a
backup copy of yp_prot.h first before patching the glibc-patch
and then restore the original yp_prot.h, then do the patch 
below manually. It should compiles and run perfectly. It's
a LOT faster too!! Thanks a lot guys.

>--cut-here--
>--- rpcsvc/yp_prot.h.orig       Tue Apr 14 16:44:13 1998
>+++ rpcsvc/yp_prot.h    Tue Apr 14 16:45:30 1998
>@@ -247,7 +247,7 @@
> struct ypbind_resp {
>        enum ypbind_resptype ypbind_status;
>        union {
>-               unsigned long ypbind_error;
>+               u_int ypbind_error;
>                struct ypbind_binding ypbind_bindinfo;
>        } ypbind_respbody;
> };
>--cut-here--


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-04-20  1:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-17  9:47 NIS on alpha problem history (was Re: ERRORS: do_ypcall:) Wilf
1998-04-17 11:46 ` Steven N. Hirsch
1998-04-17 15:46 ` Stephen Williams
1998-04-17 15:57 ` Ian Grant
  -- strict thread matches above, loose matches on Subject: below --
1998-04-17 18:21 Dumb Kid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox