Operating System - HP-UX
1834009 Members
3552 Online
110063 Solutions
New Discussion

Re: NFS Problem. Permission denied

 
raiden
Regular Advisor

NFS Problem. Permission denied


One of HP-Unix Server was restarted. After restart one nfs filesystem was not mounted. When I tried to mount it manually it gave permission denied error.

I changed the owner and group of the FileSystem from root:sys to tibprod:tibco after which it got mounted.

Could anyone expalin what is the problem here as this FileSystem was mounted properly before restart and no one had changed the ownership to root:sys, so how did the ownership get changed.
5 REPLIES 5
TTr
Honored Contributor

Re: NFS Problem. Permission denied

All NFS access is controlled at the NFS server in /etc/exports. The client must match the settings in the server, otherwise there is no NFS mount. Somebody changed the settings somewhere, they did not get changed on their own.
Steven E. Protter
Exalted Contributor

Re: NFS Problem. Permission denied

Shalom,

Thus far you have not provided enough information to answer your question.

Probably limitations in the /etc/exports file of the NFS server explain the outcome.

See /var/log/messages (Linux) or /var/adm/syslo/syslog.log (HP-UX) for more clues.

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
raiden
Regular Advisor

Re: NFS Problem. Permission denied

This nfs FS is exported through cluster package and it it exported on an another server also. this server was also rebooted at same time but here it was mounted correctly


I checked syslog. nothing specific reported.
MarkSyder
Honored Contributor

Re: NFS Problem. Permission denied

Try:

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

Any nfs errors in /etc/rc.log?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Sajjad Sahir
Honored Contributor

Re: NFS Problem. Permission denied

I changed the owner and group of the FileSystem from root:sys to tibprod:tibco after which it got mounted

this due to u are getting an error permission denied

if u changed the owner as root from server side u should have to check from client root is accessing nfs file system

thanks and regards
Sajjad Sahir