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

* Re: PC164 and YP/NIS
  1997-08-26 23:29 Andreas Welbers
@ 1997-08-27  0:00 ` Michael Neef
  1997-08-27  1:07 ` Eric Woudenberg
  1997-08-27  8:17 ` D. Unger
  2 siblings, 0 replies; 8+ messages in thread
From: Michael Neef @ 1997-08-27  0:00 UTC (permalink / raw)


Hi,

> ...
> 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.
> ...

same kind of problems here.

In addition, when ypbind on the Alpha is running for some hours or days,  
suddenly there is a flood of retransmissions between NIS server and the Alpha  
until ypbind is killed.

---
Michael Neef, System-Administrator
Ruhr-Universitaet Bochum, Institut fuer Neuroinformatik, ND 03/68
D-44780 Bochum, Germany
EMail: Michael.Neef@neuroinformatik.ruhr-uni-bochum.DE

--
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-08-26 23:29 Andreas Welbers
  1997-08-27  0:00 ` Michael Neef
@ 1997-08-27  1:07 ` Eric Woudenberg
  1997-08-27  8:17 ` D. Unger
  2 siblings, 0 replies; 8+ messages in thread
From: Eric Woudenberg @ 1997-08-27  1:07 UTC (permalink / raw)


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
with RH 4.2, since it's functions are built into the C library, but I
can't figure out how to enable that mode of use.

My temporary work around is to make /etc/passwd local and hard mount
all the important automount filesystems. I'd really like to find a a
proper fix though. If you find one, please pass it on.

Regards,
Rick Woudenberg

--
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
       [not found] <9708270107.AA07558@batu.hip.atr.co.jp>
@ 1997-08-27  3:26 ` Stefan Boresch
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Boresch @ 1997-08-27  3:26 UTC (permalink / raw)


> 
> 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

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.

Hope that helps (in my opinion the problem is not solved, but
at this stage I can live with it)

Stefan

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...

--
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-08-26 23:29 Andreas Welbers
  1997-08-27  0:00 ` Michael Neef
  1997-08-27  1:07 ` Eric Woudenberg
@ 1997-08-27  8:17 ` D. Unger
  2 siblings, 0 replies; 8+ messages in thread
From: D. Unger @ 1997-08-27  8:17 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?
> 
 I use the same machine (Vobis Alpha, RH 4.2 with kernel 2.0.30 
 compiled from the original linux-2.0.30 sources with the 
 alpha-patches-2.0.30-0.1.gz from Jay, although I didn't have 
 NIS-problems when using the orig. RH4.2 kernel before upgrading, 
 256MB RAM, UW-SCSI)
 and use the machine as a NIS-client (Solaris machines are master and slave)
 WITHOUT PROBLEMS so far.
 I distribute passwd, group, amd.home, aliases and a few more 
 and all these reach the alpha.
 Every few hours
   ypbind[2270]: unknown: RPC: Unable to send; \
                 errno = Resource temporarily unavailable
 is logged in /var/log/messages ONCE and
 the processes running after starting ypbind as shown below are:
	rpc.yppasswdd, ypbind (master), ypbind (slave) 
 I removed the "+" from the files passwd and group as they don't seem
 to be necessary and use the order files nis in nsswitch.conf for passwd and Co.

 All I did was adding
	NIS_DOMAIN=tfa.th-darmstadt.de
 in /etc/sysconfig/network and sligthly changing 
 /etc/rc.d/init.d/ypbind.init:

	# Source function library.
	. /etc/rc.d/init.d/functions
	
>	# eingefuegt und NIS_DOMAIN in network gesetzt (20.6.97, D.U.)
>	# getting the YP-Domainname
>	. /etc/sysconfig/network
	
	# See how we were called.
	case "$1" in
	  start)
	
>		echo -n "Setting the domainname to: ${NIS_DOMAIN}"
>		domainname ${NIS_DOMAIN}
>		echo done
		echo -n "Starting YPBIND services: "
		daemon ypbind
		echo "...done"
		touch /var/lock/subsys/ypbind
		;;
	  stop)
		echo -n "Stopping YPBIND services: "
		killproc ypbind
		rm -f /var/lock/subsys/ypbind
		echo "... done"
		;;
	  *)
		echo "*** Usage: ypbind {start|stop}"
		exit 1
	esac
	
	exit 0

-- 
                                \\\|///
                               \\ ~ ~ //
                               (/ @ @ /)
 ----------------------------oOOo-(_)-oOOo-------------------------------
|                                                                        |
|   Ditmar Unger                           E-mail:                       |
|   Fachgebiet Turbomaschinen              unger@tfa.th-darmstadt.de     |
|   und Fluidantriebstechnik                                             | 
|   TH Darmstadt                           Tel.  +49  (0) 6151 16-2603   |
|   Petersenstr. 30                        Fax.                16-5559   |
|   D - 64287 Darmstadt                                                  |
|                                                                        |
|   WWW:	http://www.th-darmstadt.de/fb/mb/tfa/Welcome.html        |
 ------------------------------------------------------------------------

--
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-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

* Re: PC164 and YP/NIS
       [not found] <9709081804.AA27754@typhon.ind.rwth-aachen.de>
@ 1997-09-08 23:38 ` Stefan Boresch
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Boresch @ 1997-09-08 23:38 UTC (permalink / raw)


I believe for ypclients, I got the same error.

> 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:
> 

However, for me using ypbind-3.3 did the trick (and that compiled
out of the box).  My knowledge of Unix/Make/C is way too small that
I could get anything to compile if it doesn't work as 'announced'...

Sorry that I am not of more help.  In general, I agree: NIS and (see
the somewhat related thread) the r- suite of programs seems to
be in bad shape on Linux/Alpha.

Stefan

--
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

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-09-08 18:04 PC164 and YP/NIS Andreas Welbers
     [not found] <9709081804.AA27754@typhon.ind.rwth-aachen.de>
1997-09-08 23:38 ` Stefan Boresch
  -- strict thread matches above, loose matches on Subject: below --
1997-08-27  9:25 Ronny Ranerup
     [not found] <9708270107.AA07558@batu.hip.atr.co.jp>
1997-08-27  3:26 ` Stefan Boresch
1997-08-26 23:29 Andreas Welbers
1997-08-27  0:00 ` Michael Neef
1997-08-27  1:07 ` Eric Woudenberg
1997-08-27  8:17 ` D. Unger

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