VMware Cloud Community
sfeldin
Contributor
Contributor

VCSA 5.5 vpxd fails to initialize

Hello,

has anyone solved the issue of vpxd not initialized and in vpxd.log there is entry of Failed to add LDAP entry?

2014-09-26T15:54:54.679Z [7FB4CD0CF740 error 'linuxvpxLdap_linux'] [LDAP Client] Failed to add LDAP entry CN=3D5A218C-BA3E-49C5-8897-F13234FCFC53,OU=ComponentSpecs,OU=Health,dc=virtualcenter,dc=vmware,dc=int: 0x68 (Already exists)

I know of sollution for vCenter Server on Windows (VMware KB: VMware vCenter Server 5.x fails to start with the error: Failed to add LDAP entry ) but I have a Linux appliance. When I try to delete this record via ldapdelete I am prompted for password which isnt the same as for root acoount.

Any hints more than welcome.

Simon

Tags (3)
Reply
0 Kudos
5 Replies
sfeldin
Contributor
Contributor

Anyone?

Reply
0 Kudos
rcporto
Leadership
Leadership

Did you tried providing administrator@vsphere.local credentials instead of root account ?

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos
sfeldin
Contributor
Contributor

I tried with several passwords. Syntax of ldapdelete only has password as argument no username.

Strange there is no documentation on how to connect to ldap server on VCSA. Plenty of resources on this subject if vCenter is installed on Windows Server.

Reply
0 Kudos
bleibold
Contributor
Contributor

I am having this same issue, did you ever figure out how to fix the LDAP error?

Thanks,

Bob

Reply
0 Kudos
deric_crago
Contributor
Contributor

Try this to determine your ldap password:

grep '^userPwd=' /etc/vmware-vpx/instance.cfg | cut -c 9- | tr -d '\\\\' | base64 -d | python -c "import sys

data = sys.stdin.read()

data_len = len(data)

for i in range(data_len):

sys.stdout.write(data[data_len-i-1])

" | openssl rsautl -inkey /etc/vmware-vpx/ssl/rui.key -pkcs -decrypt

Thanks,

Deric

Reply
0 Kudos