vcenter 6.5 u2 is not starting . Also I restored from backup ( 15 days ago ) but I get the same error again.
Successfully started service vmware-psc-client
Service-control failed. Error Failed to start vmon services.vmon-cli RC=2, stderr=Failed to start sca, cm services. Error: Service crashed while starting
root@photon-machine [ ~ ]# service-control –status
Service-control failed. Error Exactly one operation must be specified.
root@photon-machine [ ~ ]#
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x000055dcd9b8e220] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)
Hi @sadom,
As per the logs seems like certificates are expired.
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Mon Jun 01 05:56:21 EET 2020
Kindly follow the below VMware KB. Make sure that you take a SNAPSHOT of the VCSA before proceeding with the steps.
After running the above script, if the services fails, kindly check the machine SSL certificate as well for expiry. If expired, you need to replace the Machine SSL as well.
Regards,
Nirmal Nair
If your machine is coming up with the host name as photon-machine, it wasn't properly set up from the beginning (more than likely). For break/fix issues such as these, you should open a support request with VMware.
Do not have any control or suggestions before calling the support ?
Failed to start vmon services.vmon-cli RC=2, stderr=Failed to start sca, cm services. Error: Service crashed while starting.
Start looking at cm.log(var/log/vmware/cm) for possible reasons.
[ ~ ]# cat /var/log/vmware/cm/cm.log The output of the command is attached . i hope its helps . I think I could not copy all of the output, I think the command might be wrong
Hi @sadom,
As per the logs seems like certificates are expired.
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Mon Jun 01 05:56:21 EET 2020
Kindly follow the below VMware KB. Make sure that you take a SNAPSHOT of the VCSA before proceeding with the steps.
After running the above script, if the services fails, kindly check the machine SSL certificate as well for expiry. If expired, you need to replace the Machine SSL as well.
Regards,
Nirmal Nair
thank you very much. it fixed the my problem
You can run this command
/etc/init.d/vmware-vpostgres start