Operating System - HP-UX
1831554 Members
4186 Online
110025 Solutions
New Discussion

cannot access nis-user directory

 
Kassler
Advisor

cannot access nis-user directory

Hi all,

after a reboot of a server i could not access the user directory on another server which is on the rebootet seystem. There is no NFS problem because i can go directly in the nfs-mounted directory. If i want to go to the /user/pe (pe is one of the users) directory i receive following error

Xcd[3]: /user/pe: bad directory

and if i make a long-listing of this directory i get following

scc01:root[12502]# ll
./pe not found
total 24
drwxr-xr-x 22 gg mikron 4096 Apr 21 08:57 gg

I use NIS and auto_master maps. Here is the
auto_master file:

/user auto.user
/- auto.nfs

Normally i can see the mounted user dirs with the mount command

/user/dj on mik1s211:/disk1/user/dj nodevs,rsize=32768,wsize=32768,NFSv3 on Wed Apr 21 10:25:23 2004

but for the user "pe" i don´t see an entry. I have tried to restart nfs.client but the only result was that i have a second user i cannot access.

I know if i reboot the server it should work again, but is there a possibility without restarting.

Many thanks for your help.

Best Regards,
Marku
..... searching for the best way(s) ...
2 REPLIES 2
KapilRaj
Honored Contributor

Re: cannot access nis-user directory

Can u do an exportfs -a on the NFS Server ?

Regds,

Kaps
Nothing is impossible
Kassler
Advisor

Re: cannot access nis-user directory

hi,

i have no problem with the nfs-Server.
I can access all user directories through the
mountable path /nfs.

I can go to directory /nfs/cai01/disk1/user/pe and see all data.

The problem is when i go to /user/pe which normally should point to /nfs/..../user/pe i get the error mentioned above.

Greetings,
Markus
..... searching for the best way(s) ...