Solved

RPC error possibly ypserv fault?

Posted on 2001-07-02
2
689 Views
Last Modified: 2007-12-19
Hi

I'm running RedHat6.0 and have installed:

ypbind-3.3-20
yp-tools-2.3.1
ypserv-1.3.6.91-1

On running ypcat passwd nothing happens (no error messages, no list of users).  The domainname is set correctly, and ypwhich returns the name of the ypserver.  NIS client users are unable to logon.  rpcinfo -u localhost ypserv gives:

rpcinfo: RPC: Timed Out
program 100004 version 1 is not available
rpcinfo: RPC: Timed Out
program 100004 version 2 is not available

but strangely, rpcinfo -u <hostname> ypserv gives:
program 100004 version 1 ready and waiting
program 100004 version 2 ready and waiting

The rpc.yppasswdd, ypbind (master), ypbind (slave) and ypserv daemons are all running.

Any ideas?
Many thanks
Roy
0
Comment
Question by:doyston
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
edvinkv earned 100 total points
ID: 6248077
see /etc/nsswitch.conf file. It should be properly configured to contact nis
if required to get users password.

read man nsswitch.conf

heres a sample file.



#
# /etc/nsswitch.nis:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd:     files nis
group:       nis  files

# consult /etc "files" only if nis is down.
hosts:      dns nis files
networks:   nis files
protocols:  nis files
rpc:        nis files
ethers:     nis files
netmasks:   nis files
bootparams: nis files
publickey:  nis files

netgroup:   nis

automount:  files nis
aliases:    files nis

# for efficient getservbyname() avoid nis
services:   files nis
sendmailvars:   files
0
 

Author Comment

by:doyston
ID: 6248607
Many thanks for your help!
Problem solved
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
apache and php 3 151
App holding yum lock unable to update my rpm package 1 90
Setting up two Raspberry Pi gateways/routers 3 111
Master-Master-Slave BIND setup 2 31
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question