Solved

register vmware inventory not succeded

Posted on 2016-10-26
4
80 Views
Last Modified: 2016-10-26
hello,
i've vcenter 5.5 in win2008R2 with external SQL DB 2008, i found the inventory service stopped and can't start it also effected when i try to access the vsphere web client it gives me this error (Unable to connect to vCenter Inventory Service), when i try to re-register it again it gives me this error:
Stopping Inventory Service!
The VMware vCenter Inventory Service service is not started.

More help is available by typing NET HELPMSG 3521.

Code  stopping Inventory Service.
Inventory Service must be stopped and restarted before taking any further action
.
Intializing registration provider...
Getting SSL certificates for https://machinenme.local:7444/lookupservice/sdk
The specified principal (InventoryService_2016.09.19_152043) is invalid.
com.vmware.vim.sso.admin.exception.InvalidPrincipalException: The specified principal (InventoryService_2016.09.19_152043) is invalid.
        at com.vmware.vim.sso.admin.client.vmomi.impl.VmomiClientCommand.execute
(VmomiClientCommand.java:110)
        at com.vmware.vim.sso.admin.client.vmomi.impl.VmomiClientCommand.execute
EnsuringDomainErrorIs(VmomiClientCommand.java:220)
        at com.vmware.vim.sso.admin.client.vmomi.impl.VmomiClientCommand.execute
EnsuringDomainErrorIs(VmomiClientCommand.java:207)
        at com.vmware.vim.sso.admin.client.vmomi.impl.PrincipalManagementImpl.cr
eateLocalSolutionUser(PrincipalManagementImpl.java:197)
        at com.vmware.vim.sso.admin.client.vmomi.impl.PrincipalManagementImpl.cr
eateLocalSolutionUser(PrincipalManagementImpl.java:185)
        at com.vmware.vim.install.cli.commands.RegisterSolutionCommand.execute(R
egisterSolutionCommand.java:48)
        at com.vmware.vim.install.cli.commands.CompositeCommand.execute(Composit
eCommand.java:38)
        at com.vmware.vim.install.cli.RegTool.execute(RegTool.java:190)
        at com.vmware.vim.install.cli.RegTool.process(RegTool.java:107)
        at com.vmware.vim.install.cli.RegTool.main(RegTool.java:38)
Return code is: AlreadyRegistered
7
Error 7 registering with https://machinename.local:7444/lookupservice/
sdk. Cannot continue.
7
i didn't change any default port
0
Comment
Question by:asfourcrystal
  • 2
  • 2
4 Comments
 
LVL 119
ID: 41859984
either restore a backup, or re-install/upgrade in hope it fixes the issue.
0
 

Author Comment

by:asfourcrystal
ID: 41860004
thanks Mr.Andrew for replay i need also to check for something from you if you allow please, if i install fresh copy of the OS and install also fresh vcenter for example v6 and point the database for my external DB that i used now, shall i found all the cluster as i drew it before and nothing change or i've o create the clusters from the beginning and add the host in?

thanks
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 41860013
if you use the same database, if you decide to upgrade to 6.0, it will be the same.

e.g.

shall i found all the cluster as i drew it before and nothing change or i've o create the clusters from the beginning and add the host in?

the same after upgrade.
0
 

Author Comment

by:asfourcrystal
ID: 41860051
many many thanks Andrew for the answer :)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question