[CentOS] service nfs start hangs on CentOS 4

Fri Jan 11 18:53:28 UTC 2008
Milton Calnek <milton at calnek.com>


Frank Büttner wrote:
> mike.redan at bell.ca schrieb:
>>> Hello when I try to start nfs the command hangs.
>>> I have found out, that the problem is, that I set an IP address at 
>>> /etc/exports
>>> sample:
>>> /var/foo XXX.XXX.XXX(some rights)
>>> when replace the IP address to * then service nfs start work, but no 
>>> one can use the exports.
>>> What goes wrong??
>>>
>>
>> You might want to make sure that the portmap daemon is running.
>>
>> /etc/init.d/portmap status
>>
>>  will tell you if it is runnning. If it is not..fire it up.
>>

Not sure if it's just a notation issue, it may be that nfs will 
interpret 3 quads as a class c address.
I always use a.b.c.d/n

When you specify an IP/net in exports, what does showmount -e show?

You know that you have to restart nfs when you make changes to exports 
right?


-- 
Milton Calnek BSc, A/Slt(Ret.)
milton at calnek.com
306-717-8737


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.