From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20d03d0b3f4a32795f516d9e254b999a.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9709081804.AA27754@typhon.ind.rwth-aachen.de> Date: Mon, 8 Sep 1997 20:04:00 +0200 From: Andreas Welbers Subject: Re: PC164 and YP/NIS 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