LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS (RPC time out)rh 9 (https://www.linuxquestions.org/questions/linux-networking-3/nfs-rpc-time-out-rh-9-a-95881/)

rinux 09-23-2003 10:27 AM

NFS (RPC time out)rh 9
 
hello everybody,

i hava a problem here, i made a NFS server in my LAN it is working ok and the service is started and portmap also, but the problem is with some clients it always give me the same error which is (RPC time out )
what is the problem! is it hardware connections problem ????!!!!
NOTE: i am using redhat linux 9 on server and on client:Pengy:

daveb93 09-23-2003 10:46 AM

Hi,
I just had the same problem and was able to fix it (or hacked it??). RedHat 9 has some sort of firewall configuration file at /etc/sysconfig/iptables. If you look at this file you will see lines like:

-A RH-Lokkit-0-50-INPUT -p tcp -mtcp --dport 2049 --syn -j REJECT

the important thing here (as far as my limited knowledge is concerned) is the port number. This line is telling the 'firewall' to reject packets (?) using port 2049. If you execute rpcinfo -p you will see that 'nfs' uses port 2049 (assuming nfs is running). So change the line(s) (-A ....) where port 2049 is included by replacing REJECT with ACCEPT.

The comments in the first lines of the firewall file tell you not to modify by hand, but this worked for me and I can now NFS mount successfully. NOTE, I am on an intranet and am not concerned with security issues, so this may not be the best solution for you.

hope this helps

-Dave

rinux 09-23-2003 04:12 PM

me too is on an interanet, thanks a lot, i will try it at morning hope it works with me too .....

rinux 09-24-2003 05:02 PM

thanks a lot it worked :)


All times are GMT -5. The time now is 07:54 PM.