NIS server processes

  • To verify the NIS server is running:
    
    ps -ef | grep yp
    
      root 1938 1 0 11:22 ? 00:00:00 /usr/sbin/ypserv root 1941 1 0 11:22 ? 00:00:00 /usr/sbin/rpc.yppasswdd -D /etc -e chsh root 1944 1 0 11:22 ? 00:00:00 /usr/sbin/rpc.ypxfrd

  • Alternatively, it can be chacked through rpcinfo command:
    
    rpcinfo -p | grep yp
    
      100004 2 udp 844 ypserv 100004 1 udp 844 ypserv 100004 2 tcp 847 ypserv 100004 1 tcp 847 ypserv 100009 1 udp 846 yppasswdd 600100069 1 udp 849 ypxfrd 600100069 1 tcp 851 ypxfrd
  • To see if a client can access the NIS services on the NIS server, for example node18, run rpcinfo on the client host:
    
    rpcinfo -p node18 | grep yp
    

  • To start NIS services at boot-up time, run
    
    update-rc.d portmap defaults
    update-rc.d nis defaults
    


    Previous Pageprevious First Pagetop Next Pagenext