• All
  • Test
  • Startup
  • Experience Case
  • FAQ
Product line
Search
Cancel
Documents type
Author
Time
Search

Analysis of Causes of 50931 Errors When Registering an iMC License

2020-03-25 11:19:38 Published
  • 0Followed
  • 0Collected ,668Browsed
唐勋 5level
fans:1 follow:0

Network Topology

iMC is installed in a virtual machine system.

Problem Description

A engineer on site reported an error after applying for a license file to register on the iMC. Error code: 50931.

Process Analysis

1.Error reported during license registration: The virtual machine cannot provide comprehensive support for iMC, and cannot register for a formal license.

For the 50931 error, the virtualization that is generally used by users is not within our support scope. But after check with customer, The underlying virtualization system declares support in the iMC PLAT release notes, so we need check the iMC foreground log (iMC/client/log/imcforground.log file) to find the reason.There are also 50910 errors in the log, which are as follows:

2017-11-23 15:41:14 [INFO ] [http-nio-8080-exec-5] [com.imc.license.client.view.ClientControlBean::register]

com.imc.license.LicenseError: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; File ends early. [50910] XML file conversion error.

       at com.imc.license.tools.LicenseConvertor.convertXmlToLicenseEntity(LicenseConvertor.java:100)

       at com.imc.license.tools.EncryptedFileConvertor.readFileToLicenseEntity(EncryptedFileConvertor.java:124)

       at com.imc.license.Uc.parseLicenseEntity(Uc.java:561)

       at com.imc.license.client.view.ClientControlBean.register(ClientControlBean.java:974)

The log indicates that the XML file conversion error is generally the content format of the license file or license_t.txt file (including the missing content format). You can manually open these two files to check whether they are complete. After confirming that the license_t.txt file format is correct ,I suspect that there is a problem with the license file used on site, so I reissued the license file to the site. After registering with the new license file on the site, I still get an error with an error code of 50931.

2.At this time, it is suspected that the host is not bound at the scene, but according to the feedback from engineer on site, it has been bound and successfully bound, as shown in the following figure: H3CVM: 0 indicates that the binding was successful.


After analysis of the foreground log,we did not find any errors related to license registration. After careful analysis of the above figure, it is found that there is an error at the bottom of the cannot run program anti-vm.bat. It is suspected that the account performing the bind operation on the site does not have write permission to the iMC related files,So let the site collect the vmcfg file and open it as follows, this file records the relevant information of the host:

support=false

It is found that there is no host-related information in the file that records the host-related information. If this file is empty, the iMC cannot access the host, and naturally the license cannot be successfully registered. For the case where the host binding is successful and the related configuration file is empty, it is usually a problem of account permissions.

After checking the account that logs in to the operating system and find that it belongs to the users group, and the users group does not have write permission to the vmcfg file (imc/client/conf directory), which eventually results in license registration failure.




Solution

1.Add write permission to the vmcfg file to the current login account.


2.Try to use the administrator account when performing the binding host operation.

Please rate this case:   
0 comments

No comments

Add Comments:

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

Login before you can operate!

login

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作