NFS Client unable to access shared DIR's


 
Thread Tools Search this Thread
Operating Systems HP-UX NFS Client unable to access shared DIR's
Prev   Next
# 1  
Old 02-01-2012
Java NFS Client unable to access shared DIR's

I ve a client : <clientname> and a server: <servername>
Both of them running: HPUX B.11.31

SERVER outputs:
I ve shared a folder in <servername> called /test and the O/P for
Code:
# exportfs
-               /test   root=<clientname>,rw=<clientname>,ro   ""

# showmount -e
export list for <servername>:
/test   (everyone)

# ps -ef | grep rpc
root    35     0  0  Jan  5  ?         0:00 krpckd
daemon  1104     1  0  Jan  5  ?         0:00 /usr/sbin/rpc.statd
root  1027     1  0  Jan  5  ?         0:00 /usr/sbin/rpcbind
root  1110     1  0  Jan  5  ?         0:00 /usr/sbin/rpc.lockd
root  1579     1  0  Jan  5  ?         0:06 /opt/dce/sbin/rpcd
root  2182     1  0  Jan  5  ?         0:00 /usr/sbin/rpc.mountd
root 26623 17818  0 23:53:04 pts/ti    0:00 grep rpc

CLIENT outputs:
Code:
# ps -ef | grep rpc
 root    29     0  0  Jan  2  ?         0:00 krpckd
 root  1697     1  0  Jan  2  ?         0:12 /opt/dce/sbin/rpcd
 root 19904     1  0 22:44:55 ?         0:00 /usr/sbin/rpcbind
 root 19931     1  0 22:45:17 ?         0:00 /usr/sbin/rpc.lockd
daemon 19925     1  0 22:45:17 ?         0:00 /usr/sbin/rpc.statd
 root 21690 15214  0 23:54:11 pts/tc    0:00 grep rpc
 root 21194     1  0 23:34:01 ?         0:00 /usr/sbin/rpc.mountd

# showmount -e <servername>
export list for <servername>:
/test   (everyone)

# ll
lrwxrwxrwx   1 root       sys             32 Feb  1 23:14 test -> /net/<servername>/test

#cd test
sh: test:  not found.

NOTE:
I ve included both server and clients in each others /etc/hosts file and also in
/.rhosts file
I ve also verified that both client and server are able to ping each other and remsh commands from each other.

Please throw some light on why is the nfs link not working on <clientname>?

Last edited by Scott; 02-01-2012 at 04:00 PM.. Reason: Code tags
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

2. UNIX for Dummies Questions & Answers

Use programs in shared folder except ones in my home dir

I am using a cluster where all the programs are located in a shared folder (I can only read but not modify anything in this folder). The path of the share folder is in my .bashrc file (and thus also in my $PATH - first position): source /home/shared/bashrc But some of the programs are... (5 Replies)
Discussion started by: beca123456
5 Replies

3. Shell Programming and Scripting

Use programs in shared folder except ones in my home dir

(0 Replies)
Discussion started by: beca123456
0 Replies

4. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

5. Solaris

How to find the available shared directories at the NFS client machine?

I'm using nfs client machine. One of my colleague said that he shared the directories using nfs server ......... How can i know the nfs shared directories available to mount at my machine....?? Thanks in Advance.:b: (3 Replies)
Discussion started by: vamshigvk475
3 Replies

6. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

7. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. & then ran the following On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies

8. Programming

Unable to use libcurl to access a site requiring client authentication

I’m using the below snipped for setting the certificate and key for client authentication. curl_easy_setopt(curl,CURLOPT_SSLCERT,"clientCert.pem"); curl_easy_setopt(curl,CURLOPT_SSLCERTPASSWD,"changeit"); curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM"); ... (2 Replies)
Discussion started by: old_as_a_fossil
2 Replies

9. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

10. Linux

Unable to access fedora 10 shared folder from windows

Linux OS : Fedora 10 (No graphical mode) Windows OS : XP and Windows Server NT I am able to access from my windows to linux using following step //fedora10 ip username of admin and password I am able to view the admin and shared printer of fedora 10. When i try to enter in the admin... (0 Replies)
Discussion started by: nightmare49
0 Replies
Login or Register to Ask a Question