When attempting to run a compliance check against an ESX host in the vCenter Server UI, the process will fail with and an "internal_server_error" will be presented.
From the /var/run/log/settingsd.log you may see an error similar to the following:
####-##-##T##:##:##.###Z Er(11) settingsd[2099205] [/var/vmware/lifecycle/task-status.json.db]: Failed to execute####-##-##T##:##:##.###Z Er(11) settingsd[2099205] INSERT INTO tasks (task_id, create_time, last_modified_time)####-##-##T##:##:##.###Z Er(11) settingsd[2099205] VALUES (?, ?, ?);####-##-##T##:##:##.###Z Er(11) settingsd[2099205] -- (266/266) disk I/O error
ESX 8.x
This is caused by a connection issue between the ESX host and the configured persistant scratch partition.
Ensure that the configuration for each ESX host's persistant scratch partition is unique to the host and that there are no connection issues to it.
For reviewing the ESX logs, refer to Location of ESXi log files
For reviewing and creating an ESX persistant scratch partition, refer to Creating a persistent scratch location for ESXi 8.x/7.x