<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "SNMP Bind Exception and IPV6"]]></title>
		<link>http://mango.serotoninsoftware.com/forum/posts/list/2.page</link>
		<description><![CDATA[Latest messages posted in the topic "SNMP Bind Exception and IPV6"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ This is an FYI<br /> <br /> I transferred a mango installation to a new host (and from windows to linux) and found that none of the SNMP Data sources would work.<br /> <br /> [code]'SNMP Datasource Name': java.net.BindException: Permission denied[/code]<br /> editing /etc/modprobe.d/aliases so that<br /> [code]alias net-pf-10 ipv6[/code]<br /> becomes<br /> [code]alias net-pf-10 off[/code]<br /> disabled IPV6 and fixed the problem]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1132.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1132.page</link>
				<pubDate><![CDATA[Wed, 9 Dec 2009 18:07:55]]> GMT</pubDate>
				<author><![CDATA[ craig]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ Did you try setting the preferred Java stack? I believe this is the option:<br /> <br /> [code]-Djava.net.preferIPv4Stack=false[/code]]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1133.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1133.page</link>
				<pubDate><![CDATA[Wed, 9 Dec 2009 18:30:20]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ Ah nope, didn't know the option existed.]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1136.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1136.page</link>
				<pubDate><![CDATA[Wed, 9 Dec 2009 19:32:41]]> GMT</pubDate>
				<author><![CDATA[ craig]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ Also remember &lt; 1024 ports on UNIX/Linux are privilidged ports and can be run only as root or by Xinetd. Hence, you should run mango as root and not as an ordinary user.]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1141.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1141.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 03:36:04]]> GMT</pubDate>
				<author><![CDATA[ narenblr]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ [quote=narenblr]Also remember &lt; 1024 ports on UNIX/Linux are privilidged ports and can be run only as root or by Xinetd. Hence, you should run mango as root and not as an ordinary user.[/quote]<br /> <br /> Yep upon further investigation I still seem to be getting the error.  I think before it gave that error because it couldn't bind to the port and SNMP poll didn't work because of the IPV6 issue.<br /> <br /> Now mango can poll the SNMP data sources since I've disabled IPV6 but is still giving the BindException because it can't listen.   I'm not using SNMP traps, just poll, so mango shouldn't need to bind to any low port numbers.<br /> <br /> I won't be running any webapp as root]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1147.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1147.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 13:47:49]]> GMT</pubDate>
				<author><![CDATA[ craig]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ [quote] I'm not using SNMP traps, just poll, so mango shouldn't need to bind to any low port numbers. [/quote]<br /> <br /> SNMP is UDP, so you'll always be listener binding even if you're not using traps. ]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1148.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1148.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 14:20:38]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ gotcha.  but shouldn't need to bind to port 162 if not using traps right?]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1149.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1149.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 14:26:31]]> GMT</pubDate>
				<author><![CDATA[ craig]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ Not to 162, no. But 161 is the default port for other SNMP traffic, and since the data source is UDP it needs to bind to a port as a listener to get responses. If you didn't change from the default of 161 and you're not running as root, this would explain why you get a permission exception on Linux when you didn't get one under Windows.]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1150.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1150.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 14:34:27]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ netstat -anutp reveals one listening UDP port per SNMP data source, but not port 161<br /> <br /> If I disable an SNMP data source and re-enable it, I get the BindException. If I reboot the server I get the BindException but the data source still seems to update.<br /> <br /> None of this is critical for me, I'll let you know how it pans out.<br /> <br /> [code]udp        0      0 0.0.0.0:36751           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:33301           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:39594           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:60990           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:34119           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:39881           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:34009           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:48879           0.0.0.0:*                           10106/java      <br /> udp        0      0 0.0.0.0:42866           0.0.0.0:*                           10106/java   [/code]]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1151.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1151.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 16:03:02]]> GMT</pubDate>
				<author><![CDATA[ craig]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ Since I'm not using traps I changed the trap port in SNMP datasource settings to a large port number and no longer get the BindException.<br /> <br /> If I were using traps I think I'd do some port translation on the firewall so that incoming UDP port 162 packets were sent to a higher port on the mango instance]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1152.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1152.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 17:22:41]]> GMT</pubDate>
				<author><![CDATA[ craig]]></author>
			</item>
			<item>
				<title>Re:SNMP Bind Exception and IPV6</title>
				<description><![CDATA[ Ah, right. The data source will listen for traps in any case.  You can always just change the port number from 162 to, say 50162.]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/254/1153.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/254/1153.page</link>
				<pubDate><![CDATA[Thu, 10 Dec 2009 18:00:09]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
	</channel>
</rss>
