ERROR service-control: Service-control failed. Error: Failed to start services in profile ALL. RC=2, stderr=Failed to start wcp services. Error: Service crashed while starting.
https://<VC-IP-or-FQDN>/openidconnect/jwks/vsphere.local
https://<VC-IP-or-FQDN>/openidconnect/vsphere.local/.well-known/openid-configuration
yyyy-mm-ddThh:mm:ss.Z INFO service-control Successfully started service vmware-vmon
yyyy-mm-ddThh:mm:ss.Z ERROR service-control Service-control failed. Error: Failed to start services in profile ALL. RC=2, stderr=Failed to start wcp services. Error: Service crashed while starting
yyyy-mm-ddThh:mm:ss.Z error wcp Failed to parse VC JWKS: invalid character '<' looking for beginning of value
yyyy-mm-ddThh:mm:ss.Z fatal wcp Unable to get VC public key configuration : invalid character '<' looking for beginning of value
[dd/mm/yyyy:hh:mm:ss+xxxx] tomcat-http--43 [Request] 127.0.0.1:45786 to local 443 - HTTP/1.1 GET /openidconnect/jwks/vsphere.local [Response] 404 - 431 bytes [Perf] process 2ms / commit 2ms / conn [+]
yyyy-mm-ddThh:mm:ss.Z INFO org.apache.catalina.startup.HostConfig Deploying web application directory [/usr/lib/vmware-sso/vmware-sts/webapps/openidconnect]
yyyy-mm-ddThh:mm:ss.Z INFO org.apache.catalina.startup.HostConfig Deployment of web application directory [/usr/lib/vmware-sso/vmware-sts/webapps/openidconnect] has finished in [11] ms
VMware vCenter Server 7.x
Please Note -
Resolution Steps involved the clean up the Tomcat files -
service-control --stop --all
ls -l /usr/lib/vmware-sso/vmware-sts/webapps/
/usr/lib/vmware-sso/vmware-sts/webapps/
directory except for ROOT.war.Kindly note it is important to leave ROOT.war untouched, as it will be unpacked upon service restart.
service-control --start --all