Symptoms:
- vCenter Server patching to 7.0 U3f (Build 20051473) fails with error message "Exception occured in postInstallHook" in VAMI page.
- Patching VCSA through CLI fails with error "An error occured while starting sts"
- Upgrading vCenter Server from 6.x to 7.0 U3f will fail with "A problem occurred while - Starting VMware Security Token Service"
- VCSA is joined to Active Directory domain and is currently using, or has used in the past, Integrated Windows Authentication for identity source
- Log file /var/log/vmware/applmgmt/Patchrunner.log will show similar to below entries :
YYYY-MM-DD HH:MM ERROR vmware_b2b.patching.phases.patcher Patch hook Patch got unhandled exception.
Traceback (most recent call last):
File "/storage/seat/software-updatew2oofv0c/stage/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 203, in patch
_patchComponents(ctx, userData, statusAggregator.reportingQueue)
File "/storage/seat/software-updatew2oofv0c/stage/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 84, in _patchComponents
_startDependentServices(c)
File "/storage/seat/software-updatew2oofv0c/stage/scripts/patches/py/vmware_b2b/patching/phases/patcher.py", line 53, in _startDependentServices
serviceManager.start(depService)
super(VMwareServiceController, self).start(serviceName)
File "/storage/seat/software-updatew2oofv0c/stage/scripts/patches/libs/sdk/service_manager.py", line 665, in start
raise IllegalServiceOperation(errorText)
service_manager.IllegalServiceOperation: Service cannot be started. Error: Error executing start on service sts. Details {
"detail": [
{
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"args": [
"sts"
],
"localized": "An error occurred while starting service 'sts'"
}
- STS runtime log file log/vmware/sso/sts-runtime.log.stderr will show below error message :
Starting service process with pid: 38715.
Picked up JAVA_TOOL_OPTIONS: -Xms32M -Xmx128M -Dcom.sun.org.apache.xml.internal.security.ignoreLineBreaks=true -Dorg.apache.xml.security.ignoreLineBreaks=true
free(): corrupted unsorted chunks
Log file will show any of the memory corruption errors mentioned below :
free(): corrupted unsorted chunks
double free or corruption (!prev)
corrupted size vs. prev_size
free(): invalid next size (normal)
- /var/core directory will show core dump files like below :
core.Thread-2.38715
core.Thread-2.54064