Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jul 2008
    Location
    Moscow
    Posts
    3

    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?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    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?

  3. #3
    Member
    Join Date
    Jul 2008
    Location
    Moscow
    Posts
    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

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    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-

  5. #5
    Member
    Join Date
    Jul 2008
    Location
    Moscow
    Posts
    3
    I'm not sure the hosting provider would do it for me))

    Ok, thank you for the help.

  6. #6
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    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

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 09:17 AM.