Hi,
I have inherited an application which is demanding the same UDP port as NFS,
NFS uses the first available ports at boot;
rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100021 1 udp 32769 nlockmgr
100021 3 udp 32769 nlockmgr
100021 4 udp 32769 nlockmgr
391002 2 tcp 32769 sgi_fam
The app I have starts with the following error; and the port allocation
cannot be changed for this app.
ERROR binding port : 32768
ERROR: Error while running rrcp daemon:
rrcpW_InetSocket : failed to bind() inet address, (errno=98).
Maybe a similar instance of rrcpd is already running
On Solaris8 this can be resolved by adding the following to a start script
in rc2.d
/usr/sbin/ndd -set /dev/udp udp_smallest_anon_port 32800
But Linux does not support ndd
After looking about for a while I found
/proc/sys/net/ipv4/ip_local_port_range
which would appear to allow you to set this range but each time I modify the
file and reboot the file gets changed back !
Any ideas or pointers as to how I could make this change permanent would be
greatly appreciated.
Thanks in advance,
Richard
_____________________________________________________________________
Notice to recipient:
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful..
When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity.
If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_____________________________________________________________________
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list