1823913 Members
3506 Online
109667 Solutions
New Discussion юеВ

RPC: Rpcbind failure

 

RPC: Rpcbind failure

Hi,

I get the following error message when I am trying to add clients to my Ignite server.

nfs mount: get_fh: ignitsvr:: RPC: Rpcbind failure - RPC: Timed outnfs mount: get_fh: ignitsvr:: RPC: Rpcbind failure - RPC: Timed
outnfs mount: retry: retrying(1)for: /var/opt/ignite/client.mnt
after 5 secondsnfs mount: retry: giving up on: /var/opt/ignite/client.mntERROR: Failed to mount: "ignitsvr:/var/opt/ignite/clients"

Please help me to resolve this issue.

Many Thanks!
Pauline
43 REPLIES 43
Horia Chirculescu
Honored Contributor

Re: RPC: Rpcbind failure

Hello Patricia,

You should check if the NFS server (associated processes) is running at the ignitsvr server side.

Horia.
Best regards from Romania,
Horia.

Re: RPC: Rpcbind failure

Yes its running ..

ignitsvr:root-/>ps -ef |grep -i nfs
root 11 0 0 Feb 15 ? 0:00 nfsktcpd
root 23383 1 0 Feb 15 ? 0:00 /usr/sbin/nfsd 4
root 1472 1467 0 Feb 15 ? 0:00 sh -c LANG=C /opt/IBM/ITM/hpi116/ux/bin/nfs_stat HP116 30
root 1473 1472 0 Feb 15 ? 0:03 /opt/IBM/ITM/hpi116/ux/bin/nfs_stat HP116 30
root 23386 23383 0 Feb 15 ? 0:00 /usr/sbin/nfsd 4
root 23382 1 0 Feb 15 ? 0:00 /usr/sbin/nfsd 4
root 14712 14647 1 18:41:07 pts/6 0:00 grep -i nfs
root 23387 23383 0 Feb 15 ? 0:00 /usr/sbin/nfsd 4
root 23384 23383 0 Feb 15 ? 0:00 /usr/sbin/nfsd 4
ignitsvr:root-/>
Johnson Punniyalingam
Honored Contributor

Re: RPC: Rpcbind failure

problem with the NFS Shares on the Ignite server

check below thread, steps are giving to reslove the issue.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1266325638308+28353475&threadId=1300650

if satisfies, d'not forget to assign points


Here is how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
Problems are common to all, but attitude makes the difference
Horia Chirculescu
Honored Contributor

Re: RPC: Rpcbind failure

The above thread Johnson has posted is very good. I only make a small observation: If you NFS server is only a "server" - meaning that only exports filesystems, you do not need to start the client part.

So in this case do not run

/sbin/init.d/nfs.client start.

In fact, kill the client if you do not need it:

/sbin/init.d/nfs.client stop

Horia.
Best regards from Romania,
Horia.
smatador
Honored Contributor

Re: RPC: Rpcbind failure

Hi
For Horia, in my opinion it's better to change flags on /etc/rc.config.d/nfsconf instead of doing a stop client
NFS_CLIENT=0 or 1
NFS_SERVER=0 or 1

Re: RPC: Rpcbind failure

I followed the steps given in the forum that Mr. Johnson has attached.

When i tried to mount the nfs share from my client it gives the follwoing error.

nfs mount: get_fh: ignitsvr:: RPC: Rpcbind failure - RPC: Timed out

Could you please help me.
Johnson Punniyalingam
Honored Contributor

Re: RPC: Rpcbind failure

>>nfs mount: get_fh: ignitsvr:: RPC: Rpcbind failure - RPC: Timed out<<<<

Did you did some first level checking ?

ping from

verse-vise

are you able to test with "ftp,sftp,scp" by trying "copy file via network Ignite server to Ignite client"
Problems are common to all, but attitude makes the difference

Re: RPC: Rpcbind failure

Yes, I am able to ping as well transfer files via scp from Ignite server to client and vice versa.

FTP is blocked as we have hardened these servers.
Johnson Punniyalingam
Honored Contributor

Re: RPC: Rpcbind failure

>>>When i tried to mount the nfs share from my client it gives the follwoing error<<

while you are trying mount nfs mount point

Are you using "IP" or hostname ???

can pls try "IP" address on both side
Problems are common to all, but attitude makes the difference

Re: RPC: Rpcbind failure

I tried with hostname as well with ip address.

Both gives same error.
Johnson Punniyalingam
Honored Contributor

Re: RPC: Rpcbind failure

hmm........" now my doubt goes" nsswitch file ?? how does it looks on both server

under /etc/hosts file -> do you host entries for both Ignite server & Ignite Client ??

also post "output for nsswitch file" both from Ignite & ignite client
Problems are common to all, but attitude makes the difference
Prasanth Thomas
Valued Contributor

Re: RPC: Rpcbind failure

Hi,

Can you please try to mount manually and let me know the out put.

From ingnite clinet run the below command.

# mount -F nfs ignitsvr:/var/opt/ignite/clients /tmp

Regards,
Prasanth Thomas.
Prasanth Thomas
Valued Contributor

Re: RPC: Rpcbind failure

Hi,

Please let me know the file permission
ls -ltr var/opt/ignite/clients
ls -ltr /var/opt/ignite/recovery/archives/

Regards,
PT.
Prasanth Thomas
Valued Contributor

Re: RPC: Rpcbind failure

Hi,

Please let me know the file permission
ls -ltr var/opt/ignite/clients
ls -ltr /var/opt/ignite/recovery/archives/

Is it sure that the /var/opt/ignite/clients directory is exported?.

Regards,
PT.

Re: RPC: Rpcbind failure

Yes, host file in client has entry of Ignite server and host file in server has entry of Ignite client.

Here is the output of nsswitch file of Ignite server and client.

O/p from Ignite Server:-

ignitsvr:root-/tmp>cat /etc/nsswitch.conf
passwd: files
group: files
hosts: files dns
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
ignitsvr:root-/tmp>cat /etc/nsswitch.files
#
# /etc/nsswitch.files:
#
# @(#)B11.23_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
ignitsvr:root-/tmp>

O/p from Ignite Client:-

wfdb:root-/etc>cat nsswitch.conf
passwd: files
group: files
hosts: files dns
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
wfdb:root-/etc>file nsswitch.files
nsswitch.files: ascii text
wfdb:root-/etc>cat nsswitch.files
#
# /etc/nsswitch.files:
#
# @(#)B11.23_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files

Re: RPC: Rpcbind failure

Here is the output when i tried to mount the nfs share manually in the client.

wfdb:root-/etc>mount -F nfs ignitsvr:/var/opt/ignite/clients /tmp
nfs mount: get_fh: ignitsvr:: RPC: Rpcbind failure - RPC: Timed out
nfs mount: get_fh: ignitsvr:: RPC: Rpcbind failure - RPC: Timed out
nfs mount: retry: retrying(1) for: /tmp after 5 seconds
nfs mount: retry: giving up on: /tmp
wfdb:root-/etc>

Re: RPC: Rpcbind failure

/var/opt/ignite/clients directory has been exported successfully in ignite server.

This is the very first time I am trying to add the client in my ignite server.

So none of the clients available in Ignite srever.

Here is the file permission details.

ignitsvr:root-/>ls -ltr var/opt/ignite/clients
total 16
lrwx------ 1 bin bin 14 Feb 15 13:51 ignitsvr -> 0x00215AF86490
drwx------ 3 bin sys 8192 Feb 15 13:52 0x00215AF86490
ignitsvr:root-/>ls -ltr /var/opt/ignite/recovery/archives/
/var/opt/ignite/recovery/archives/ not found
ignitsvr:root-/>
Horia Chirculescu
Honored Contributor

Re: RPC: Rpcbind failure

Please post the output of:

ps -ef |grep rpc

Horia.
Best regards from Romania,
Horia.

Re: RPC: Rpcbind failure

ignitsvr:root-/>ps -ef |grep -i rpc
root 10242 4848 1 12:38:22 pts/7 0:00 grep -i rpc
root 1869 1 0 Feb 15 ? 0:00 /opt/dce/sbin/rpcd
root 23394 1 0 Feb 15 ? 0:00 /usr/sbin/rpc.lockd
root 23348 1 0 Feb 15 ? 0:00 /usr/sbin/rpcbind
root 23388 1 0 Feb 15 ? 0:00 /usr/sbin/rpc.statd
root 23371 1 0 Feb 15 ? 0:00 /usr/sbin/rpc.mountd
ignitsvr:root-/>
Horia Chirculescu
Honored Contributor

Re: RPC: Rpcbind failure

When you stop/start nfs services:

/sbin/init.d/nfs.server stop
#/sbin/init.d/nfs.core stop
#/sbin/init.d/nfs.core start
#/sbin/init.d/nfs.server start

on ignitsrv do you see on your log files (check syslogd) any errors?

Empty (save the files first if you need it) the syslog files then stop and start nfs services. Then post the log files here.

Logging *.info and *.debug would be great.

Horia.
Best regards from Romania,
Horia.

Re: RPC: Rpcbind failure

Here with I have attached the syslog file for you reference.

Re: RPC: Rpcbind failure

Syslog file for your reference
Horia Chirculescu
Honored Contributor

Re: RPC: Rpcbind failure

Now go to wfdb server and make a temporary directory under /tmp (do not use /tmp to mount the nfs share)

wfdb:root-/etc>mkdir /tmp/directory1
wfdb:root-/etc>mount -F nfs ignitsvr:/var/opt/ignite/clients /tmp/directory1

And post here the same syslog file from ignitsrv, with updated info.

Horia.,
Best regards from Romania,
Horia.
Johnson Punniyalingam
Honored Contributor

Re: RPC: Rpcbind failure

take look at below "nsswitch.conf" -> hosts , can you please follow same thing under your "Ignite clinet" ---> /etc/nsswitch.conf

HTH,
Johnson



================================================
# more /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return]
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
Problems are common to all, but attitude makes the difference