<br><b><i></i></b>Hi,<br><blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>We have one Fedora core5 Server for NIS and NFS running on it and there is<br>also a second server for NFS. We have two NFS servers to distribute the<br>load as well as increase disk quota for users. We have also the second NFS<br>server configured as a NIS secondary for more load balancing.<br><br>The configuration works fine most of the time but sometimes it is seen<br>that the server either stops authenticating the client or does not mount<br>the home directory of clients and reports a rpc time out.The log messages<br>generated at that time are as below:<br><br>***The client side log messages comming are:<br><br>Aug 31 15:25:29 localhost automount[2270]: >> mount: RPC: Timed out Aug 31<br>15:25:29 localhost automount[2270]: mount(nfs): nfs: mount failure<br>172.16.88.13:/home1/sachsrinu on /home/sachsrinu<br>Aug 31 15:25:29
 localhost automount[2270]: failed to mount /home/sachsrinu<br>Aug 31 15:25:29 localhost gdm[2175]: gdm_slave_session_start: Home<br>directory for sachsrinu: '/home/sachsrinu' does not exist!<br>Aug 31 15:25:33 localhost ainit:<br>Aug 31 15:25:33 localhost ainit:<br><br>***The server side log messages comming are:<br><br>Aug 31 15:21:41 nismaster ypserv[1784]: refused connect from<br>172.16.91.237:706 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:22:03 nismaster mountd[15524]: authenticated mount request from<br>172.16.92.250:979 for /home1/bheeku16 (/home1)<br>Aug 31 15:22:37 nismaster ypserv[1784]: refused connect from<br>172.16.90.201:880 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:22:37 nismaster ypserv[1784]: refused connect from<br>172.16.90.201:929 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:22:39 nismaster mountd[15524]: authenticated mount request from<br>172.16.91.213:618 for /home1/rajkumar (/home1)<br>Aug 31 15:22:48
 nismaster ypserv[1784]: refused connect from<br>172.16.88.15:33474<br>to procedure ypproc_match (dcis,netmasks.byaddr;-4)<br>Aug 31 15:22:49 nismaster ypserv[1784]: refused connect from<br>172.16.88.15:33474<br>to procedure ypproc_match (dcis,netmasks.byaddr;-4)<br>Aug 31 15:23:04 nismaster ypserv[1784]: refused connect from<br>172.16.92.217:623 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:23:05 nismaster ypserv[1784]: refused connect from<br>172.16.88.15:33474<br>to procedure ypproc_match (dcis,netmasks.byaddr;-4)<br>Aug 31 15:23:28 nismaster last message repeated 5 times<br>Aug 31 15:23:31 nismaster ypserv[1784]: refused connect from<br>172.16.90.239:807 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:23:33 nismaster mountd[15524]: authenticated mount request from<br>172.16.88.200:689 for /home1/mwas_cs (/home1)<br>Aug 31 15:23:47 nismaster ypserv[1784]: refused connect from<br>172.16.90.201:1010<br>to procedure ypproc_all
 (dcis,auto.master;-4)<br>Aug 31 15:23:59 nismaster ypserv[1784]: refused connect from<br>172.16.88.15:33474<br>to procedure ypproc_match (dcis,netmasks.byaddr;-4)<br>Aug 31 15:24:19 nismaster ypserv[1784]: refused connect from<br>172.16.94.243:612 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:24:27 nismaster mountd[15524]: authenticated mount request from<br>172.16.93.232:769 for /home1/revathi (/home1)<br>Aug 31 15:25:03 nismaster mountd[15524]: authenticated mount request from<br>172.16.91.203:839 for /home1/vidyakrishna_v (/home1)<br>Aug 31 15:25:40 nismaster mountd[15524]: authenticated mount request from<br>172.16.92.250:992 for /home1/bheeku16 (/home1)<br>Aug 31 15:26:14 nismaster mountd[15524]: Caught signal 15, un-registering<br>and exiting.<br>Aug 31 15:26:16 nismaster ypserv[1784]: refused connect from<br>172.16.93.191:702 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:26:18 nismaster kernel: nfsd: last server has exited<br><br>Aug 31
 15:26:18 nismaster kernel: nfsd: unexporting all filesystems Aug 31<br>15:26:18 nismaster kernel: RPC: failed to contact portmap (errno -5). Aug<br>31 15:26:19 nismaster nfsd[15948]: nfssvc_versbits: +2 +3 +4<br>Aug 31 15:26:19 nismaster kernel: NFSD: Using /var/lib/nfs/v4recovery as<br>the NFSv4 state recovery directory<br>Aug 31 15:26:19 nismaster kernel: NFSD: unable to find recovery directory<br>/var/lib/nfs/v4recovery<br>Aug 31 15:26:19 nismaster kernel: NFSD: starting 90-second grace period<br>Aug 31 15:26:55 nismaster mountd[15965]: authenticated mount request from<br>172.16.90.231:650 for /home1/mwas_cs (/home1)<br>Aug 31 15:28:43 nismaster mountd[15965]: authenticated mount request from<br>172.16.92.235:807 for /home1/bsaritha (/home1)<br>Aug 31 15:29:10 nismaster ypserv[1784]: refused connect from<br>172.16.89.200:986 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:29:17 nismaster ypserv[1784]: refused connect from<br>172.16.88.15:33474<br>to procedure
 ypproc_match (dcis,netmasks.byaddr;-4)<br>Aug 31 15:29:37 nismaster mountd[15965]: authenticated mount request from<br>172.16.94.231:871 for /home1/bheeku16 (/home1)<br>Aug 31 15:29:38 nismaster ypserv[1784]: refused connect from<br>172.16.92.235:773 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:30:39 nismaster ypserv[1784]: refused connect from<br>172.16.93.232:804 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:30:49 nismaster mountd[15965]: authenticated mount request from<br>172.16.90.231:655 for /home1/mwas_cs (/home1)<br>Aug 31 15:31:27 nismaster ypserv[1784]: refused connect from<br>172.16.88.15:33474<br>to procedure ypproc_match (dcis,netmasks.byaddr;-4)<br>Aug 31 15:31:32 nismaster ypserv[1784]: refused connect from<br>172.16.93.232:726 to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:31:53 nismaster ypserv[1784]: refused connect from<br>172.16.92.219:1013<br>to procedure ypproc_all (dcis,auto.master;-4)<br>Aug 31 15:32:01
 nismaster mountd[15965]: authenticated mount request from<br>172.16.91.203:707 for /home1/venkat (/home1)<br>Aug 31 15:32:55 nismaster mountd[15965]: authenticated mount request from<br><br><br>***The NIS configuration done is :<br><br>We have one NIS server the configuration done for the nis server is 1. we<br>have made changes to the file /etc/sysconfig/network<br>NETWORKING=yes<br>HOSTNAME=nismaster name<br>NISDOMAIN=nis server domain name<br><br>2.complied make file in /var/yp<br><br>***The nis client side changes that we have made is:<br>1. In /etc/yp.conf we have added the domain name server<br>2. In /etc/nsswitch we made changes so nsswitch file is follows<br><br>#<br># /etc/nsswitch.conf<br>#<br># An example Name Service Switch config file. This file should be<br># sorted with the most-used services at the beginning.<br>#<br># The entry '[NOTFOUND=return]' means that the search for an<br># entry should stop if the search in the previous entry turned<br># up
 nothing. Note that if the search failed due to some other reason #<br>(like no NIS server responding) then the search continues with the # next<br>entry.<br>#<br># Legal entries are:<br>#<br># nisplus or nis+ Use NIS+ (NIS version 3)<br># nis or yp Use NIS (NIS version 2), also called YP #<br>dns Use DNS (Domain Name Service)<br># files Use the local files<br># db Use the local database (.db) files #<br>compat Use NIS on compat mode<br># hesiod Use Hesiod for user lookups<br># [NOTFOUND=return] Stop searching if not found so far #<br><br># To use db, put the "db" in front of "files" for entries you want to be #<br>looked up first in the databases<br>#<br># Example:<br>#passwd: db files nisplus nis<br>#shadow: db files nisplus nis<br>#group: db files nisplus nis<br><br>passwd: files nis<br>shadow: files nis<br>group: files nis<br><br>#hosts: db files nisplus nis dns<br>hosts: files nis dns<br><br># Example - obey only what nisplus tells us...<br>#services: nisplus
 [NOTFOUND=return] files<br>#networks: nisplus [NOTFOUND=return] files<br>#protocols: nisplus [NOTFOUND=return] files<br>#rpc: nisplus [NOTFOUND=return] files<br>#ethers: nisplus [NOTFOUND=return] files<br>#netmasks: nisplus [NOTFOUND=return] files<br><br>#bootparams: nisplus [NOTFOUND=return] files<br><br>ethers: files<br>netmasks: files<br>networks: files<br>protocols: files nis<br>rpc: files<br>services: files nis<br><br>netgroup: files nis<br><br>#publickey: nisplus<br><br>automount: files nis<br>aliases: files nis<br><br>3. We have made changes to the file /etc/sysconfig/network and added lines<br>to file as<br>NETWORKING = yes<br>NISDOMAIN = nisserver domain name<br><br>***The NFS server side configuration<br>1. In /etc/export we have added the ip address of system to which it is<br>exported with (rw,sync).<br>2. we have directory mount for some user from /home and some as /home1 in<br>the /etc/passwd file as some user are in nfs1 and some user are in
 nfs2.<br><br>***The NFS client side<br>1.We have changed the file auto.master in which we added the<br>first home as nfs1<br>and second home as home1 for nfs2<br>2.we have auto.home in client for nfs1<br>3 we have auto.home in client for nfs2<br><br><br>Please Reply if you know the solution to the problem.<br><br>Thanking you<br><br><br><br><br><br><br><br></blockquote><br><p>
        

        
                <hr size=1></hr> 
Find out what India is talking about on  - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers India</a> <BR> 
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a>