Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Specifically setting NFS ports, rogue statd port

Posted on 2008-11-19
1
Medium Priority
?
1,070 Views
Last Modified: 2013-12-02
I have NFS set up on a server using static ports due to having iptables running on the same machine.  I set up mountd, lockd, and statd to use specific ports, but on reboot statd uses one of the ports I specified and additionally picks a dynamic port in the 6xx range.  I have confirmed this with netstat, see below

tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      3417/portmap    
tcp        0      0 0.0.0.0:32765           0.0.0.0:*               LISTEN      3436/rpc.statd  
tcp        0      0 0.0.0.0:32767           0.0.0.0:*               LISTEN      3904/rpc.mountd
udp        0      0 0.0.0.0:644             0.0.0.0:*                           3436/rpc.statd  <-- The elusive port
udp        0      0 0.0.0.0:111             0.0.0.0:*                           3417/portmap    
udp        0      0 0.0.0.0:32765           0.0.0.0:*                           3436/rpc.statd  
udp        0      0 0.0.0.0:32767           0.0.0.0:*                           3904/rpc.mountd

I am running on Ubuntu 8.04 and have done the following:
/etc/default/nfs-common
  STATDOPTS="--port 32765 --outgoing-port 32766"

/etc/default/nfs-kernel-server
  RPCMOUNTDOPTS="-p 32767"

/etc/modprobe.d/options
options lockd nlm_udpport=32768 nlm_tcpport=32768

Any help is appreciated.
0
Comment
Question by:mynamebecory2
1 Comment
 
LVL 1

Accepted Solution

by:
mynamebecory2 earned 0 total points
ID: 22999343
Apparently this is a bug in Ubuntu 8.04, dont know if its resolved, the page is currently down.  Here is the google cache:

http://209.85.173.132/search?q=cache:rilRBk5W2PoJ:https://bugs.launchpad.net/ubuntu/%2Bsource/nfs-utils/%2Bbug/146252+STATDOPTS+ubuntu&hl=en&ct=clnk&cd=3&gl=us&client=safari

Original Page (again, down as of posting):
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/146252
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question