NIS requires portmapper (rpcbind) to be active also. Is this running?
Hi,
Good Day.
I'm a novice to linux and trying fedoracore 9 as NIS server using VMware, i followed the steps from
linuxhomenetworking.com/Quick_HOWTO Ch30_:_Configuring_NIS
I started in the "Configuring the NIS Server" portion and Installed ypserve rpm for fedora9 i386, all worked fine until after i start ypbind service, when i do rpcinfo -g localhost the service is not available..but if i do service ypbind status, it shows it as running..
now if i create an nis user and i do ypmatch it will give me "can't match key user in map passwd.byname: Internal NIS error"
hope anybody can help or give me advice on this..
thanks,
joel
NIS requires portmapper (rpcbind) to be active also. Is this running?
yes, portmapper is running
below is my rpcinfo:
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 0 111 portmapper
100000 3 0 111 portmapper
100000 2 0 111 portmapper
100009 1 udp 980 yppasswdd
100004 2 udp 994 ypserv
100004 1 udp 994 ypserv
100004 2 tcp 997 ypserv
100004 1 tcp 997 ypserv
600100069 1 udp 822 fypxfrd
600100069 1 tcp 824 fypxfrd
only ypbind is not running but if i do service ypbind status it gives me :
ypbind (pid 7504) is running...
could this be firewall issue.? i tried adding port 924 udp and 927 tcp on my firewall for the one i read has their ypbind using this port and protocol but still it wont work..
thanks for the inputs..![]()
It could be a firewall issue. have you tried using tcpdump to see whether the outgoing NIS packets are getting any replies?
What does syslog say? Debug level logging would give the best results.
i will try your suggestion and update this after. I will still have to search more on debug level logging and tcpdump to understand it more..
by the way, i get can't "communicate with ypbind" if i run yptest domain name is ok.
again thanks,
Where's the firewall? iptables on the VMware instance or a separate appliance? NIS mostly uses broadcast traffic when communicating with clients, and unicast when communicating with other servers. You'll need to take that into consideration.
Does it work when the firewall is disabled?
still did not work when Firewall was disabled.
i also noticed that if i do rpcinfo the user for yp daemons available is unknown..could this be a problem?
Do you see anything in syslog that looks unusual? Most likely in your /var/log/messages file. Running at debug level will help you out a lot.
Bookmarks