mount to NFS server failed

M. Lewis _fedoralist_ at cajuninc.com
Sun Jul 17 21:43:50 UTC 2005


sly wrote:
> M. Lewis wrote:
> 
>> sly wrote:
>>
>>> on the stkserver i shared with nfs the folder /mnt/stuff
>>> i edit the exports file:
>>>
>>> cat /etc/exports
>>> /mnt/stuff/              222.169.100.0/24(rw,sync,all_squash)
>>> exportfs -a
>>>
>>> i even disabled the security/firewall on the server and client
>>>
>>> every time i try to mount it on the client i get this error
>>>
>>> # mount -t nfs STKserver:/mnt/stuff /mnt/share/
>>> mount to NFS server 'STKserver' failed.
>>>
>>> thanx in advance!
>>>
>>
>> # tail -f /var/log/messages               <--- on STKserver
>>
>> Then try to mount it again. Check the log for errors.
> 
> 
> Jul 17 17:30:51 stkserver portmap[2894]: connect from 222.169.100.101 to 
> getport(nfs): request from unauthorized host
> 
> on the server i had this:
> 
> # cat /etc/hosts.allow
> portmap: 222.168.100. : 127.
> 
> and also tried w/ this:
> 
> # cat /etc/hosts.allow
> portmap: 222.168.100.101/255.255.255.0 : 127.
> 
> 
>>
>> I assume you restarted NFS after making the changes?
> 
> 
> did it! every time!
> 
>>
>> Mike

Try (at least temporarily) removing the entry(s) from /etc/hosts.allow

Mike




More information about the fedora-list mailing list