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


Specifically setting NFS ports, rogue statd port

Posted on 2008-11-19
Medium Priority
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   *               LISTEN      3417/portmap    
tcp        0      0 *               LISTEN      3436/rpc.statd  
tcp        0      0 *               LISTEN      3904/rpc.mountd
udp        0      0   *                           3436/rpc.statd  <-- The elusive port
udp        0      0   *                           3417/portmap    
udp        0      0 *                           3436/rpc.statd  
udp        0      0 *                           3904/rpc.mountd

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

  RPCMOUNTDOPTS="-p 32767"

options lockd nlm_udpport=32768 nlm_tcpport=32768

Any help is appreciated.
Question by:mynamebecory2
1 Comment

Accepted Solution

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:

Original Page (again, down as of posting):

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