-
March 30th, 2010, 10:29 AM
#1
Lightstreamer under OpenVZ virtualization
Hi,
I'm trying to use Lightstreamer under OpenVZ virtualization with java 6 and can't install the license because "MAC address check failed".
As I see the problem probably in java.net.NetworkInterface.getHardwareAddress() which returns null for the virtual network interface.
Is there some solution?
-
March 31st, 2010, 11:41 AM
#2
Hi,
Usually getHardwareAddress works great for virtual network interfaces too. This is the first time such issue is reported. Did you give the Java process the right privileges (root) to access the network interface?
Does "ifconfig -a" report any network interfaces?
-
March 31st, 2010, 03:33 PM
#3
ifconfig output looks like this:
# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:736 errors:0 dropped:0 overruns:0 frame:0
TX packets:736 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:39268 (39.2 KB) TX bytes:39268 (39.2 KB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:448198 errors:0 dropped:0 overruns:0 frame:0
TX packets:396909 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:229352384 (229.3 MB) TX bytes:59166897 (59.1 MB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:195.10.77.96 P-t-P:195.10.77.96 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
## arp -v
Entries: 0 Skipped: 0 Found: 0
And yes, I've tried to execute getHardwareAddress() from root - result is null
-
April 1st, 2010, 11:39 AM
#4
From the ifconfig output, it really seems that your virtualization system is not giving any MAC address to your network interface.
Both HWaddr report "00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00" instead of a MAC address.
So you should fix your virtualization configuration by enabling virtual MAC addresses-
-
April 1st, 2010, 03:51 PM
#5
I'm not sure the hosting provider would do it for me))
Ok, thank you for the help.
-
April 2nd, 2010, 09:23 AM
#6
If MAC address support is not available in your infrastructure, please get back to support@lightstreamer.com, and we'll try to understand your needs better and perhaps work out a solution.
Thanks
Alessandro
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:56 PM.
Bookmarks