- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nis server not registered at <host> error with ypp...
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
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
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-22-2002 04:09 AM
тАО11-22-2002 04:09 AM
nis server not registered at
If I try to use ypmake instead of yppush, I get the same error the first time I try it, but if I reissue the ypmake, it works!!
Whats the deal?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 04:16 AM
тАО11-22-2002 04:16 AM
Re: nis server not registered at <host> error with yppush
Check with rpcinfo -p ( host) if nis is registered.
if not
restart the nis server/client:
/sbin/init.d/nis.server stop
/sbin/init.d/nis.server start
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 08:30 AM
тАО11-22-2002 08:30 AM
Re: nis server not registered at <host> error with yppush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 09:22 AM
тАО11-22-2002 09:22 AM
Re: nis server not registered at <host> error with yppush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 09:31 AM
тАО11-22-2002 09:31 AM
SolutionYou have a map called ypservers.
Test this with
% ypcat ypservers
You have a server in this map which is not running ypserv (so not a slave).
Hence your error
To fix this, lets re-create that map.
% cd /var/yp
% echo "nis_master" >ypshosts
% echo "slave_name" >>ypshosts
If you dont have any slaves, ignore the second echo.
Now from still within the /var/yp directory
% cd `domainname`
% makedbm ../ypshosts ypservers
Now do:
% ypcat ypservers
Does the list match up? It should match the list you made in ypshosts
Now run make or ypmake, and the error should not be there!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 09:40 AM
тАО11-22-2002 09:40 AM
Re: nis server not registered at <host> error with yppush
Guess I spouted cuz this is one I didnt have to experiment with to fix! hehe Please dont take offense.
No points for this please!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 09:53 AM
тАО11-22-2002 09:53 AM
Re: nis server not registered at <host> error with yppush
On the NIS master
=================
# cd /var/yp/
# makedbm -u ypservers >> ../nis-server-list
# cat ../nis-server-list
This list contains all the masters and slaves in your NIS environment. And Shannon is saying that there might be some hosts in this list which is not valid anymore. Am I right Shannon? And hence suggested that your recreate "ypservers". I would just edit "nis-server-list" and push it out.
# vi ../nis-server-list
==> Delete invalid host entries
# makedbm ../nis-server-list ypservers
==> Recreate the DB.
# /var/yp/ypmake
==> Now push it out. If that does not quite go, run this instead ..
# yppush -v ypservers
On the client side, check ..
# ypcat -k ypservers
Also no points on this one please .. Shannon caught it first :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 10:47 AM
тАО11-22-2002 10:47 AM
Re: nis server not registered at <host> error with yppush
ypcat ypservers
it returned two blank lines!!!
However, ypmake now seems to work fine without errors!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2002 11:14 AM
тАО11-22-2002 11:14 AM
Re: nis server not registered at <host> error with yppush
# ypcat -k ypservers