Lmhostid Get HostID empty problem

Source: Internet
Author: User

Lmhostid getting HostID to empty problem description

Today, migrating a previous virtual machine with FLEXLM, it turns out that the times are wrong after the migration

...for license file......2 [])... Invalid hostid on SERVER line
Solutions

From the description of the problem, it seems that there is a problem with HostID, check with Lmhostid, and find the HostID ""

1989-2004byofthisis""

Because FLEXLM will use the first NIC (eth0) MAC address to do HostID, so ifconfig check the network configuration, found that there is no eth0, as follows:

eth1Link encap:ethernet HWaddrxx: E0:Bayi: +: 7b:a8 inet Addr:192.168.0.88Bcast:192.168.0.255Mask:255.255.255.0Inet6 addr:fe80::2e0:81ff:fe78:7ba8/ -Scope:link up broadcast RUNNING multicast MTU: theMetric:1RX Packets:2463804Errors0Dropped0Overruns:0Frame0TX Packets:345560Errors0Dropped0Overruns:0Carrier0Collisions:0Txqueuelen: +RX bytes:924819172(881.9MiB) TX Bytes:34087357( +.5MiB) Interrupt: OneLo Link encap:local Loopback inet Addr:127.0.0.1Mask:255.0.0.0Inet6 Addr:::1/ -Scope:host up LOOPBACK RUNNING MTU:65536Metric:1RX Packets:2843863Errors0Dropped0Overruns:0Frame0TX Packets:2843863Errors0Dropped0Overruns:0Carrier0Collisions:0Txqueuelen:0RX bytes:729294023(695.5MiB) TX Bytes:729294023(695.5MiB)

But in the Linux with the Network Configuration tool and/etc/sysconfig/network-scripts/under the file configuration to see, it is really used eth0. This indicates that there is an inconsistency in the configuration.

Finally, check the/etc/udev/rules.d/70-persistent-net.rules file

# PCI device 0x1af4:0x1000 ( VIRTIO-PCI)  subsystem== "net" , Action== "add" , Drivers==, Attr{address}== "00:e0 : 81:78:7b:a8 ", Attr{type }==" 1 ", Kernel== "eth*" , Name= "eth0"  # PCI device 0x10ec:0x8139 (8139CP)  Subsystem== "net" , Action== "add" , drivers==< Span class= "hljs-string" "? *" , Attr{address}== "00:e0:81:78:7b:a8" , attr{< Span class= "hljs-built_in" >type }== "1" , kernel==  "eth*" , Name= "eth1"   

Found the problem, there are two network card configuration items, decisive revision to

# PCI device 0x10ec:0x8139 (8139cp)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:81:78:7b:a8", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

Then restart the machine and solve the problem.

Please indicate this address in the form of a link.
This address: http://blog.csdn.net/kongxx/article/details/50480696

Lmhostid Get HostID empty problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.