Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th July 2007, 05:04 PM
Joe_Higginbotha Offline
Registered User
 
Join Date: Jun 2007
Location: Katy, Texas - west of Houston
Age: 64
Posts: 5
Question NIS (ypbind) will not stay up on server

I have the firewall and security turned off all the way back from the install on the client and the server. If I go to the Server Configuration GUI and chedck the "yp" services I see that yppasswdd, ypserv, ypxfrd are all running but ypbind is stopped. I have these services set to be started in runlevels 3, 4, and 5.

I use the GUI to start ypbind on the NIS server. It replys ypbind has started but the configuration file shows ypbind is stopped.

The system log viewer shows the following:

ypbind: NIS server for domain xxx.yyy.com is not responding.

Any suggestions as to what I need to do?
Reply With Quote
  #2  
Old 31st December 2007, 07:01 PM
fallingrock's Avatar
fallingrock Offline
Registered User
 
Join Date: Nov 2007
Location: Chicagoland
Age: 49
Posts: 4
Quote:
Originally Posted by Joe_Higginbotha
ypbind: NIS server for domain xxx.yyy.com is not responding.
I found that the init script for ypbind has a bit of a problem ... it's assuming there will be a 15 second timeout when none occurrs.

I fixed the problem by adding a sleep 15s after the first check to see if NIS was active ...

Code:
     # the following fixes problems with the init scripts continuing
        # even when we are really not bound yet to a server, and then things
        # that need NIS fail.
        timeout=$NISTIMEOUT
        while [ $timeout -gt 0 ]; do
            /usr/sbin/rpcinfo -p | LC_ALL=C fgrep -q ypbind && \
                        /usr/bin/ypwhich > /dev/null 2>&1
            RETVAL=$?
            if [ $RETVAL -eq 0 ]; then
                break;
            fi
            echo -n "..."
                sleep 15s
            # ypwhich has a hardcode 15sec timeout
            # so subtract that from NISTIMEOUT to
            # to see of we should continue to wait
            timeout=`expr $timeout - 15`
        done
david
__________________
Java + RPG + Linux + System i = The ultimate business system combination

http://www.midrange.com
Reply With Quote
Reply

Tags
nis, server, stay, ypbind

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ypbind on fc9 failed beeloo EOL (End Of Life) Versions 6 23rd July 2011 08:18 AM
DNS Server I.P.s can not be added in NM and do not stay in network configuration util cmp282 Servers & Networking 2 8th December 2008 08:57 PM
dmoainname and ypbind whiteangel Using Fedora 1 17th March 2006 06:08 AM
ypbind dying CrystalCowboy Servers & Networking 3 23rd September 2005 06:36 PM


Current GMT-time: 04:18 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat