- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS mount : sh: /common: Permission denied.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:21 AM
07-14-2003 07:21 AM
NFS mount : sh: /common: Permission denied.
I am trying to mount a file system /common in the following manner:
NFS server: orion
NFS cients: jupiter (trying to solve the prob)
NFS cients: neptune (I am able to mount on this system successfully)
root@jupiter:/#showmount -e orion
export list for orion:
/export/common orion,neptune,jupiter
root@jupiter:/etc# more auto_master
/net -hosts -nosuid,soft
/- /etc/auto.direct
root@jupiter:/etc# more auto.direct
/common orion:/export/common
root@jupiter:/# more /etc/rc.config.d/nfsconf
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=8
NUM_NFSIOD=12
PCNFS_SERVER=0
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
I have created the following directories also:
/common
/tmp_mnt/common
-----------------------------------------------
root@neptune:#/sbin/init.d/nfs.client start
starting NFS CLIENT networking
killing rpc.lockd
killing rpc.statd
killing nfsd
killing rpc.mountd
starting up the rpcbind
rpcbind already started, using pid: 505
starting up the BIO daemons
/usr/sbin/biod 12
starting up the Status Monitor daemon
/usr/sbin/rpc.statd
starting up the Lock Manager daemon
/usr/sbin/rpc.lockd
starting up the Automount daemon
/usr/sbin/automount -f /etc/auto_master
mounting remote NFS file systems ...
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 505
starting up the mount daemon
/usr/sbin/rpc.mountd
starting up the NFS daemons
/usr/sbin/nfsd 8
starting up the Status Monitor daemon
rpc.statd already started, using pid: 3597
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 3603
-----------------------------------------------
The nfs client started successfully but the exported file system /common is not mounted.
when I tried to access /common file system, the system is responding with the following error message:
root@jupiter:/# cd /common
sh: /common: Permission denied.
root@jupiter:/# ll /common
lrwxrwxrwx 1 root root 20 Jul 1 11:14 /common
/common is not properly link. It should suppose to show like:
root@neptune:/# ll /common
lrwxrwxrwx 1 root root 20 Jul 14 11:15
/common -> /tmp_mnt/common
"I could able to mount on the neptune system but not on the jupiter system"
I really appreciate your solutions.
Thanks,
Nikee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:28 AM
07-14-2003 07:28 AM
Re: NFS mount : sh: /common: Permission denied.
On Jupiter
ll -d / /tmp_mnt /tmp_mnt/common
One of them has bad permissions
compare with neptune
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:40 AM
07-14-2003 07:40 AM
Re: NFS mount : sh: /common: Permission denied.
I have verified the permissions. Looks good.
Thanks,
Nikee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:43 AM
07-14-2003 07:43 AM
Re: NFS mount : sh: /common: Permission denied.
i think that this is the problem:
"I have created the following directories also:
/common
/tmp_mnt/common
"
let the automounter create /tmp_mnt/common .
Stop NFS, clean /tmp_mnt and restart NFS client.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:47 AM
07-14-2003 07:47 AM
Re: NFS mount : sh: /common: Permission denied.
I stopped the NFS client, deleted the /tmp_mnt/common directory and sarted the NFS client.
Same error:
root@jupiter:# cd /common
sh: /common: Permission denied.
Thanks,
Nikee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 07:55 AM
07-14-2003 07:55 AM
Re: NFS mount : sh: /common: Permission denied.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 08:02 AM
07-14-2003 08:02 AM
Re: NFS mount : sh: /common: Permission denied.
try removing also
- stop NFS
- remove the /common
- start NFS
and be sure to grant proper permission in the export:
/common -access=host:host,root=host:host
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 09:59 AM
07-14-2003 09:59 AM
Re: NFS mount : sh: /common: Permission denied.
then cd to /common. AUTOFS doesn't use the stupid /tmp_mnt link setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2003 02:42 AM
09-03-2003 02:42 AM
Re: NFS mount : sh: /common: Permission denied.
Whenever I get this problem I always run exportfs from the originating server ie the server with the updated /etc/exports file on it.
This usually allows me to mount the filesystem on the remote server.
Regards, Una
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 10:35 AM
09-10-2003 10:35 AM
Re: NFS mount : sh: /common: Permission denied.
Dont know if you solved this problem but it sounds like a problem I had with the /etc/exports file...
It is a DNS name problem, I had a box which had
Then type exportfs at the root prompt:
#man exportfs
DESCRIPTION
The exportfs command makes a local directory or file available to NFS
clients for mounting over the network. Directories and files cannot
be NFS-mounted unless they are first exported by exportfs.