From: D. Unger <unger@tfa.th-darmstadt.de>
Subject: Re: PC164 and YP/NIS
Date: Wed, 27 Aug 1997 10:17:55 +0200 (MET DST) [thread overview]
Message-ID: <199708270817.KAA26361@luchs.ttm.maschinenbau.th-darmstadt.de> (raw)
In-Reply-To: <9708262329.AA14069@typhon.ind.rwth-aachen.de>
>
> 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
next prev parent reply other threads:[~1997-08-27 8:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
[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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox