Operating System - HP-UX
1827243 Members
2186 Online
109716 Solutions
New Discussion

Re: Unable to automount remote home directories on the NIS client

 
Gautam Shet
Advisor

Unable to automount remote home directories on the NIS client

Hi folks,
We have a C3000 workstation with HP-UX 10.2 OS loaded on it. This has been made a NIS client. Whenever any user logs in to this machine through the CDE, the below error message is displayed:

Unable to initialize or connect to the Desktop messaing system. Check your $HOME/.dt/errorlog for more information.

If the home directory of a user is manually mounted after becoming the root. Then the user can log in through the CDE without any problems.

I have made sure that the below variables are set to the right value in the /etc/rc.config.d/nfsconf file:
NFS_CLIENT=1
AUTOMOUNT=1

The contents of the auto_master file that the AUTO_MASTER variable point to in the /etc/rc.config.d/nfsconf file are given below:

/net -hosts -nosuid,soft
+auto_master

When I execute the ypwhich command, it correctly displays the name of the NIS server.

So basically the problem is that the remote home directories do not get automounted on this NIS client. I am sure that I am missing out on some additional settings, that when plugged in should resolve this problem.

I would any pointers to resolve this problem. Thanks in advance.

5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: Unable to automount remote home directories on the NIS client

Hi,

Here is doc in which your error message is explained.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067219213

Hope it helps,

Robert-Jan.
Gautam Shet
Advisor

Re: Unable to automount remote home directories on the NIS client

Hi Robert-Jan,
Thanks for the reply. Unfortunately when I click on the link, it tells me that the userid and passwd are not found. The link you have provided, is the ITRC site for users registered in the Europe domain. Since I am registered in the Americas/Asia Pacific domain, I cannot get to the site. Is it possible for you to send the document directly to my email address, which is: gautam_shet@hotmail.com
Umapathy S
Honored Contributor

Re: Unable to automount remote home directories on the NIS client

Here is that document

http://www2.itrc.hp.com/service/cki/docDisplay.do?
docLocale=en_US&admit=-1335382922+1061485672254+28353475&docId=200000067219213

-Umapathy

Arise Awake and Stop NOT till the goal is Reached!
Gautam Shet
Advisor

Re: Unable to automount remote home directories on the NIS client

Hi Umapathy,
Thanks for the right URL. Updating on this matter, I am now getting the below message, when I try to log in:

Unable to change to your home directory. Continue to log in anyway?. Yes or No

It apparently is not mounting the user's home directory. Any pointers on how to resolve this problem?.
Mark Ellzey
Valued Contributor

Re: Unable to automount remote home directories on the NIS client

Hi,

A few things to check:
1. Make sure the automount daemon is running on the NIS client.
2. Make sure the directory is exported properly on the NIS server.
3. If you are using an /etc/netgroup file, make sure the NIS client's hostname is in that file.
4. Make sure you have run ypmake on your NIS server after any changes to the NIS maps (i.e, passwd, hosts).
5. Check the /var/adm/inetd.sec file; if used, make sure the client's hostname is listed in that file.

Also, check the syslog.log on both machines for any error messages. You can also turn on verbosity and logging for automount using the -v and -T switches. This will provide lots of information as to what is going on with automount.

Regards,
Mark