Re: NIS server issue



My configuration procedure is :

1. Entry in /etc/sysconfig/network
NISDOMAIN=domainname.com

2. Entry in /var/yp/securenets
#cat /var/yp/securenets
255.255.255.255 127.0.0.1
255.255.255.0 192.168.0.0

3. #service portmap status
portmap (pid 2756) is running...

4. service ypserv start
Starting YP server services: [ OK ]

5. Entry in /var/yp/Makefile
.............
all: passwd group hosts rpc services netid protocols mail
..............

6.To generate NIS maps
#/usr/lib/yp/ypinit -m

7. service yppasswdd start
8. service ypxfrd start

9. The output of
# rpcinfo -p localhost
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32769 status
100011 1 udp 737 rquotad
100011 2 udp 737 rquotad
100011 1 tcp 740 rquotad
100011 2 tcp 740 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32772 nlockmgr
100021 3 udp 32772 nlockmgr
100021 4 udp 32772 nlockmgr
100021 1 tcp 32770 nlockmgr
100021 3 tcp 32770 nlockmgr
100021 4 tcp 32770 nlockmgr
100005 1 udp 753 mountd
100005 1 tcp 756 mountd
100005 2 udp 753 mountd
100005 2 tcp 756 mountd
100005 3 udp 753 mountd
100005 3 tcp 756 mountd
100009 1 udp 947 yppasswdd
600100069 1 udp 881 fypxfrd
600100069 1 tcp 883 fypxfrd
100004 2 udp 868 ypserv
100004 1 udp 868 ypserv
100004 2 tcp 871 ypserv
100004 1 tcp 871 ypserv

-------------

the entry in /etc/nsswitch.conf
passwd: nis files
shadow: nis files
group: nis files

Now at the client end I used authconfig
and the errors are
#authconfig
Stopping portmap: [ OK ]
Starting portmap: [ OK ]
setsebool: SELinux is disabled.
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server...

It wait long at the last line.
Finally failed
the err message at /var/log/messages
Dec 29 11:22:04 station3 ypbind: ypbind shutdown failed

The same setting work with other server.

???????



On 12/29/06, nilesh vaghela <nileshj.vaghela@xxxxxxxxx> wrote:

Thax for your answer.

All client are working with one server with the same settings.

But whenever I configure other pc as NIS server the same clients are not
working.

The err

On 12/28/06, Barry Brimer <lists@xxxxxxxxxx > wrote:
>
> Make sure portmap is running on the systems that are not working
> correctly.
>
> On Thu, 28 Dec 2006, nilesh vaghela wrote:
>
> > I found some strange issue with NIS??
> >
> > Is NIS depends on the Hardware ?/
> >
> > Because it works with few computers but not working on few computers.
> >
> > What is to be check??
> >
> > --
> > Nilesh Vaghela
> > ElectroMech
> > Redhat Channel Partner and Training Partner
> > 74, Nalanda Complex, Satellite Rd, Ahmedabad
> > 25, The Emperor, Fatehgunj, Baroda.
> > www.electromech.info
> > --
> > redhat-list mailing list
> > unsubscribe mailto: redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> > !DSPAM:4593f4ce292631603017485!
> >
> >
>
> --
> redhat-list mailing list
> unsubscribe mailto: redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info




--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • NFS problem with recent 2.6 kernels (also serial console weirdness)
    ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... mounted filesystem with ordered data mode. ... Mounted root (ext3 filesystem) readonly. ...
    (Linux-Kernel)
  • Re: Troubleshooting NIS
    ... from the client machine. ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... 100004 2 udp 667 ypserv ...
    (Debian-User)
  • Solaris 9 <---> linux (2.6.8) NFS file locking problem?
    ... to the same file placed on nfs filesystem. ... 100000 4 tcp 111 portmapper ... 100000 4 udp 111 portmapper ... 100021 1 udp 4045 nlockmgr ...
    (SunManagers)
  • Urgent help with Secure NFS.
    ... have that option - I'm just attempting to tunnel all NFS traffic to the ... 100000 4 tcp 111 rpcbind ... 100000 4 udp 111 rpcbind ... 100021 1 tcp 49153 nlockmgr ...
    (SSH)
  • Re: nfs error
    ... kernel: nfs: server ... So if your system uses ypbind be sure that is working properly before ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ...
    (comp.sys.sun.admin)