[CentOS] statd random port - sysconfig/nfs not taking effect

Carlos S neubyr at gmail.com
Wed Sep 1 22:09:35 EDT 2010


I have configured port numbers in etc/sysconfig/nfs, but it's not
working for statd, other daemons start at specified ports. Any other
configuration file to look for?

I should add that I already have NFSv4 style exports and this change
was being made to allow NFSv3 mounts which requires additional daemons
like statd, mountd, and rquotad.

--
CS.


On Wed, Sep 1, 2010 at 8:58 PM, Rob Kampen <rkampen at kampensonline.com> wrote:
> Carlos S wrote:
>>
>> I have changed /etc/sysconfig/nfs to specify port numbers for NFS
>> daemons. Somehow statd is still starting up at random port number.
>> Other damons are starting at properly at specified port numbers Any
>> clues on what might be wrong? Any other location/setting that takes
>> precedence over sysconfig/nfs ? It's CentOS 5.5 64bit with nfs-utils
>> 1.0.9-44.el5.
>>
>> --
>> Thanks,
>> CS
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> I use this on all my servers:
> <snip>
> # Port rpc.mountd should listen on.
> MOUNTD_PORT=4002
> #
> #
> # Optional arguments passed to rpc.statd. See rpc.statd(8)
> #STATDARG=""
> # Port rpc.statd should listen on.
> STATD_PORT=4000
> # Outgoing port statd should used. The default is port
> # is random
> #STATD_OUTGOING_PORT=4000
> <snip>
> And this works on 32 and 64 bit Centos 5.x
> Don't forget to open up iptables.
> HTH
> Rob
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


More information about the CentOS mailing list