[Bug 28706] Re: need way to specify the lockd port
Ok, after playing around with this, I'm getting there. I want to document this here, so at least others and even myself can benefit from this in the future. I added this line: options lockd nlm_udpport=4045 nlm_tcpport=4045to /etc/modprobe.d/options.conf the port number can really be anything. Then I reboot and run rpcinfo -p which shows that nlockmgr is bound to that port number, and we are one step closer. However mountd still comes up with random port to use, and firewall is still blocking us out. How do we bind the mountd port? I think status may play a part in this too. When we are done with this I will have learned enough to write up a small how to. :) Shane -- need way to specify the lockd port https://bugs.launchpad.net/bugs/28706 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 28706] Re: need way to specify the lockd port
Ok, after playing around with this, I'm getting there. I want to document this here, so at least others and even myself can benefit from this in the future. I added this line: options lockd nlm_udpport=4045 nlm_tcpport=4045to /etc/modprobe.d/options.conf the port number can really be anything. Then I reboot and run rpcinfo -p which shows that nlockmgr is bound to that port number, and we are one step closer. However mountd still comes up with random port to use, and firewall is still blocking us out. How do we bind the mountd port? I think status may play a part in this too. We we are done with this I will have learned enough to write up a small how to. :) Shane -- need way to specify the lockd port https://bugs.launchpad.net/bugs/28706 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 28706] Re: need way to specify the lockd port
ok got it. I put up a small how-to here: http://ubuntuforums.org/showpost.php?p=7959294postcount=17 Hope this helps. Shane -- need way to specify the lockd port https://bugs.launchpad.net/bugs/28706 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 28706] Re: need way to specify the lockd port
This is still a very relevant problem. I'm working on Ubuntu Jaunty, and cannot get NFS to connect through an iptables firewall because the ports keep changing. The changing ports are: nlockmgr and mountd, I don't know if status has to do with this or not, but this is a problem. All the links I have found to bind nfslockmgr (or nfs in general) tell you to edit files that don't exist on Ubuntu. A search for nfs-utils in the repos, comes up vacant. Any advances made on this would be appreciated. If I can supply any information, please let me know. Shane -- need way to specify the lockd port https://bugs.launchpad.net/bugs/28706 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 28706] Re: need way to specify the lockd port
@DaneM - Thanks for the info, I didn't realize the old info was still good to go by. It would be good to have something up on the Ubuntu docs page, that is usually where I look for info. If someone could write up a short how to, that would be great, at least the info would be out there and available to everyone. Shane -- need way to specify the lockd port https://bugs.launchpad.net/bugs/28706 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 28706] Re: need way to specify the lockd port
My first attempt gave me this: sudo modprobe lockd WARNING: /etc/modprobe.conf line 1: ignoring bad line starting with 'lockd.nlm_udpport=4001' WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. So instead of using modprobe.conf, I used /etc/modprob.d/lockd.conf It still complains about this: sudo modprobe lockd WARNING: /etc/modprobe.d/lockd.conf line 2: ignoring bad line starting with 'lockd.nlm_udpport=4001' I made my first line: #lockd options. Not sure if this is relevant, but reporting any way. Shane -- need way to specify the lockd port https://bugs.launchpad.net/bugs/28706 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs