Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* PC164 and YP/NIS
@ 1997-08-26 23:29 Andreas Welbers
  1997-08-27  0:00 ` Michael Neef
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andreas Welbers @ 1997-08-26 23:29 UTC (permalink / raw)


Hello!

I am using a Vobis PC164 Alpha with Redhat 4.2, an I have really big
problems to get the NIS/YP-Support running.

I can start ypbind without any problems, but if I try to use any
yp-client I get thousands of error messages.

If I try to login on another shell as root (local passwd) or any other
person (using yp) I get an memory violation error.
If I start any other yp-client like ypcat or ypwhich I get the right
context (for example the whole output of ypcat passwd) of the
concerning yp-map and the following error message:

yp_all: clnt_call: RPC: (unknown error code); s1 = 0, s2 = 0
Illegal Instruction (core dumped).

Any help is really welcome! Has anyone similar problems and/or
solutions?

Thanks for all!

Andreas

-- 
======== ANDREAS WELBERS === eMail: aw@ind.rwth-aachen.de ========
Office: Institute of Communication Systems and Data Processing
        Muffeter Weg 3, 52072 Aachen, Germany
        fon: +49/241/806962     fax: +49/241/8888186
	w3: http://www.ind.rwth-aachen.de/~aw
=========================/\/\/\/\/\/\/\/\=========================

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <9708270107.AA07558@batu.hip.atr.co.jp>]
* Re: PC164 and YP/NIS
@ 1997-08-27  9:25 Ronny Ranerup
  0 siblings, 0 replies; 8+ messages in thread
From: Ronny Ranerup @ 1997-08-27  9:25 UTC (permalink / raw)


>I've heard that you don't need (read shouldn't use) ypbind
>with RH 4.2, since it's functions are built into the C library,

At least on Intel boxes this is true. All we have running is rpc.portmap and 
a cacheing named. I wouldn't think it's any different on Alphas, but I won't know
for a few days. I'll get a 533Mhz with 10ns external mem this week...
A thing of beauty... Truly...

/ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: PC164 and YP/NIS
@ 1997-09-08 18:04 Andreas Welbers
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Welbers @ 1997-09-08 18:04 UTC (permalink / raw)


Stefan Boresch writes:
 > > 
 > > Andreas Welbers writes:
 > > 
 > > >I am using a Vobis PC164 Alpha with Redhat 4.2, an I have really big
 > > >problems to get the NIS/YP-Support running.
 > > 
 > > I have exactly the same problems. So far no clues from Redhat or
 > > axp-list. I've heard that you don't need (read shouldn't use) ypbind

You need ypbind using Alpha PCs! Only the Intel version of Redhat has
build in support for NIS/YP in libc!
 > 
 > etc.
 > 
 > Had the same problem although I didn't debug as much.  After a
 > short time (10 min, 30 min), ypbind would die with a segment
 > violation.  Things vastly improved after upgrading to the latest
 > ypbind source (as found, e.g., on sunsite -- not an rpm), this
 > is a couple of minor version numbers ahead of the Redhat RPM.
 > Now you get once in a while messages saying that no NIS server
 > for domain xyz was found, but the system continues to function.
 > Note, however, that I am only successful for passwd and group,
 > not for things like hosts.equiv -- these maps seem to be 
 > ignored.
 >

I got the last version of yp-clients Version 2.2-970318! But if I try
to compile the whole thing I get the following error message:

for d in ypbind domainname ypwhich ypcat ypmatch yppoll ypset yppasswd; do \
  (make -C $d ) || exit 1; \
done
make[1]: Entering directory `/tmp/ypclients-2.2-970318/ypbind'
gcc -ansi -pedantic  -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wnested-externs -O2	 -I. -D_GNU_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Dlinux -D_XOPEN_SOURCE -c slave.c
In file included from /usr/include/socketbits.h:2,
                 from /usr/include/sys/socket.h:34,
                 from slave.c:3:
/usr/include/linux/socket.h:53: warning: ANSI C forbids zero-size array `cmsg_data'
slave.c: In function `bindto_server':
slave.c:371: `xdr_domainname' undeclared (first use this function)
slave.c:371: (Each undeclared identifier is reported only once
slave.c:371: for each function it appears in.)
slave.c: In function `ping_server':
slave.c:403: `xdr_domainname' undeclared (first use this function)
slave.c:411: warning: passing arg 2 of `clnt_sperror' discards `const' from pointer target type
slave.c: In function `broadcast':
slave.c:466: `xdr_domainname' undeclared (first use this function)
make[1]: *** [slave.o] Error 1
make[1]: Leaving directory `/tmp/ypclients-2.2-970318/ypbind'
make: *** [subdir] Error 1

No matter how to solve this problem!

> 
 > PS: This of course assumes that you set up all the preliminaries for a
 > NIS slave correctly, i.e. your domainname gets defined somewhere, etc.
 > (Interestingly, there is a patch for this for the i386 version of RH
 > 4.2, but not for Alpha) The NIS slave system as it comes out of the
 > box with RH 4.2 for Alpha is in my humble opinion totally broken...

I have setup the whole NIS-System correctly!

I have also a problem using rcp pn the Alpha PC164! Somebody said it
could be the network card but I tried SMC Ultra, WD800* and 3COM 3C509
and there was always the same problem:

NIS ans rcp doesn't really function! - I can make a "niscat hosts or
passwd" and get the right answer but then the system crashs with the
following error:

yp_all: clnt_call: RPC (unknown error code); s1 = 0 s2 = 0
Illegal Instruction (core dumped)

and after that cron says:

crond: memory violation at pc=155556c6c58 rp=155556e2610 (bad address
= 74726f6b610072)

Any idea?

Is it a problem to use only 64MB memory? Must we use 128MB?

Thanks for help!

Andreas

-- 
======== ANDREAS WELBERS === eMail: aw@ind.rwth-aachen.de ========
Office: Institute of Communication Systems and Data Processing
        Muffeter Weg 3, 52072 Aachen, Germany
        fon: +49/241/806962     fax: +49/241/8888186
	w3: http://www.ind.rwth-aachen.de/~aw
=========================/\/\/\/\/\/\/\/\=========================

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <9709081804.AA27754@typhon.ind.rwth-aachen.de>]

end of thread, other threads:[~1997-09-08 23:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-26 23:29 PC164 and YP/NIS Andreas Welbers
1997-08-27  0:00 ` Michael Neef
1997-08-27  1:07 ` Eric Woudenberg
1997-08-27  8:17 ` D. Unger
     [not found] <9708270107.AA07558@batu.hip.atr.co.jp>
1997-08-27  3:26 ` Stefan Boresch
  -- strict thread matches above, loose matches on Subject: below --
1997-08-27  9:25 Ronny Ranerup
1997-09-08 18:04 Andreas Welbers
     [not found] <9709081804.AA27754@typhon.ind.rwth-aachen.de>
1997-09-08 23:38 ` Stefan Boresch

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