Carlos S
2010-Sep-01 23:05 UTC
[CentOS] statd random port - sysconfig/nfs not taking effect
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
Rob Kampen
2010-Sep-02 01:58 UTC
[CentOS] statd random port - sysconfig/nfs not taking effect
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-0001.vcf>
Carlos S
2010-Sep-02 02:09 UTC
[CentOS] statd random port - sysconfig/nfs not taking effect
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 > >