- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nis issues -
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
08-12-2004 07:16 AM
08-12-2004 07:16 AM
very urgent!
NIS master # ypcat passwd |wc -l
output is 23
# cat /etc/passwd |wc -l
output is 1107
the nis master files seem to have become corrupt and we have many users not able to login
has anyone got any tips please
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 07:30 AM
08-12-2004 07:30 AM
Re: nis issues -
# touch /etc/passwd
# /var/yp/ypmake
Make sure the passwd maps are re-built and pushed to any slaves.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 07:38 AM
08-12-2004 07:38 AM
Re: nis issues -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 09:10 AM
08-12-2004 09:10 AM
Re: nis issues -
We have logged a call with HP and they have advised to run ypinit -m,
during this process the system is asking for slaves
what commnad can be run to identify slave servers form the master>?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 09:17 AM
08-12-2004 09:17 AM
Re: nis issues -
Try this:
# cd /var/yp/
# makedbm -u ypservers
On my NIS master, this returns:
hpatcux1 hpatcux1
hpatcux2 hpatcux2
hpatcux4 hpatcux4
YP_LAST_MODIFIED 1092346033
YP_MASTER_NAME hpatcux1
This shows the master is "hpatcux1" and the slaves are "hpatcux2" and "hpatcux4".
Good luck,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 01:37 PM
08-12-2004 01:37 PM
Re: nis issues -
After running commands with ypservers, it was evident that the master NIS was pointing to a slave server.
this happened because the ypmake was used on a server other than the master
To prevent this would I have to add something to the ypmake script to determine which server the command is being run on?
Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2004 02:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2004 06:19 PM
08-15-2004 06:19 PM