LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-25-2006, 03:22 AM   #1
hq4ever
Member
 
Registered: May 2004
Location: Israel
Distribution: Debian
Posts: 98

Rep: Reputation: 15
NIS on centos - Can't get correct rpcinfo reply


Hello everyone,
I'm setting up NIS on CentOS 4.3, here's how (horrible) it looks like:

<<<
# rpcinfo -u 10.0.0.202 ypserv
rpcinfo: RPC: Program not registered
program 100004 is not available
# /etc/init.d/ypserv restart
Stopping YP server services: [FAILED]
# /etc/init.d/ypserv restart
Stopping YP server services: [FAILED]
# /etc/init.d/ypserv start
# /etc/init.d/ypserv stop
Stopping YP server services: [FAILED]
# ps -ef | grep rpcinfo
root 3737 3591 0 10:52 pts/1 00:00:00 grep rpcinfo
# ps -ef | grep yp
root 3656 1 0 10:35 ? 00:00:00 rpc.yppasswdd
root 3739 3591 0 10:52 pts/1 00:00:00 grep yp
>>>

I'm also seeing this in /var/log/messages

<<<
May 25 10:46:47 merckx portmap[3693]: cannot bind udp: Address already in use
>>>

lso here is how portmap looks

<<<
rpcinfo -u localhost ypserv
rpcinfo: RPC: Program not registered
program 100004 is not available
>>>

<<<
# /etc/init.d/portmap stop
Stopping portmap: [ OK ]
# portmap -dv
server: about do a switch
portmap[3849]: connect from 127.0.0.1 to dump()
server: about do a switch
portmap[3851]: connect from 127.0.0.1 to getport(ypserv)
>>>

For hostname and domainname

<<<
# hostname
merckx.CORRECT.FQDN
# domainname
(none)
# nisdomainname
(none)
>>>

/etc/hosts points by hostname and by FQDN to the correct server IP.


Help?

Thank you,
Maxim.
 
Old 05-25-2006, 03:34 AM   #2
hq4ever
Member
 
Registered: May 2004
Location: Israel
Distribution: Debian
Posts: 98

Original Poster
Rep: Reputation: 15
Solved by setting NISDOMAIN=yournisdomain in /etc/sysconfig/network

Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rpcinfo script Ljohan Programming 1 04-24-2004 06:39 PM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM
rpcinfo tmorton Linux - Networking 0 09-17-2003 02:13 PM
showmount fails but rpcinfo works? rindress Linux - Networking 0 06-20-2003 01:58 PM
Evolution - reply - missing own reply emanuelgreisen Linux - Software 0 01-31-2003 04:40 AM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration