Change RPC.RQUOTAD's port in Red Hat Linux 6.0
Hi Guys!
Please help me to change the RPC.RQUOTAD's port number in Red Hat Linux 6.0 I have tried to Add the following two lines to the /etc/services file Quote:
my /etc/sysconfig/nfs file: Code:
LOCKD_TCPPORT=32803 when i type "rpc.rquotad -p" i recieve this error: "invalid option -p" please help me thanks for any help have a nice day |
The first qn is which port num do you want it to use; you've got 2 different ones there...
The default as per /etc/services is Code:
rquotad 875/tcp # rquota daemon Unless you've got a VERY good reason, I'd leave it as that. If you insist on changing it, make sure you change both(!) files to match. Assuming you have iptables on, you'll have to amend that to match as well. |
Quote:
I need to configure port number of RPC.rquotad because i need to configure firewall for NFS services to use fixed port! I have made both file matched like u said but the port number still is a random number I read this : http://www.lowth.com/LinWiz/nfs_help.html , it show that rquotad's port number is a random number so it doesn't have default value. Anyway, thanks u a lot |
Please don't edit your orig post; it makes nonsense of my comment; please revert it to the original.
You need to edit the files, not your post. In any case, setting those values there should work. Of course, you'll have to restart the nfs daemon etc. |
Quote:
|
All times are GMT -5. The time now is 04:41 AM. |