- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS Problems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2006 09:14 AM
11-13-2006 09:14 AM
NIS Problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2006 09:36 AM
11-13-2006 09:36 AM
Re: NIS Problems
First step in an ugly process.
See if the nis daemons are running.
The start/stop scrips are in /sbin/init.d
They start with nis, there is a server or client program.
stop the client
stop the server
start the server
start the client
Take a look at the config files in /etc/rc.config.d/namesvrs and see what the intent of the setup is.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2006 07:36 AM
11-14-2006 07:36 AM
Re: NIS Problems
1) On one of the three servers the NIS_DOMAIN setting in the /etc/rc.config.d/namesvrs config file was different from the other two. I fixed that so all three servers have the same NIS_DOMAIN.
2) On all three servers I confirmed that the namesvrs config file has
NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
NIS_CLIENT=0
NISPLUS_SERVER=1
NISPLUS_CLIENT=1
3) ps -ef on each of the three servers showed a different set of demons running. One had rpc.nispasswdd, another had rpc.nisd and the third had nis_cachemgr. Also a couple of them had keyserv.
4) On all three servers I stopped the demons with
# /sbin/init.d/nisplus.client stop
# /sbin/init.d/nisplus.server stop
5) On all three servers I started the demons with
# /sbin/init.d/nisplus.server start
# /sbin/init.d/nisplus.client start
6) On one of the three servers ps -ef shows:
# ps -ef | grep nis
root 23889 1 210 15:01:40 ? 10:03 /usr/sbin/nis_cachemgr
root 23852 1 20 15:00:26 ? 1:52 /usr/sbin/rpc.nisd
On another I see:
# ps -ef | grep nis
root 20418 1 205 14:52:03 ? 9:55 /usr/sbin/nis_cachemgr
root 20387 1 0 14:51:01 ? 0:00 /usr/sbin/rpc.nispasswdd
root 20382 1 101 14:51:01 ? 7:28 /usr/sbin/rpc.nisd
On the third server ps -ef hangs now (didn't before) and never returns without ctrl-c. Incidentally, that's the same server where I changed the NIS_DOMAIN to match the other two.
7) On all three servers "niscat passwd.org_dir" still hangs.
Any more suggestions? :)
TIA,
Barry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2006 08:41 AM
11-15-2006 08:41 AM
Re: NIS Problems
passwd: files
group: files
hosts: files
services: files
I changed it to look like:
passwd: files nisplus
group: files nisplus
hosts: nisplus [NOTFOUND=return] files
services: nisplus [NOTFOUND=return] files
Then I stopped and started the NIS+ servers again, and voila, niscat now works, and doesn't hang!
Thanks again to SEP, whose excellent suggestions got me going on the right track.
Regards,
Barry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2006 09:43 PM
11-29-2006 09:43 PM
Re: NIS Problems
Can you test an "nisping -C" on server, nisls org_dir on host,niscat -o paswwd.org_dir on the server ? Give me the return
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 01:05 PM
07-16-2008 01:05 PM