[100212] in RedHat Linux List
NIS server in Linux is *bad*
daemon@ATHENA.MIT.EDU (Sean Harding)
Wed Nov 18 20:10:21 1998
Date: Wed, 18 Nov 1998 17:12:53 -0800
From: Sean Harding <sharding@gutenberg.uoregon.edu>
Reply-To: Sean Harding <sharding@oregon.uoregon.edu>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
OK, I don't know if it's just me, but I'm having terrible problems with
using Linux as an NIS server.
Until a few weeks ago, I had a Sparc 1+ running SunOS 4.1.4 as the NIS
server (about 6 SunOS clients and 6 Linux clients). It worked flawlesly
other than being slow. Then I made the mistake of migrating the thing over
to a Linux machine (kernel 2.0.32). I've had endless problems ever since.
Sometimes ypserv will basically stop working. All clients get "connection
refused." Often, I'll see something like this:
[root@present /root]# ps auxw | grep yp
root 192 0.0 12.1 8052 7656 ? S Nov 8 5:51 ypserv -b
root 204 0.0 0.7 940 456 ? S Nov 8 0:00 rpc.ypxfrd
root 215 0.0 1.0 1024 660 ? S Nov 8 0:00 rpc.yppasswdd -D
/var/
yp/src
root 230 0.0 0.6 848 428 ? S Nov 8 0:00 ypbind (master)
root 237 0.0 0.8 924 556 ? S Nov 8 0:00 ypbind (slave)
root 26567 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26594 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26595 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26602 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26603 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26610 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26611 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26618 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26619 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26626 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26627 0.0 12.1 8044 7644 ? S 14:19 0:00 ypserv -b
root 26669 0.0 12.1 8052 7656 ? S 14:19 0:00 ypserv -b
root 26670 0.0 12.1 8052 7656 ? S 14:19 0:00 ypserv -b
root 26677 0.0 12.1 8052 7656 ? S 14:19 0:00 ypserv -b
root 26678 0.0 12.1 8052 7656 ? S 14:19 0:00 ypserv -b
root 26683 0.0 12.1 8052 7656 ? S 14:19 0:00 ypserv -b
root 26684 0.0 12.1 8052 7656 ? S 14:19 0:00 ypserv -b
Other times, ps will look normal, but it will just not be working.
Sometimes it will come back by itself, sometimes it needs a restart or
even a reboot to get things to the right state. Sometimes things will be
working but just be very, very slow. The problem will go away as randomly
as it came.
I updated to the newest yo* rpms I could find:
yp-clients-2.2-7
ypserv-1.3.6-1
ypbind-3.3-9
yp-tools-2.0-1
It is still unusable.
I'm about ready to install FreeBSD or something else, but I'm hoping that
someone can save me the trouble by giving me some tips on making this work
better (or at least a better way to track exactly what is happening since
it almost never logs anything useful).
TIA.
sean
--
Sean Harding sharding@oregon.uoregon.edu|"art may imitate life
http://gladstone.uoregon.edu/~sharding/ | but life imitates t.v."
Consulting: http://www.efn.org/~seanh/ | --ani difranco
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.