- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS is dropping since server move.
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
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
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
тАО12-26-2000 08:55 AM
тАО12-26-2000 08:55 AM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2000 09:13 AM
тАО12-26-2000 09:13 AM
Re: NIS is dropping since server move.
Perform the following steps to bind the client to the server:
1. Insert the following two lines in the appropriate section of the
'/etc/netnfsrc' file:
Note: Insert the lines between what is currently lines 248 and 249.
if [ $NIS_CLIENT -ne 0 -a -f /etc/ypbind ] ; then
/etc/ypbind -ypset && echo "\t/etc/ypbind"
sleep 5 >>add this line
/usr/etc/yp/ypset ip_addr_of_master >>add this line
set_return 2. Re-start NIS: /etc/netnfsrc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2000 09:56 AM
тАО12-26-2000 09:56 AM
Re: NIS is dropping since server move.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2000 12:16 PM
тАО12-26-2000 12:16 PM
Re: NIS is dropping since server move.
Try looking in /sbin/init.d/nis.client or /sbin/init.d/nis.server and see if that helps.
I assume you changed the ypservers map to reflect the new subnet that you servers are on? You also changed the IP addresses within the hosts NIS map, and DNS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2000 12:29 PM
тАО12-26-2000 12:29 PM
SolutionIf the NIS client and server are on the same IP subnet:
1) The subnet masks for the NIS client and server must be the same. You can verify this with:
/etc/ifconfig lan0
2) Try to ypset NIS client manually to the server with the following command:
/usr/etc/yp/ypset (ip_address_of_NIS_server)
(Use the IP address since the client doesn't have the hostname yet.)
3) Check to see if the client is bound to the NIS server with the following command:
ypwhich
The NIS server name will print if bound.
- If the NIS client and server are on different subnets:
1) You must ypset the NIS client manually to the server with the following command:
/usr/etc/yp/ypset (ip_address_of_NIS_server)
2) Check to see if the client is bound to the NIS server with the following command:
ypwhich
The NIS server name will print if bound.
3) Add a slave to the subnet.
- If you still cannot bind to the NIS server:
1) Verify that the server does serve the domainname expected by the client. On the NIS server, issue the following command:
ls /usr/etc/yp | grep (domain_name)
2) Verify the server keeps the NIS database files in the /usr/etc/yp/(name_of_NIS_domain) directory.
3) Also verify again that ypserv is running on the NIS server with the following command:
ps -ef | grep ypserv
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2000 10:26 AM
тАО12-27-2000 10:26 AM
Re: NIS is dropping since server move.
Thanks