Yppasswdd not running on nis master server

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Yppasswdd not running on nis master server
# 1  
Old 07-15-2013
Yppasswdd not running on nis master server

Goodmorning

i am preparing Nis for my test lab.Running Redhat 5.4 on master and centos for my client.Master server running portmap,ypserv,yppasswdd and client running portmap,ypbind and ypxfrd.
ypcat and other yp commands are running fine frm client.But when i try yppasswdd on client to change password on server it gets error - yppasswdd not running on Nis master server ( domain ).checked var/log/message but nothing is thr.
please help me.

---------- Post updated at 03:42 AM ---------- Previous update was at 02:47 AM ----------

hi guys

i found solution on google after long time but still didnt understand what was the problem

shifted my host name on second line in hosts file and added my server ip address like
127.0.0.1 local host
192.168.x.x myhost myhost.domain.

please let me know the reason.

thank you
# 2  
Old 07-15-2013
ypxfrd is needed on the NIS master only if there are NIS slave servers that are configured to pull copies from the NIS master by means of ypxfr command
in crontab; also needed if a new slave server is added with ypinit command.
I recommend to use yppush in the master's /var/yp/Makefile that pushes copies to the NIS slaves if a map was changed.
ypxfrd is never needed on a NIS client.
Password is changed with yppasswd command; passwd command should work, too.
Each NIS client should have IP addresses of the NIS servers (master and slaves) configured (in /etc.yp.conf or other file, depends on Linux distro). If hostnames are configured it needs /etc/hosts entries to translate them to IP addresses.
A yppasswd talks to the yppasswdd on the NIS master. Could be that it reports own hostname and IP address where yppasswdd then performs a sanity check (safety is not the right word here).

Last edited by MadeInGermany; 07-15-2013 at 10:26 PM..
This User Gave Thanks to MadeInGermany For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to find out which server is LDAP/NIS master?

I have some scripts where I go and do some LDAP/NIS queries to report on users on Unix servers. What I am trying to figure out is, how do I know which server is the LDAP? The configs have been in place long before I took over so was hoping someone had some insight on how to figure this out. I must... (1 Reply)
Discussion started by: dagamier
1 Replies

2. UNIX Desktop Questions & Answers

How can I replicate master master and master master MySQL databse replication and HA?

I have an application desigend in PHP and MySQl running on apache web server that I is running on a Amazon EC2 server Centos. I want to implement the master-master and master slave replication and high availability disaster recovery on this application database. For this I have created two... (0 Replies)
Discussion started by: Palak Sharma
0 Replies

3. HP-UX

NIS Master and Client problem

I have a NIS Master server and NIS Clients. But when I started the service all the process and files that should be owne by root apper by the owner 0 This is an example 0 1709 1708 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4 0 1710 1709 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4 0 1708 1 0 10:06:10 ? 0:00... (2 Replies)
Discussion started by: GCSG
2 Replies

4. Solaris

Error while configuring NIS master

Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in tags. /usr/sbin/ypinit -m In order for NIS to operate sucessfully, we have to construct a list of the NIS servers. Please... (1 Reply)
Discussion started by: manju--
1 Replies

5. Solaris

Problem while setting NIS master on Solaris 10

Hi All, I get below error while running cd /var/yp /usr/sbin/ypinit -m Error Code - 1 updated netmasks make : warning : target all not remade because of errors current working dir /var/yp *** error code 1 *** make : fatal error : command failed for target 'k' error running... (4 Replies)
Discussion started by: naw_deepak
4 Replies

6. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

7. UNIX for Advanced & Expert Users

Moving NIS master to new machine

I am running a DNS/NIS server on and older 2.6 system. I would like to move it to a newer system running Sol9. I have not found a good HOWTO and was looking for some advice. Thanks in advance. Dave (4 Replies)
Discussion started by: dlalonde
4 Replies

8. UNIX for Advanced & Expert Users

NIS master / slave problems

Our NIS master server went down. We have since fixed it and brought it back up. However all of are machines still point to the slave server when looking at it with ypwhich. My question is how do i point the servers back to the master. Frank (2 Replies)
Discussion started by: frankkahle
2 Replies

9. UNIX for Dummies Questions & Answers

NIS map mail.aliases specified, but NIS not running

Hi all, I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following, "NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies
Login or Register to Ask a Question