- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- NIS Account creation
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
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
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
03-08-2013 01:24 AM
03-08-2013 01:24 AM
NIS Account creation
After that user account creation , we try to put make , but it exits imediately
#make
gmake[1]: Entering directory `/var/yp/NIS'
Updating netid.byname...
gmake[1]: Leaving directory `/var/yp/NIS'
#
normally once type make, this command update passwd.byname, passwd.uid, groupby.name,group.bygid after that netid.byname . but yesterday i try to pur make, this not update properly, please find the above error. what service we need to restart without affect any servies.
- Tags:
- NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2013 03:11 AM
03-08-2013 03:11 AM
Re: NIS Account creation
That is not an error: the make command seems to think that only the source file for the "netid.byname" map has been changed since the NIS maps were created, so only that map needs to be updated.
Perhaps someone or something already ran the "make" command for you? Use "ypcat passwd | grep <username>" to see if the <username> is already listed in the NIS maps. Or check the timestamps of the passwd.byname and passwd.byuid files in the /var/yp/NIS directory, and compare them to the timestamp of /etc/passwd.
Normally, the /etc/passwd and /etc/group files on the NIS master are used as the source files for the creation of NIS user and group maps. But it is possible to change this, e.g. to allow the NIS master server to have a different set of users than the rest of the NIS domain. In that case, the YPSRCDIR, YPPWDIR, GROUP and/or PASSWD variables in the Makefile have probably been modified to use some non-default passwd and group files.
There are many other custom configurations that can be achieved by changing the variables in the beginning of the /var/yp/Makefile. Without seeing the values of these variables, it is impossible to know for sure what is actually causing your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2013 08:38 PM
03-08-2013 08:38 PM
Re: NIS Account creation
pls find the output
ypcat passwd | grep rajesh
No such map passwd.byname. Reason: Can't bind to server which serves this domain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2013 08:39 PM
03-08-2013 08:39 PM
Re: NIS Account creation
pls confirm any file is corrept or we need to restart service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2013 04:06 AM
03-09-2013 04:06 AM
Re: NIS Account creation
> No such map passwd.byname. Reason: Can't bind to server which serves this domain
Maybe the NIS server has no ypbind process running? (The NIS server can serve the NIS database to other hosts without it, but having ypbind running would allow NIS troubleshooting on the server.)
Try running the ypcat command on another host that definitely is a NFS client. If the same error is returned, then there is a problem with the ypserv process on the NIS server host; if not, the problem is with the ypbind process on the host that produces the error.
Is the NIS domainname set correctly? Based on the pathname /var/yp/NIS, the NIS domainname should apparently be "NIS". Run "ypdomainname" or "nisdomainname" to display the current NIS domain name.