VMware Cloud Community
Smerchla
Contributor
Contributor

vcenter not starting

Hello I have problem

after restarting I cannot connect to vcenter. This is a my log file. Please Help solve this problem

Section for VMware VirtualCenter, pid=4819, version=5.5.0, build=2001466, option=Release

------ In-memory logs start --------

mem> 2018-12-07T08:20:43.272Z [7FA96E132740 verbose 'vpxdvpxdSignal'] Signal handler for signal 1 is installed

mem> 2018-12-07T08:20:43.272Z [7FA96E132740 verbose 'vpxdvpxdSignal'] Signal handler for signal 2 is installed

mem> 2018-12-07T08:20:43.272Z [7FA96E132740 verbose 'vpxdvpxdSignal'] Signal handler for signal 15 is installed

mem> 2018-12-07T08:20:43.272Z [7FA96E132740 verbose 'vpxdvpxdSignal'] Signal handler for signal 10 is installed

mem> 2018-12-07T08:20:43.272Z [7FA96E132740 info 'Hooks'] Hooks Initialized

------ In-memory logs end   --------

2018-12-07T08:20:43.281Z [7FA96E132740 info 'Default'] Logging uses fast path: true

2018-12-07T08:20:43.281Z [7FA96E132740 info 'Default'] Handling bora/lib logs with VmaCore facilities

2018-12-07T08:20:43.281Z [7FA96E132740 info 'Default'] Initialized channel manager

2018-12-07T08:20:43.288Z [7FA96E132740 info 'Default'] Current working directory: /storage/log/vmware/vpx

2018-12-07T08:20:43.288Z [7FA964685700 info 'ThreadPool'] Thread enlisted

2018-12-07T08:20:43.288Z [7FA964502700 info 'ThreadPool'] Thread enlisted

2018-12-07T08:20:43.288Z [7FA96E132740 info 'ThreadPool'] Thread pool on asio: Min Io, Max Io, Min Task, Max Task, Max Concurency: 2, 200, 2, 90, 2147483647

2018-12-07T08:20:43.288Z [7FA96E132740 info 'ThreadPool'] Thread enlisted

2018-12-07T08:20:43.288Z [7FA964604700 info 'ThreadPool'] Thread enlisted

2018-12-07T08:20:43.288Z [7FA964583700 info 'ThreadPool'] Thread enlisted

2018-12-07T08:20:43.288Z [7FA96E132740 info 'Default'] Log path: /var/log/vmware/vpx

2018-12-07T08:20:43.288Z [7FA96E132740 info 'Default'] Initializing SSL

2018-12-07T08:20:43.291Z [7FA96E132740 info 'Default'] Vmacore::InitSSL: handshakeTimeoutUs = 120000000

2018-12-07T08:20:43.292Z [7FA964481700 info 'ThreadPool'] Thread enlisted

2018-12-07T08:20:43.293Z [7FA96E132740 info 'vpxdvpxdDaemon'] Changed working directory to /var/log/vmware/vpx

2018-12-07T08:20:43.306Z [7FA96E132740 info 'Default'] Starting VMware VirtualCenter 5.5.0 build-2001466

2018-12-07T08:20:43.306Z [7FA96E132740 info 'Default'] Log directory: /var/log/vmware/vpx.

2018-12-07T08:20:43.307Z [7FA96E132740 info 'vpxdvpxdMain'] Account name: root

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 640 max LROs

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 12 reserved internal LROs

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 12 reserved blocker LROs

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 12 reserved short LROs

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 8 reserved long LROs

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 600-second completed task lifetime

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 60-second minimum completed task lifetime

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 200 maximum completed tasks

2018-12-07T08:20:43.307Z [7FA96E132740 info 'commonvpxLro'] [VpxLRO] 600-second unregistered task lifetime

2018-12-07T08:20:43.308Z [7FA96E132740 info 'utilvpxdVdb'] Registry Item DB 5 value is ''

2018-12-07T08:20:43.308Z [7FA96E132740 info 'utilvpxdVdb'] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc

2018-12-07T08:20:43.477Z [7FA96E132740 info 'Default'] [VdbSchemaLoader::LookupSchemaFromDB] Loaded schema and index information from DB

2018-12-07T08:20:43.494Z [7FA96E132740 info 'utilvpxdDbSchemaHash'] [VpxdDbSchemaHash::GetSchemaFilename]: sqlDir: /usr/lib/vmware-vpx/sql/

2018-12-07T08:20:43.494Z [7FA96E132740 info 'utilvpxdDbSchemaHash'] [VpxdDbSchemaHash::CheckSchema]: schema file: /usr/lib/vmware-vpx/sql/VCDB_PostgreSQL.sql

2018-12-07T08:20:43.508Z [7FA96E132740 info 'linuxvpxLdap_linux'] [LdapBackup] Making sure LDAP instance VMwareVCMSDS is running

2018-12-07T08:20:43.508Z [7FA96E132740 info 'linuxvpxLdap_linux'] [LdapBackup] Checking service ldap for running

2018-12-07T08:20:43.533Z [7FA96E132740 info 'Default'] Looking for vpx result filter at /usr/lib/vmware-vpx/vpxResultFilter.xml

2018-12-07T08:20:43.538Z [7FA964604700 info 'vpxdvpxdMain' opID=SWI-6058ed8] Pre-loading symbols...

2018-12-07T08:20:43.540Z [7FA964604700 info 'vpxdvpxdMain' opID=SWI-6058ed8] Done pre-loading symbols.

2018-12-07T08:20:43.541Z [7FA96E132740 info 'MoLock'] LRO tracing: enabled: false

2018-12-07T08:20:43.541Z [7FA96E132740 info 'MoLock'] LRO tracing: LRO name:

2018-12-07T08:20:43.556Z [7FA96E132740 info 'Default'] Looking for vpx result filter at /usr/lib/vmware-vpx/vpxResultFilter.xml

2018-12-07T08:20:43.561Z [7FA96E132740 info 'QueryServiceProvider'] Initializing QueryServiceProviderHelperImpl

2018-12-07T08:20:43.605Z [7FA96E132740 info 'QueryServiceProvider'] Starting with generation number: 7085462

2018-12-07T08:20:43.605Z [7FA96E132740 info 'vpxservicesMoServiceDirectory'] [ServiceDirectory] Local instance UUID: 0FCF384F-1EEA-4A00-9424-673FC0F7F363

2018-12-07T08:20:43.608Z [7FA96E132740 error 'linuxvpxLdap_linux'] [LDAP Client] Failed to modify LDAP entry cn=VIMAPI,cn=0FCF384F-1EEA-4A00-9424-673FC0F7F363,ou=Instances,dc=virtualcenter,dc=vmware,dc=int: 0x1 (Operations error)

2018-12-07T08:20:43.608Z [7FA96E132740 error 'linuxvpxLdap_linux'] [LDAP Client] LdapApi::modify_s: key (vmw-vc-SSLThumbprint)

2018-12-07T08:20:43.608Z [7FA96E132740 error 'vpxservicesMoServiceDirectory'] [ServiceDirectory::UpdateServiceInfo] Error while modifying service-endpoint SSL thumbprint cn=VIMAPI,cn=0FCF384F-1EEA-4A00-9424-673FC0F7F363,ou=Instances,dc=virtualcenter,dc=vmware,dc=int

2018-12-07T08:20:43.608Z [7FA96E132740 error 'vpxdvpxdMain'] [Init] Init failed: Ldap error

--> Backtrace:

--> backtrace[00] rip 00007fa968097014 Vmacore::System::Stacktrace::CaptureWork(unsigned int)

--> backtrace[01] rip 00007fa967f81132 Vmacore::System::SystemFactoryImpl::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)

--> backtrace[02] rip 00007fa967ee28a5 Vmacore::Throwable::Throwable(std::string const&)

--> backtrace[03] rip 00007fa96f16331f Vmomi::Fault::SystemError::Exception::Exception(std::string const&)

--> backtrace[04] rip 00007fa97060c60b /usr/lib/vmware-vpx/vpxd(+0x235960b) [0x7fa97060c60b]

--> backtrace[05] rip 00007fa97060f0fd /usr/lib/vmware-vpx/vpxd(+0x235c0fd) [0x7fa97060f0fd]

--> backtrace[06] rip 00007fa97060f645 /usr/lib/vmware-vpx/vpxd(+0x235c645) [0x7fa97060f645]

--> backtrace[07] rip 00007fa96f14daaf /usr/lib/vmware-vpx/vpxd(+0xe9aaaf) [0x7fa96f14daaf]

--> backtrace[08] rip 00007fa96f161d43 /usr/lib/vmware-vpx/vpxd(+0xeaed43) [0x7fa96f161d43]

--> backtrace[09] rip 00007fa96f144c2e /usr/lib/vmware-vpx/vpxd(+0xe91c2e) [0x7fa96f144c2e]

--> backtrace[10] rip 00007fa966007c16 /lib64/libc.so.6(__libc_start_main+0xe6) [0x7fa966007c16]

--> backtrace[11] rip 00007fa96f143e89 /usr/lib/vmware-vpx/vpxd(+0xe90e89) [0x7fa96f143e89]

-->

2018-12-07T08:20:43.612Z [7FA96E132740 error 'Default'] Failed to intialize VMware VirtualCenter. Shutting down...

2018-12-07T08:20:43.612Z [7FA96E132740 info 'vpxdvpxdSupportManager'] Wrote uptime information

0 Kudos
8 Replies
Marmotte94
Enthusiast
Enthusiast

Hi,

It's an LDAP error.

Can you connect to your vCenter as administrator@vsphere.local ?

If you can, verify your setting SSO.

Thank you,

Regards,

Please, visit my blog http://www.purplescreen.eu/
0 Kudos
Smerchla
Contributor
Contributor

Hi,

Thank you!

I check SSO, Operation was successful. You can see in attachment.

I have a access to vcenter service appliance - http://vcenter_IP:5480/ , I have SSH access to vcenter, but I cannot access to vcenter client.

Where should I look for a problem?

0 Kudos
Marmotte94
Enthusiast
Enthusiast

Hi,

You can try from ssh

# ping IpOfMyLDAPServer

# ping IpOfMyDNSServer

From web (Try with more than two browsers) :

http://vcenter_FQDN:9443/vsphere-client

http://vcenter_IP:9443/vsphere-client

And try to login with administrator@vsphere.local account.

You can look at this KB to check if all services are started from SSH on VCSA. VMware Knowledge Base

Thank you,

Please, visit my blog http://www.purplescreen.eu/
0 Kudos
Smerchla
Contributor
Contributor

Thank you,.

I tryd this option http://vcenter_FQDN:9443/vsphere-client and was able to log in, but only in web browser, not in a VMware vSphere Client. Second bad news I don't have any host in web client, it's empty.

0 Kudos
Smerchla
Contributor
Contributor

I have message "Could not connect to one or more vCenter Server systems: https://vcenter.my.local:443/sdk

0 Kudos
GayathriS
Expert
Expert

Check out this blog and see if that helps :

SOLVED: Could not connect to one or more vCenter Server systems:

regards

Gayathri

0 Kudos
sushilkm
Enthusiast
Enthusiast

2018-12-07T08:20:43.605Z [7FA96E132740 info 'vpxservicesMoServiceDirectory'] [ServiceDirectory] Local instance UUID: 0FCF384F-1EEA-4A00-9424-673FC0F7F363

2018-12-07T08:20:43.608Z [7FA96E132740 error 'linuxvpxLdap_linux'] [LDAP Client] Failed to modify LDAP entry cn=VIMAPI,cn=0FCF384F-1EEA-4A00-9424-673FC0F7F363,ou=Instances,dc=virtualcenter,dc=vmware,dc=int: 0x1 (Operations error)

2018-12-07T08:20:43.608Z [7FA96E132740 error 'linuxvpxLdap_linux'] [LDAP Client] LdapApi::modify_s: key (vmw-vc-SSLThumbprint)

2018-12-07T08:20:43.608Z [7FA96E132740 error 'vpxservicesMoServiceDirectory'] [ServiceDirectory::UpdateServiceInfo] Error while modifying service-endpoint SSL thumbprint cn=VIMAPI,cn=0FCF384F-1EEA-4A00-9424-673FC0F7F363,ou=Instances,dc=virtualcenter,dc=vmware,dc=int

2018-12-07T08:20:43.608Z [7FA96E132740 error 'vpxdvpxdMain'] [Init] Init failed: Ldap error

--> Backtrace:

--> backtrace[00] rip 00007fa968097014 Vmacore::System::Stacktrace::CaptureWork(unsigned int)

--> backtrace[01] rip 00007fa967f81132 Vmacore::System::SystemFactoryImpl::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)

--> backtrace[02] rip 00007fa967ee28a5 Vmacore::Throwable::Throwable(std::string const&)

--> backtrace[03] rip 00007fa96f16331f Vmomi::Fault::SystemError::Exception::Exception(std::string const&)

--> backtrace[04] rip 00007fa97060c60b /usr/lib/vmware-vpx/vpxd(+0x235960b) [0x7fa97060c60b]

--> backtrace[05] rip 00007fa97060f0fd /usr/lib/vmware-vpx/vpxd(+0x235c0fd) [0x7fa97060f0fd]

--> backtrace[06] rip 00007fa97060f645 /usr/lib/vmware-vpx/vpxd(+0x235c645) [0x7fa97060f645]

--> backtrace[07] rip 00007fa96f14daaf /usr/lib/vmware-vpx/vpxd(+0xe9aaaf) [0x7fa96f14daaf]

--> backtrace[08] rip 00007fa96f161d43 /usr/lib/vmware-vpx/vpxd(+0xeaed43) [0x7fa96f161d43]

--> backtrace[09] rip 00007fa96f144c2e /usr/lib/vmware-vpx/vpxd(+0xe91c2e) [0x7fa96f144c2e]

--> backtrace[10] rip 00007fa966007c16 /lib64/libc.so.6(__libc_start_main+0xe6) [0x7fa966007c16]

--> backtrace[11] rip 00007fa96f143e89 /usr/lib/vmware-vpx/vpxd(+0xe90e89) [0x7fa96f143e89]

Looks like Some thing with LDAP. Are you able to authenticate . Look like your ADAM database is full or corrupt as it is not able to write it . try below

try below...hope it helps

vCenter service fails to start under vCenter appliance 5.5 having error Can't contact LDAP server - ...

0 Kudos
Smerchla
Contributor
Contributor

Thank you very much !!!!!!

sushilkm I used your link  vCenter service fails to start under vCenter appliance 5.5 having error Can't contact LDAP server - ...

this command has fixed all the errors  ( jointool recover –recoverIfPossible –webServiceURL https://vcenter_FQDN:8443/vws –name https:// vcenter_FQDN –vimURL https:// vcenter_FQDN /sdk )

0 Kudos