Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

autofs issue, permission denied

807557Mar 26 2009 — edited Mar 30 2009
We have to S10 servers, one is a file server which has the user's homedirs on it(called rocker). On the client, a S10 Sunray server(called sunray), these should be automounted when the user logs in:

Server, /etc/auto_master:

/rocker /etc/auto_rocker -nosuid,browse


Server, /etc/auto_rocker:

lsi010 rocker:/zpool02/pdd/pdd/users/lsi


The user's homedir's are here:

# getent passwd lsi010
lsi010:x:10166:10048:L. Simon:/rocker/lsi/unix:/usr/bin/ksh

However, it doesnt really work:

sunray# su - lsi010
su: No directory!

And we have these error messages in /var/adm/messages:
Mar 26 10:04:06 sunray nfs: [ID 532867 kern.warning] WARNING: NFS server initial call to rocker failed: Permission denied

The dir is visible though, but with odd permissions:

sunray# ls -ld /rocker/lsi010
dr-xr-xr-x 1 root root 1 Mar 26 10:37 /pcdisk/lsi010

The two machines can resolve one another, and they seem to be on the same domain DNS wise.

Any suggestions?

TIA

Comments

807557
1) does rocker have the same passwd file as sunray? (either physically, or via nis*)
2) you sure

sunray# ls -ld /rocker/lsi010
dr-xr-xr-x 1 root root 1 Mar 26 10:37 /pcdisk/lsi010

is correct? (you didn't swap pcdisk for rocker somewhere?)

3) Try doing this as root on sunray: mount rocker:/zpool02/ppd/ppd/user/lsi /mnt
and see if that works. You might get a better error message.

-r
807557
Thanks for your reply Roger,

1. Yes, they both are LikeWise Enterprise clients, and resolve the same info regarding users etc.

2. Yes, I'm sure. pcdisk is an alias for that server. I replaced it with rocker, but no difference.

3.
mount rocker:/zpool02/pdd/pdd/users/lsi /mnt
nfs mount: mount: /mnt: Permission denied
#
# tail /var/adm/messages
Mar 30 08:52:27 sunray nfs: [ID 532867 kern.warning] WARNING: NFS server initial call to rocker failed: Permission denied


So, no change. Any other ideas?
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 27 2009
Added on Mar 26 2009
2 comments
729 views