Solved

HP-UX 10.20 NIS fails on reboot

Posted on 2002-06-25
5
400 Views
Last Modified: 2013-12-23
setting up NIS on HP-UX 10.20, I can get NIS running for that session, but when I reboot NIS is not running. How do I tell it to run NIS "everytime"?! I have followed instructions on HP's site, tried tricks used in SunOS & Solaris, no luck. I used SAM, followed the directions therein, but it still craps out on reboot!!!!
0
Comment
Question by:jdewitt
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
have no access to 10.x, but on 9.x you ned to set
  NISDOMAIN=your-domain
  NIS_CLIENT=1
in /etc/netnfsrc

Anyway, sam should do it also. Are there error messages in you logfile, probaly that ypwhich failed?
0
 
LVL 20

Accepted Solution

by:
tfewster earned 250 total points
Comment Utility
For HP-UX 10.20, edit /etc/rc.config.d/namesvrs:
NIS_CLIENT=1
NIS_DOMAIN=your-domain

ahoffmann is correct (of course :), enabling NIS via SAM should update the namesvrs file for you.

Possibly the startup scripts don't exist; Check if /sbin/init.d/nis.client exists (the startup script that uses the namesvrs config file) and that there is a link to in the rc2.d startup directory, e.g.

/sbin/rc2.d> ll |grep nis
lrwxr-xr-x   1 root       sys             23 Jul 23  1997 S410nis.server -> /sbin/init.d/nis.server
lrwxr-xr-x   1 root       sys             23 Jul 23  1997 S420nis.client -> /sbin/init.d/nis.client

ll /sbin/init.d/nis.client
-r-xr-xr-x   1 bin        bin           8053 May 30  1996 /sbin/init.d/nis.client

If they all look OK, check /etc/rc.log for errors when the system tries to execute the startup script
0
 
LVL 20

Expert Comment

by:tfewster
Comment Utility
jdewitt, has that resolved the problem?
0
 

Expert Comment

by:liloXwin
Comment Utility
0
 

Expert Comment

by:ComTech
Comment Utility
This person has been suspended for multiple violations of the Member Agreement, and will reject the proposed answer, and return your question to the Active Questions List.  The Moderator Group is deleting all 388 locked questions.

These were posted by three persons:

quirkyquirky
EliteKiller
liloXwin
 
Thank you,
ComTech
CS Admin @ EE
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now