ESXi hosts continuously report syslog-related errors in the vobd.log and host events. These errors are generated every few seconds, resulting in excessive log generation. Additionally, the ESXi hosts fail to forward logs to the configured remote syslog server, despite successful network connectivity and verification that the required ports are accessible.
In ESXi /var/run/log/vobd.log, the following entries are observed:
[YYYY-MM-DD-THH:MM:SS] In(14) vobd[####]: [UserLevelCorrelator] ####us: [esx.problem.vmsyslogd.remote.failure] The host "[syslog server IP]:6514" has become unreachable. Remote logging to this host has stopped.[YYYY-MM-DD-THH:MM:SS] In(14) vobd[####]: The event ([esx.problem.vmsyslogd.remote.failure] The host "[syslog server IP]:6514" has become unreachable. Remote logging to this host has stopped.) was sent immediately to hostd;[YYYY-MM-DD-THH:MM:SS] In(14) vobd[####]: [GenericCorrelator] ####us: [vob.user.vmsyslogd.remote.failure] The host "[syslog server IP]:6514" has become unreachable. Remote logging to this host has stopped.
/var/log/.vmsyslogd.err, the following entries are observed:[YYYY-MM-DD-THH:MM:SS] vmsyslog.loggers.network : ERROR ] [syslog server IP]:6514 - socket error : [Errno 32] Broken pipe[YYYY-MM-DD-THH:MM:SS] vmsyslog.loggers.network : ERROR ] Error shutting down socket.VMware vSphere ESXi 8.x
The issue occurs because encryption is enabled on the remote syslog server, while the ESXi hosts continue to forward logs using unencrypted Transmission Control Protocol (TCP). This protocol mismatch causes the remote syslog server to reject the incoming connections, preventing successful log forwarding and resulting in repeated syslog-related errors on the ESXi hosts.
To resolve this configuration mismatch, follow either of the two methods listed below. Performing these steps only affects the logging service and will not impact running virtual machines or host availability.
Syslog.global.logHost.ssl:// prefix (e.g., ssl://<syslog-server-ip>:6514).esxcli system syslog config set --loghost="ssl://<syslog-server-ip>:6514"esxcli system syslog reload/var/log/.vmsyslogd.err.