Problem with NFS in Suse 9.2
Hi all We have build an internal LAN with three PC running Suse 9.2. The main node has two network cards (one connecting to the Internet and the other one to the internal LAN while the other two nodes only have one network card connecting to the internal net) Communication between the three nodes works fine with SSH but fails when we try to export a directory in /usr /local. We had some problems exporting form the central server (thalassa1). YAST hanged so we had to reboot the system and found a warning about ipfwadm.ko but finally it seems to be exporting the desired directory, or at least it appears as it was doing it in YAST. But when we try to import from the client side in node2 (thalassa2) YAST says it can't mount NFS entries in /etc/fstab. We find this message in /var/log/messages Mar 9 09:45:32 thalassa1 rpc.mountd: export request from 192.168.1.2 Mar 9 09:45:59 thalassa1 rpc.mountd: mount request from unknown host 192.168.1.2 for /usr/local/mpich-1.2.6 (/usr/local/mpich-1.2.6) As if node2 (thalassa2 with IP 192.168.1.2) it was unknown to thalassa. But in /etc/hosts on central server (thalassa1) thalassa2 is properly defined 192.168.1.1 thalassa1.ceam.es thalassa1 192.168.1.2 thalassa2.ceam.es thalassa2 192.168.1.3 thalassa3.ceam.es thalassa3 Firewall is open in thalassa1 for the network card interface to the internal LAN and deactivated in thalassa2. Any suggestion will be greatly appreciated, thanks in advance Paco -- ___________________________________________________________________________________________________ Francisco Pastor Meteorology department Fundación CEAM paco@ceam.es http://www.gva.es/ceamet http://www.gva.es/ceam Paterna, Valencia, Spain ___________________________________________________________________________________________________ Usuario Linux registrado: 363952
Well, you may have your hosts file setup on the server, but your resolver configuration may not be looking at it. Check /etc/nsswitch.conf. Be sure that "files" is on your "hosts" line, like so: "hosts: files lwres dns". Regards, Dk
-----Original Message----- From: Paco Pastor [mailto:paco@ceam.es] Sent: Wednesday, March 09, 2005 5:03 AM To: suse-linux-e@suse.com Subject: [SLE] Problem with NFS in Suse 9.2
Mar 9 09:45:32 thalassa1 rpc.mountd: export request from 192.168.1.2 Mar 9 09:45:59 thalassa1 rpc.mountd: mount request from unknown host 192.168.1.2 for /usr/local/mpich-1.2.6 (/usr/local/mpich-1.2.6)
As if node2 (thalassa2 with IP 192.168.1.2) it was unknown to thalassa. But in /etc/hosts on central server (thalassa1) thalassa2 is properly defined
192.168.1.1 thalassa1.ceam.es thalassa1 192.168.1.2 thalassa2.ceam.es thalassa2 192.168.1.3 thalassa3.ceam.es thalassa3
participants (2)
-
David Krider
-
Paco Pastor