exportfs: internal: no supported addresses in nfs_client

I am trying to set up a NFS server on an AWS instance running SLES11.

After installing nfs-utils, I tried to export a test share. Here is what my /etc/exports file looks like:

/opt/share1 ec2-50-16-224-79.compute-1.amazonaws.com(rw,async)

export -ar returns the following message:

exportfs: internal: no supported addresses in nfs_client
domU-12-31-38-04-7E-02.compute-1.internal:/opt/share1: No such file or directory

Any idea what the no supported addresses error means? Thanks!


I've just had exactly the same problem and it was just a simple matter of starting the nfs service in order to fix it.


[root@stormking ~]# uname -a
Linux stormking 2.6.39-400.17.1.el6uek.x86_64 #1 SMP Fri Feb 22 18:16:18 PST 2013 x86_64 x86_64 x86_64 GNU/Linux

[root@stormking ~]# service nfs reload
exportfs: internal: no supported addresses in nfs_client
exportfs: stormking:/export/oradata01: No such file or directory


[root@stormking ~]# service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
[root@stormking ~]# service nfs reload
(no error)