HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems after migrating NIS-Domain
Operating System - HP-UX
1825756
Members
2341
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-19-2008 01:48 AM
12-19-2008 01:48 AM
Problems after migrating NIS-Domain
We are moving our NIS master server from an old HP-UX 11.00 server to a new HP-UX 11.23 server.
All other servers have locale NIS slave servers and local NIS clients.
First everything was looking OK, but then we noticed that we could not distribute any changes to the NIS-clients.
These are the changes i did on the new nis master "adm":
I changed the home-directory of the user "fwtest" from /users/l143/wille to /users/admin/wille:
# cat /etc/passwd | grep fwtest
fwtest:6zmYp3MRFEGic:478:50:Testuser,,,,90:/users/admin/wille:/bin/sh
I created a new user "fwtst":
# cat /etc/passwd | grep fwtst
fwtst:6zmYp3MRFEGic:734:50:Testuser,,,,90:/users/h01/fwtst:/bin/sh
I created a new group and made user "wille" a member of this group
# cat /etc/group | grep nistest
nistest::998:wille
Some HP-UX Client ( e.G. for2) don´t recognize these changes:
for2 wille:/users/h01/wille :cd ~fwtest
newcd[2]: /users/l143/fwtest: not found
for2 wille:/users/h01/wille :su - fwtst
Password:
su: Unknown id: fwtst
for2 wille:/users/h01/wille :id
uid=455(wille) gid=100(kdt) groups=348(cs_sa),480(rusers),998(),70(gei),406(infosys),43(httpd),77(opcgrp),329(web)
But when I look at the NIS maps at the client "for2" , all information seems to be ok:
for2 wille:/users/h01/wille :ypcat passwd | grep fwtest
fwtest:6zmYp3MRFEGic:478:50:Testuser,,,,90:/users/admin/wille:/bin/sh
for2 wille:/users/h01/wille :ypcat passwd | grep fwtst
fwtst:6zmYp3MRFEGic:734:50:Testuser,,,,90:/users/h01/fwtst:/bin/sh
for2 wille:/users/h01/wille :ypcat group | grep nistest
nistest::998:wille
for2 wille:/users/h01/wille :ypwhich -m
passwd.byname adm3
ypservers adm3
servi.bynp adm3
auto.master adm3
group.bygid adm3
publickey.byname adm3
services.byname adm3
rpc.bynumber adm3
protocols.bynumber adm3
protocols.byname adm3
passwd.byuid adm3
netid.byname adm3
networks.byname adm3
networks.byaddr adm3
netgroup.byuser adm3
netgroup.byhost adm3
rpc.byname adm3
hosts.byname adm3
hosts.byaddr adm3
group.byname adm3
netgroup adm3
for2 wille:/users/h01/wille :nsquery passwd fwtst
Using "compat" for the passwd policy.
Searching compat for fwtst
User name: fwtst
User Id: 734
Group Id: 50
Gecos: Testuser,,2974,,90
Home Directory: /users/h01/fwtst
Shell: /bin/sh
Switch configuration: Terminates Search
for2 wille:/users/h01/wille :nsquery group nistest
Using "compat" for the group policy.
Searching compat for nistest
Group name: nistest
Group Id: 998
Group membership: wille
Switch configuration: Terminates Search
Seems to be a problem of the NIS-Client process or the user look up
This problem is on all older HP-UX NIS-Client-Server including HP-UX version 11.00 , 11.11 and 11.23
Newer HP-UX 11.23 Server ( about 1 year old ) and all Red Hat EL3 and EL4 Servers don´t have this problem.
I booted one HP-UX 11.00 System. After booting, everything was OK.
Because we cannot boot all our systems, I want to know what process needs to be restarted to fix this problem.
All other servers have locale NIS slave servers and local NIS clients.
First everything was looking OK, but then we noticed that we could not distribute any changes to the NIS-clients.
These are the changes i did on the new nis master "adm":
I changed the home-directory of the user "fwtest" from /users/l143/wille to /users/admin/wille:
# cat /etc/passwd | grep fwtest
fwtest:6zmYp3MRFEGic:478:50:Testuser,,,,90:/users/admin/wille:/bin/sh
I created a new user "fwtst":
# cat /etc/passwd | grep fwtst
fwtst:6zmYp3MRFEGic:734:50:Testuser,,,,90:/users/h01/fwtst:/bin/sh
I created a new group and made user "wille" a member of this group
# cat /etc/group | grep nistest
nistest::998:wille
Some HP-UX Client ( e.G. for2) don´t recognize these changes:
for2 wille:/users/h01/wille :cd ~fwtest
newcd[2]: /users/l143/fwtest: not found
for2 wille:/users/h01/wille :su - fwtst
Password:
su: Unknown id: fwtst
for2 wille:/users/h01/wille :id
uid=455(wille) gid=100(kdt) groups=348(cs_sa),480(rusers),998(),70(gei),406(infosys),43(httpd),77(opcgrp),329(web)
But when I look at the NIS maps at the client "for2" , all information seems to be ok:
for2 wille:/users/h01/wille :ypcat passwd | grep fwtest
fwtest:6zmYp3MRFEGic:478:50:Testuser,,,,90:/users/admin/wille:/bin/sh
for2 wille:/users/h01/wille :ypcat passwd | grep fwtst
fwtst:6zmYp3MRFEGic:734:50:Testuser,,,,90:/users/h01/fwtst:/bin/sh
for2 wille:/users/h01/wille :ypcat group | grep nistest
nistest::998:wille
for2 wille:/users/h01/wille :ypwhich -m
passwd.byname adm3
ypservers adm3
servi.bynp adm3
auto.master adm3
group.bygid adm3
publickey.byname adm3
services.byname adm3
rpc.bynumber adm3
protocols.bynumber adm3
protocols.byname adm3
passwd.byuid adm3
netid.byname adm3
networks.byname adm3
networks.byaddr adm3
netgroup.byuser adm3
netgroup.byhost adm3
rpc.byname adm3
hosts.byname adm3
hosts.byaddr adm3
group.byname adm3
netgroup adm3
for2 wille:/users/h01/wille :nsquery passwd fwtst
Using "compat" for the passwd policy.
Searching compat for fwtst
User name: fwtst
User Id: 734
Group Id: 50
Gecos: Testuser,,2974,,90
Home Directory: /users/h01/fwtst
Shell: /bin/sh
Switch configuration: Terminates Search
for2 wille:/users/h01/wille :nsquery group nistest
Using "compat" for the group policy.
Searching compat for nistest
Group name: nistest
Group Id: 998
Group membership: wille
Switch configuration: Terminates Search
Seems to be a problem of the NIS-Client process or the user look up
This problem is on all older HP-UX NIS-Client-Server including HP-UX version 11.00 , 11.11 and 11.23
Newer HP-UX 11.23 Server ( about 1 year old ) and all Red Hat EL3 and EL4 Servers don´t have this problem.
I booted one HP-UX 11.00 System. After booting, everything was OK.
Because we cannot boot all our systems, I want to know what process needs to be restarted to fix this problem.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2008 06:08 AM
12-19-2008 06:08 AM
Re: Problems after migrating NIS-Domain
Hi,
restart of the pwgrd daemon seems to fix the problem:
/sbin/init.d/pwgr stop
/sbin/init.d/pwgr start
guenther
restart of the pwgrd daemon seems to fix the problem:
/sbin/init.d/pwgr stop
/sbin/init.d/pwgr start
guenther
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP