[CentOS] NFS mount problems

Sat Apr 26 12:11:42 UTC 2008
Anne Wilson <cannewilson at googlemail.com>

On Saturday 26 April 2008 11:16, Anne Wilson wrote:
> On Saturday 26 April 2008 10:49, Anne Wilson wrote:
> > This morning my laptop could not connect to the server by its fstab
> > mounts. I restarted nfs and restarted the network on the server, all
> > without making any difference.  Restarting the network brought
> >
> > Bringing up interface borg2:  RTNETLINK answers: File exists
> > Error adding address 192.168.0.40 for eth0.
> >
> > but ifconfig shows the correct address for eth0.
> >
> > What else should I look for?
>
> I presume these lines are relevant -
>
> Apr 26 11:11:52 borg2 automount[2547]: create_udp_client: hostname lookup
> failed: No such process
> Apr 26 11:11:52 borg2 automount[2547]: create_tcp_client: hostname lookup
> failed: No such process
> Apr 26 11:11:52 borg2 automount[2547]: lookup_mount: exports lookup failed
> for .directory
>
> What is the cause of this?  Thanks
>
This is a firewall issue.  If I turn off the firewall everything works.  NFS 
and SMB are marked as trusted services, but it seems that is not enough.  
Which ports need to be opened to use these services?  I googled and followed 
that advice, which didn't work, so now I have to ask here.

Anne