Solved

HP-UX 10.20 NIS fails on reboot

Posted on 2002-06-25
5
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 21

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 21

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

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.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

690 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