1838675 Members
5019 Online
110128 Solutions
New Discussion

RPC error

 
Binu_5
Regular Advisor

RPC error

Hi All

Here we have andHPUX 11 NFS server and the filesystems are exported ..Te problem here is
I am not able to acces the filesystems from the client machines ..I have checked all the
NFS related services
But If I give showmount -a it gives follwing error
:; showmount -a
showmount: RPC: Timed out

Can any body help me solving this problem

Thanks
Binu



9 REPLIES 9
Sudeesh
Respected Contributor

Re: RPC error

Do the following from client and
let me know the result:

1. ping
if not working ping .

2.showmount -e : should show all nfs exported file systems.

3. rpcinfo -p : ensure nfs,rpcbind,status,nlockmgr,llockmgr and mountd process are displayed


Sudeesh
The most predictable thing in life is its unpredictability
Binu_5
Regular Advisor

Re: RPC error

Hi

Here is the out put

1)From the client Iam able to ping the server using the hosts name
2)[root@wiplx11 root]# showmount -e ccsvob2
rpc mount export: RPC: Timed out
3)[root@wiplx11 root]# rpcinfo -p ccsvob2
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100007 2 tcp 49152 ypbind
100007 2 udp 49153 ypbind
100007 1 tcp 49152 ypbind
100007 1 udp 49153 ypbind
100024 1 tcp 49153 status
100024 1 udp 49159 status
100021 1 tcp 49154 nlockmgr
100021 1 udp 49160 nlockmgr
100021 3 tcp 49155 nlockmgr
100021 3 udp 49161 nlockmgr
100021 4 tcp 49156 nlockmgr
100021 4 udp 49162 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 49157 nlockmgr
100068 2 udp 49170
100068 3 udp 49170
100068 4 udp 49170
100068 5 udp 49170
100083 1 tcp 49163
100001 2 udp 49171 rstatd
100001 3 udp 49171 rstatd
100001 4 udp 49171 rstatd
805306352 1 tcp 943
805502976 2 tcp 668
805502976 1 tcp 669
100005 1 udp 49190 mountd
100005 3 udp 49190 mountd
100005 1 tcp 49187 mountd
100005 3 tcp 49187 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs

Please note that the clinet is Linux
Also I have rebooted the NFS server

Please help
Binu
Sudeesh
Respected Contributor

Re: RPC error

Which linux you are using ?(red hat, suse...)
What is the linux kernel version?


Sudeesh
The most predictable thing in life is its unpredictability
Binu_5
Regular Advisor

Re: RPC error

Hi

Here Iam having redhat 9 alo my doubt is it should show an output showmount -s irrespectice of
clients

Thanks
Binu
Sudeesh
Respected Contributor

Re: RPC error

On the nfs server do:
showmount -e and verify the filesystems are exported.

Try these:
1.Put Client name in /etc/hosts of nfs server. ping to client from server and ensure the connectivity. Try NFS mount from client.

2.I remember that by default firewall is enabled in linux. Try showmount after disabling firewall. Probably the command is:

service iptables stop


Sudeesh


The most predictable thing in life is its unpredictability
Binu_5
Regular Advisor

Re: RPC error

Hi Sudeesh

1)showmount -e shows RPC tme out in the server

2)The clinet pinging from the server side
3)If we give an NFS mount
RPC time out error is coming


Thanks
Binu
Sudeesh
Respected Contributor

Re: RPC error

If showmount is failing on the server it self, it points to NFS server process issue.

o/p from working server
#showmount -e
no exported file systems for rx260-09
#rpcinfo -u rx260-09 mountd
program 100005 version 1 ready and waiting
rpcinfo: RPC: Program/version mismatch; low version = 1, high version = 3
program 100005 version 2 is not available
program 100005 version 3 ready and waiting


Try the following on nfs server:
rpcinfo -u mountd
if this fails do
/usr/bin/ps -ef | /usr/bin/grep mountd
/usr/bin/kill PID
/usr/sbin/rpc.mount

Can you pls paste the o/p from /etc/exports.

Sudeesh
The most predictable thing in life is its unpredictability
Sudeesh
Respected Contributor

Re: RPC error

did u try disabling the firewall?

Sudeesh
The most predictable thing in life is its unpredictability
Sudeesh
Respected Contributor

Re: RPC error

Its time to go....
Let me try to set you in the right path before logging off.

At this point I think the issue is with your NFS server.

1. Check /etc/rc.config.d/nfsconf and ensure
NFS_SERVER=1
START_MOUNTD=1

2. Check /etc/inetd.conf, if rpc.mountd is enabled disable it. If rpc.mountd is enabled here, will create issues.

3. Reboot your nfs server.

4. Once server is up do
rpcinfo -p : check all the process started.
rpcinfo -u mountd
showmount -e

if this goes well, try mounting from the client.

Best of luck

Sudeesh
The most predictable thing in life is its unpredictability