The Master database cannot be found when the NIS Master database is created ~~ Help me see ~~

Source: Internet
Author: User
The Master database cannot be found when the NIS Master database is created ~~ Help me see ~~ -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. I want to create a database
/Etc/hosts
127.0.0.1 localhost. localdomain localhost localhost4
: 1 localhost6.localdomain6 localhost6
192.168.100.2 Master
192.168.100.1 Slave

This will happen when you create a database.
[Root @ localhost ~] #/Usr/lib/yp/ypinit-m

At this point, we have to construct a list of the hosts which will run NIS
Servers. localhost. localdomain is in the list of NIS server hosts. Please continue to add
The names for the other hosts, one per line. When you are done with
List, type .
Next host to add: localhost. localdomain
Next host to add:
The master is changed to localhost. localdomain instead of = the Master I want. Why ~~~~ I have been searching online for a long time. It seems that no one has encountered such a problem ~~~~ : 0w223dc: 0w223dc

Then on the client
/Etc/hosts
127.0.0.1 localhost. localdomain localhost localhost4
: 1 localhost6.localdomain6 localhost6
192.168.100.2 Master
192.168.100.1 Slave

[Root @ localhost ~] #/Usr/lib/yp/ypinit-s Master
Can't enumerate map from Master. Please check it is running

[Root @ localhost ~] #/Usr/lib/yp/ypinit-s localhost. localdomain
Can't enumerate map from Master. Please check it is running

The client and server can be pinged ~~~ What should I do now ~~~~????? : 0 wszxc
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.