- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS client problem
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
04-14-2003 12:09 AM
04-14-2003 12:09 AM
I've a problem with a NIS client at UX 11.0.
I've one NIS server at UX 10.20 and a NIS slave server at UX 10.20.
My client always take the slave server as NIS server but he don't get the NIS infos.
What can I do to direct it to the right server?
Do you need more infos?
Volkmar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 12:26 AM
04-14-2003 12:26 AM
Re: NIS client problem
take a look at next docs,
How to use ypinit -c on HP NIS client to bind to specific server
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062922422
After upgrade to 11.0 - ypbind will not bind to remote NIS Server
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063248506
Hope this is what you are looking for,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 12:32 AM
04-14-2003 12:32 AM
Re: NIS client problem
# ifconfig lan0
on the slave & client would show you that. Check you slave to see if it's getting the latest distributed maps or not (/var/yp/domainname>). How's your slave binding to the master ? Attach the /etc/rc.config/namesvrs file would be of help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 01:12 AM
04-14-2003 01:12 AM
Re: NIS client problem
sorry one mistake: client is also UX10.20.
Attached namesrvs of the slave NIS server.
I think I twisted NIS at the slave last week.
How do I use ypinit so the slave gets its NIS infos again?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 02:28 AM
04-14-2003 02:28 AM
Re: NIS client problem
set the IP of server at YPSET_ADDR="x.x.x.x" in namesvrs file.
#sbin/init.d/nis.client stop/start
should do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 03:07 AM
04-14-2003 03:07 AM
Solution# /sbin/init.d/nis.client stop
# /sbin/init.d/nis.server stop
# cd /var/yp
# mv foo foo.old
==> Renaming the existing dir where the NIS db sits.
# domainname foo
# /usr/sbin/ypinit -s
==>> Copy the DBs from Master
# ll foo
=> Make sure DBs are there.
# /sbin/init.d/nis.server start
# /sbin/init.d/nis.client start
Check the processes and you should have 3 processes running. There are ..
o /usr/lib/netsvc/yp/ypserv
o /usr/sbin/ypxfrd
o /usr/lib/netsvc/yp/ypbind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 03:12 AM
04-14-2003 03:12 AM
Re: NIS client problem
If your slave is NOT in the same subnet as your master then you need to make additional edit to "namesvrs" on the slave to look like this ..
..
YPBIND_OPTIONS="-ypset"
......
YPSET_ADDR="
...
Then repeat the above procedure to rebuild your NIS DBs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 03:58 AM
04-14-2003 03:58 AM
Re: NIS client problem
thanks a lot slave and client is running again.
foo.old can be removed?
One error message:
ypxfr: can't get order number for map ethers.byaddr from ypserv at 160.1.3.22
reason: no such map in server's NIS domain
Do you know what it means?
Something serious?
Thanks again
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 06:21 AM
04-14-2003 06:21 AM
Re: NIS client problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 07:48 AM
05-01-2003 07:48 AM
Re: NIS client problem
Sorry its solved, what had happened was that the masters config was copied over, /etc/passwd/ was infact for the master server, it was missing the +::0:0::: string at the end of the file. So it was infact looking at the local passwd file only.
Thanks for all the speedy help.
Jat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2006 09:30 PM
09-20-2006 09:30 PM