Operating System - HP-UX
1826440 Members
3807 Online
109692 Solutions
New Discussion

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

 
SOLVED
Go to solution
Prashantj
Valued Contributor

NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Guru,

We are facing problem while NFS mounting between ruprddb(CLuster node) to ruleccdev system. Details are as below.

Server:ruprddb ( Cluster name – dbciRRP )
Client:ruleccdev
OS: HPUX 11.31
NFS : A.11.31.07

From server ruprddb file system

dbciRRP:/export/usr/sap/trans /usr/sap/trans

if I set the entry in /etc/dfs/dfstab
share -F nfs -o rw=ruleccdev,access=ruleccdev /usr/sap/trans

bdf showing below error
dbciRRP:/export/usr/sap/RRP
10420224 3876585 6134811 39% /usr/sap/RRP
dbciRRP:/export/sapmnt/RRP
10420224 3940872 6074866 39% /sapmnt/RRP
NFS access failed for server dbciRRP: error 7 (RPC: Authentication error)
NFS fsstat failed for server dbciRRP: error 7 (RPC: Authentication error)
bdf: /usr/sap/trans: Permission denied

Highly appreciate, if you could suggest the solution on priority.


Thanks in advance

Prashant
Good judgment comes from experience and experience comes from bad judgment.
18 REPLIES 18
kemo
Trusted Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

please elaborate by answering the below.

What is the mount command you used in the client?
what entry in hosts file of NFS server for the client?
what entry in hosts file of NFS client for the server?
what is the hostname command output from the client?
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Kemo,
Thanks for youre reply.

What is the mount command you used in the client?
mount dbciRRP:/export/usr/sap/trans /usr/sap/trans

what entry in hosts file of NFS server for the client?

192.xxx.x.xx ruleccdev

what entry in hosts file of NFS client for the server?

192.xxx.x.xx dbciRRP
192.xxx.x.xx ruprddb

what is the hostname command output from the client?

[ruleccdev]# hostname
ruleccdev

Regards
Prashant
Good judgment comes from experience and experience comes from bad judgment.
kemo
Trusted Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

try to use the node name instead of cluster name.


mount ruprddb:/export/usr/sap/trans /usr/sap/trans
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Kemo,

Thanks for your reply.

i have edit the /etc/dfs/dfstab file with
share -F nfs -o rw=ruleccqas /export/usr/sap/trans

and then sucessfully mount file styem

ruprddb:/export/usr/sap/trans
20905984 7417065 12645898 37% /usr/sap/trans_new

but below error come while changeing file permission.

drwxrwxrwx 2 root root 96 Dec 20 18:52 tst
[rueccqas]# chmod 744 tst
chmod: can't change tst: Read-only file system

Please advice

Prashant



Good judgment comes from experience and experience comes from bad judgment.
kemo
Trusted Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)


chmod: can't change tst: Read-only file system

what is the full path of tst directory?

Note:
Don't forget assigning points for answers.
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Kemo,

path is as below
drwxrwxrwx 2 root root 96 Dec 20 18:52 tst
[rueccqas]# chmod 744 tst
chmod: can't change tst: Read-only file system
[rueccqas]# pwd
/usr/sap/trans_new
[rueccqas]# hostname
rueccqas
[rueccqas]#

Prashant

Good judgment comes from experience and experience comes from bad judgment.
kemo
Trusted Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

send output of

mount -p

Steven E. Protter
Exalted Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Shalom,

Correct permission on the NFS server. Restart all three nfs services in this way.

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop

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

Try again your remote mount command.

Also, please post.
showmount -e hostname

Run that command from both the server and remote system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Kemo,

Please find the attached file contained output of mount -p from server and client system.



Prashant

Good judgment comes from experience and experience comes from bad judgment.
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Stevan,

The ouput is as below.

[ruprddb]# showmount -e ruprddb
export list for ruprddb:
/export/sapmnt/RRP ruprddb,ruprdapp,dbciRRP
/export/usr/sap/RRP ruprddb,ruprdapp,dbciRRP
/export/usr/sap/trans ruleccqas

but
/export/usr/sap/trans also need show ruprddb,ruprdapp,dbciRRP now it is showing ruleccqas

cluster server is ruprddb,ruprdapp
virtual serer name is dbciRRP

Please advice

Prashant

Good judgment comes from experience and experience comes from bad judgment.
kemo
Trusted Contributor
Solution

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

from your document:
ruprddb:/export/usr/sap/trans /usr/sap/trans_new nfs rsize=32768,wsize=32768,NFSv3,dev=4000007

can you dismount the /usr/sap/trans-new and remount it again with -o rw option

e.g

mount -F nfs -o rw ruprddb:/export/usr/sap/trans /usr/sap/trans_new
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Kemo,

i have umount and remount with provided command. it is showing same error.

[rueccqas]# chown 744 tmp
tmp: Read-only file system
[rueccqas]# pwd
/usr/sap/trans_new


Prashant
Good judgment comes from experience and experience comes from bad judgment.
kemo
Trusted Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

[rueccqas]# chown 744 tmp
tmp: Read-only file system
[rueccqas]# pwd
/usr/sap/trans_new



i think you meant to say chmod not chown, assuming this is a typing mistake, check if you are able to change the permission from the server side.

[ruprddb]# chmod 744 /export/usr/sap/trans/tmp
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Kemo,

Thanks for your reply.
i am able to change the permission.
i can change the file permissio, when i am in
/export/usr/sap/trans, But
if i m in /usr/sap/trans then system not allow me to do.

drwxr--r-- 2 root bin 1024 Dec 20 17:29 tmp
[ruprddb]# chmod 777 tmp
chmod: can't change tmp: Read-only file system
[ruprddb]# pwd
/usr/sap/trans
[ruprddb]#

same error occur in client
drwxr-xr-x 2 rrqadm sapsys 8192 Dec 22 10:46 tmp
[rueccqas]# chmod 777 tmp
chmod: can't change tmp: Not owner
[rueccqas]# pwd
/usr/sap/trans
[rueccqas]#

Can u check it's same filesystem but owner:group are diff. in server and client

Please advice

Prashant









Good judgment comes from experience and experience comes from bad judgment.
kemo
Trusted Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hello Prashant

It seems like NFS has a permission issue, please try to restart the NFS daemons at the server side.

first unmount the NFS client filesystem then do the below in the server side,

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop

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


thanks
Dennis Handly
Acclaimed Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

>share -F nfs -o rw=ruleccdev,access=ruleccdev /usr/sap/trans

You can't use just ruleccdevm, you need a FQDN.
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Hi Kemo & Dennis,

Thanks for youre support. The issue has been resolved by HP Tech. Support.

They updated the below entry
/etc/auto_master
/etc/auto.direct
hanfs.db
start and stop the /sbin/init.d/autofs

BR
Prashant




Good judgment comes from experience and experience comes from bad judgment.
Prashantj
Valued Contributor

Re: NFS access failed for server xxx error 7 (RPC: Authentication error)

Thanks to all & HP Tech. Support.
Good judgment comes from experience and experience comes from bad judgment.