Solved

HP-UX 10.20 NIS fails on reboot

Posted on 2002-06-25
5
402 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
ID: 7108611
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
ID: 7111230
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
ID: 7166432
jdewitt, has that resolved the problem?
0
 

Expert Comment

by:liloXwin
ID: 7299867
0
 

Expert Comment

by:ComTech
ID: 7300750
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DHCP for a guest wireless network 1 74
Linksys 4 port wireless router 62 56
Network access 4 37
VPS for routing recomendations 3 49
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

813 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

18 Experts available now in Live!

Get 1:1 Help Now