NFS problem: rpc.statd cannot talk to remote statd

NFS problem: rpc.statd cannot talk to remote statd

Post by Helmut Leininge » Tue, 25 Nov 1997 04:00:00



Hi gurus,

I have an AIX system running AIX 4.1.5. To this system we have mounted
(via NFS) a remote file system residing on a Linux system. From the AIX
system we can see the files, we can also read/write/create them.

When I run a Microfocus Cobol program (on the AIX system) that wants to
use a file on the mounted Linux file system, the program hangs during
the OPEN of the file. On the AIX console a message like "rpc.statd
cannot talk to remote statd daemon" is issued in a loop.

What do I have to do to start "statd" and "lockd" on the Linux system?
Or is there a way to manage this from the AIX system?

Note:
The same program works ok using two AIX systems.
When I terminate statd to avoid the error messages and the blocking, the
OPEN in the program fails with "Too many locks".

Regards

Helmut Leininger
Bull AG
UNIX Support

 
 
 

NFS problem: rpc.statd cannot talk to remote statd

Post by Dave Bro » Wed, 26 Nov 1997 04:00:00


: What do I have to do to start "statd" and "lockd" on the Linux system?
: Or is there a way to manage this from the AIX system?

Hi.

You only need to run statd, or at least you do when connecting Linux and
SunOS together.  Statd is just a status monitor, it interacts with lockd
on the local machine to provide crash and recovery functions for the
locking services on NFS.

It allows you to perform commands like:-

             rup mouseorgan

Which returns the uptime of the host known as mouseorgan.

There is a rpc.statd daemon for Linux, its on either sunsite or tsx-11, I
sorry I forget which.  If you prefer I got a version here which I could
email to you (uuencoded of course ;->)

Yours,
Dave Brown.

 
 
 

NFS problem: rpc.statd cannot talk to remote statd

Post by Miquel van Smoorenbu » Thu, 27 Nov 1997 04:00:00




>: What do I have to do to start "statd" and "lockd" on the Linux system?
>: Or is there a way to manage this from the AIX system?

>Hi.

>You only need to run statd, or at least you do when connecting Linux and
>SunOS together.  Statd is just a status monitor, it interacts with lockd
>on the local machine to provide crash and recovery functions for the
>locking services on NFS.

Rstatd is a rmote status daemon. Statd and lockd are NFS helpers. Two
different things.

AFAIK statd and lockd are not available for Linux, but there will be
a kernel based implementation in Linux 2.2 in half a year or so. If
you really need them now, checks out the FreeBSD sources. I think they
have "stub" servers that don't actually do anything but emulate statd
and lockd to make remote NFS clients happy.

Mike.
--
 Miquel van Smoorenburg |  Studying to be a technomage   <*>