NFS Issue?
I have two RHEL Machines rh1 and rh2.I tried to creat rh1 as NFS Server and edited /etc/exports as:
Code:
/home/fdmin/arch *(rw,sync,no_root_squash) Restarted nfs Showmount -e localhost showing good. I tried running this on rh2 It says: Code:
# mount -t nfs rh1:/home/fdmin/arch /tmp/res Also, If I try making rh2 as server and rh1 as client it works fine. Why does the first setup doesnt work? |
what do your logs say?
|
Which logs?are you talking about /var/log/messages?
It doesnt show any error? |
On neither machine? How odd.
Cheers, Tink |
Quote:
-C |
I'd take a look at your permissions for the exported directory. Try bringing it all the way forward (777) then scaling back.
|
Its 777 what chmod says.
se-Linux is disabled too. |
Quote:
-C |
Code:
#service iptables stop |
That's normal for *nix. If you issue a basic cmd and it works, there's normally no output.
what we need is iptables -L on both systems when iptables is up. Mind you if it doesn't work after you've stopped iptables on BOTH systems, then its not an iptables issue. Have checked tcp_wrappers (hosts.allow, hosts.deny) in /etc ? |
/etc/hosts.allow and /etc/hosts.deny seems to be completely hashed.
|
[root@131e ~]# iptables -L
Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [root@131e ~]# |
May 13 08:14:13 131e rpc.mountd: refused mount request from rh1 for /tmp/resd (/): not exported
|
Quote:
Are you using /etc/hosts.allow /etc/hosts.deny? -C |
Use
service iptables stop on BOTH systems and try again. If it doesn't work, show us hosts.allow, hosts.deny from BOTH systems. Saying they are 'hashed' is meaningless! (They are plain text files) |
All times are GMT -5. The time now is 02:36 AM. |