[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

nfs prob between two hurricane boxes



I have two redhat 5.0 boxes, and I'm having a problem with NFS between them.
When trying to mount, the mounts get backgrounded, and never complete, but
only the mounts between the linux boxes.  Both linux boxes successfully
mount disks from suns on our network.

I also have lots of suns (4.1.3_U1 and solaris 2.5.1) and I can NFS mount
their disks until the cows come home.  I cannot mount a disk from either
linux box on any of the suns, I'm baffled.  I assume this means the nfs 
server side is not being setup and run properly, but I don't know where to
look next.

The /var/log/messages files on the two machines contain the following:
Apr 22 15:05:44 helium nfsd[310]: unable to register (nfsd, 2, udp).
Apr 23 08:25:11 helium nfsd[311]: unable to register (nfsd, 2, udp).

Apr 23 18:01:32 nitrogen nfsd[276]: unable to register (nfsd, 2, udp).
Apr 24 08:26:06 nitrogen nfsd[276]: unable to register (nfsd, 2, udp).

rpc.mountd and rpc.nfsd don't start at boot (they try, but fail)
I really don't know why though...

Any help appreciated!,
-chuck


Here are the details:

helium  133mhz pentium, kernel 2.0.32-3, 48mb ram

[root helium /n2]# rpm -qa | grep -i nfs
nfs-server-2.2beta29-2
nfs-server-clients-2.2beta29-2

[root helium /n2]# rpm -qa | grep -i kern
kernel-modules-2.0.31-7
kernel-modules-2.0.32-2
kernel-modules-2.0.32-3
kernel-2.0.32-2
kernel-2.0.32-3
kernel-headers-2.0.32-3
kernel-source-2.0.32-3
kernelcfg-0.4-7

helium exports file:
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/       nitrogen(rw,no_root_squash)
/home	nitrogen
/stuff	nitrogen
/redhat	nitrogen
/var	nitrogen
/slash_42	nitrogen
/old_linux	nitrogen


nitrogen 333mhz pentiumII, kernel 2.0.32-3, 128mb ram

[root nitrogen /root]# rpm -qa|grep -i nfs
nfs-server-2.2beta29-2
nfs-server-clients-2.2beta29-2

[root nitrogen /root]# rpm -qa|grep -i kern
kernel-modules-2.0.31-7
kernel-modules-2.0.32-3
kernel-2.0.31-7
kernel-2.0.32-3
kernel-headers-2.0.32-3
kernel-source-2.0.32-3
kernelcfg-0.4-7

nitrogen exports file:
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/       helium(rw,no_root_squash)
/usr   helium(rw,no_root_squash)
/var   helium(rw,no_root_squash)

When I make a change in the exports file, I did an "exportfs -a" on each
machine and got the following message (identical on each machine).

[root nitrogen /root]# exportfs -a
rpc.nfsd: no process killed
rpc.mountd: no process killed

I thought this was curious, so I did the following:
[root helium /n2]# grep -i rpc /var/log/messages
[root helium /n2]# dmesg|grep -i rpc

I got NOTHING back, no rpc processes of any sort???

next I looked at the /etc/init.d/nfs script and I see the following:
case "$1" in
  start)
        # Start daemons.
        echo -n "Starting NFS services: "
        daemon rpc.mountd
        daemon rpc.nfsd
        echo
        touch /var/lock/subsys/nfs

If I try to do this manually, I get the following:
[root nitrogen init.d]# /usr/sbin/rpc.mountd
Cannot register service: RPC: Unable to receive; errno = Connection refused
[root nitrogen init.d]# /usr/sbin/rpc.nfsd 
Cannot register service: RPC: Unable to receive; errno = Connection refused
[root nitrogen init.d]# man rpc.mountd
No manual entry for rpc.mountd
[root nitrogen init.d]# man rpc.nfsd
No manual entry for rpc.nfsd
[root nitrogen init.d]# man rpc
No manual entry for rpc

The /var/log/messages files on the two machines contain the following:
Apr 22 15:05:44 helium nfsd[310]: unable to register (nfsd, 2, udp).
Apr 23 08:25:11 helium nfsd[311]: unable to register (nfsd, 2, udp).

Apr 23 18:01:32 nitrogen nfsd[276]: unable to register (nfsd, 2, udp).
Apr 24 08:26:06 nitrogen nfsd[276]: unable to register (nfsd, 2, udp).

-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
1980 Post Oak Blvd. |   and Integrated Interpretation   |  1(713)960-1157 fax
    Suite 2050      |                                   |
 Houston, TX, 77056 |          Chuck Campbell           | campbell neosoft com
                    |  President & Senior Geoscientist  |

     "Integration means more than having all the maps at the same scale!"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]