?
Solved

RPC error possibly ypserv fault?

Posted on 2001-07-02
2
Medium Priority
?
694 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 400 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

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 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