Operating System - Tru64 Unix
1824171 Members
2680 Online
109669 Solutions
New Discussion

NFS mouting with RPC: Authentication error

 
sammysammy
Frequent Advisor

NFS mouting with RPC: Authentication error

Server: DCSORA01, dcpbl03

System: Tru64 and HP Blade Linux



Problem description:

We have setup NFSD at DCSORA01 Tru64 server. The server is exporting a file system to one of the HP Blade Linuxs.

While we are getting the file system exported successfully to another Linux server, we are having difficulties to allow the HP Blade Linux server mounting the exported file system.

The error we are getting at the HP Blade Linux server is:



[root@dcpbl03 ~]# /bin/mount -t nfs dcsora01.com.au:/u01/oratst/tstappl/common /u01/oratst/tstappl/common

mount: RPC: Authentication error; why = Server rejected credential



Here is some more information about the NFSD setup:

At DCSORA01 sever,

# cat /etc/exports

# /u01 -rw=nhorhel01

/u01/oradev/devcomn/admin -r=nhorhel01

/u01/oratst/tstappl/common -r=dcpbl03.com.au,dcpbl04.com.au



# showmount

Hosts on localhost:

dcpbl07.com.au

nhorhel01



# rpcinfo -p

program vers proto port

100000 2 tcp 111 portmapper

100000 2 udp 111 portmapper

100068 2 udp 5195 rpc.cmsd

100068 3 udp 5196 rpc.cmsd

100068 4 udp 5196 rpc.cmsd

100083 1 tcp 2653 rpc.ttdbserverd

100005 1 udp 798 mountd

100005 3 udp 798 mountd

100003 2 udp 2049 nfs

100005 1 tcp 802 mountd

100003 2 tcp 2049 nfs

100005 3 tcp 802 mountd

100003 3 udp 2049 nfs

100003 3 tcp 2049 nfs

100024 1 udp 4474 status

100021 1 tcp 7197 nlockmgr

100024 1 tcp 7198 status

100021 2 tcp 7197 nlockmgr

100021 3 tcp 7197 nlockmgr

100021 4 tcp 7197 nlockmgr

100020 3 tcp 7197 llockmgr

100021 1 udp 4475 nlockmgr

100021 2 udp 4475 nlockmgr

100021 3 udp 4475 nlockmgr

100021 4 udp 4475 nlockmgr

100020 3 udp 4475 llockmgr



# ifconfig -a

bcm0: flags=c63

inet 172.29.244.10 netmask ffffff00 broadcast 172.29.244.255 ipmtu 1500



bcm1: flags=c63



bcm2: flags=c63



bcm3: flags=c63



lo0: flags=100c89

inet 127.0.0.1 netmask ff000000 ipmtu 4096



sl0: flags=10




At DCPBL03 Linux server:

[root@dcpbl03 ~]# ping dcsora01.com.au

PING dcsora01.com.au (172.29.244.10) 56(84) bytes of data.

64 bytes from dcsora01.com.au (172.29.244.10): icmp_seq=0 ttl=61 time=1.04 ms

64 bytes from dcsora01.com.au (172.29.244.10): icmp_seq=1 ttl=61 time=1.01 ms

64 bytes from dcsora01.com.au (172.29.244.10): icmp_seq=2 ttl=61 time=1.01 ms



# nmap –v v dcsora01

The SYN Stealth Scan took 0.09s to scan 1660 total ports.

Host dcsora01.com.au (172.29.244.10) appears to be up ... good.

Interesting ports on dcsora01.com.au (172.29.244.10):

(The 1627 ports scanned but not shown below are in state: closed)

PORT STATE SERVICE

21/tcp open ftp

22/tcp open ssh

23/tcp open telnet

25/tcp open smtp

110/tcp open pop3

111/tcp open rpcbind

143/tcp open imap

316/tcp open decauth

512/tcp open exec

513/tcp open login

514/tcp open shell

515/tcp open printer

543/tcp open klogin

544/tcp open kshell

596/tcp open smsd

619/tcp open unknown

802/tcp open unknown

1521/tcp open oracle

1522/tcp open rna-lm

1523/tcp open cichild-lm

1541/tcp open rds2

1542/tcp open gridgen-elmd

2049/tcp open nfs

2301/tcp open compaqdiag

5801/tcp open vnc-http-1

5901/tcp open vnc-1

6000/tcp open X11

6001/tcp open X11:1

6112/tcp open dtspc

7002/tcp open afs3-prserver

7003/tcp open afs3-vlserver

12345/tcp open NetBus

49400/tcp open compaqdiag


Every suggestion is highly appreciated.
Thanks
Sam
1 REPLY 1
anandganjihal
Advisor

Re: NFS mouting with RPC: Authentication error

Add NFS client's name and IP entry in NFS servers's /etc/hosts file.

- Anand