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

Rob Kampen rkampen at kampensonline.com
Wed Sep 1 21:58:21 EDT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkampen.vcf
Type: text/x-vcard
Size: 196 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20100901/05ff006b/attachment.vcf 


More information about the CentOS mailing list