× logrotate.service - Rotate log filesLoaded: loaded (/usr/lib/systemd/system/logrotate.service; static)Active: failed (Result: exit-code) since Tue 2026-05-12 09:00:58 UTCTriggeredBy: ● logrotate.timerProcess: ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE)
error: failed to open config file syslog: Permission deniederror: found error in file syslog, skippingerror: skipping "/var/log/vmware/capengine/core-engine.log" because parent directory hasinsecure permissions (It's world writable or writable by group which is not "root")error: skipping "/var/log/vmware/capengine/workflow-manager-http.log" because parent directoryhas insecure permissions (It's world writable or writable by group which is not "root")error: skipping "/var/log/vmware/messages" because parent directory has insecure permissions (It's world writable or writable by group which is not "root")
/var/log/messages file grows until the partition is 100% fullTCA 3.4
TCP 5.1
Two misconfigurations are introduced during TCA node deployment:
/etc/logrotate.d/syslog has incorrect file permissions (600 instead of 644)/etc/logrotate.d/ are correctly set to 644.-rw------- 1 root root 915 /etc/logrotate.d/syslog ← wrong: 600-rw-r--r-- 1 root root 516 /etc/logrotate.d/cap-update-service.lr-rw-r--r-- 1 root root 198 /etc/logrotate.d/cap-workflow-engine.lr
/var/log/vmware/ and its subdirectories have world-writable permissions (0707)drwx---rwx (0707). logrotate enforces a security check that refuses to rotate any log files inside a world-writable parent directory. This causes it to skip all VMware CAP engine logs and exit with error code 1.Access: (0707/drwx---rwx) /var/log/vmware/Access: (0707/drwx---rwx) /var/log/vmware/capengine/Perform the following steps on each affected TCA node as root.
ls -la /etc/logrotate.d/syslogstat /var/log/vmware | grep -E "File:|Access:"chmod 644 /etc/logrotate.d/syslog
/var/log/vmware is a real directory or a symlink:stat /var/log/vmware
chmod 755 /var/log/vmware/ /var/log/vmware/capengine/ /var/log/vmware/agent/ /var/log/vmware/tca/
chmod 755 /logs/vmware/ /logs/vmware/capengine/ /logs/vmware/agent/ /logs/vmware/tca/
/var/log/vmware is a real directory, run below:cat > /etc/tmpfiles.d/vmware-logdir.conf << 'EOF'd /var/log/vmware 0755 root root -d /var/log/vmware/capengine 0755 root root -d /var/log/vmware/agent 0755 root root -d /var/log/vmware/tca 0755 root root -EOFsystemd-tmpfiles --create /etc/tmpfiles.d/vmware-logdir.confcat > /etc/tmpfiles.d/vmware-logdir.conf << 'EOF'd /logs/vmware 0755 root root -d /logs/vmware/capengine 0755 root root -d /logs/vmware/agent 0755 root root -d /logs/vmware/tca 0755 root root -EOFsystemd-tmpfiles --create /etc/tmpfiles.d/vmware-logdir.confecho $?stat /var/log/vmware/ | grep Accesslogrotate -v /etc/logrotate.conf 2>&1 | grep -iE "error|skipping"systemctl restart logrotate && systemctl status logrotateProcess: ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=0/SUCCESS)systemd[1]: Finished Rotate log files.Remaining skipping lines in the logrotate verbose output after applying the fix — for example:
log /var/log/warn does not exist -- skippinglog /var/log/mail does not exist -- skippinglog /var/log/vmware/messages does not exist -- skipping
These are not errors. They indicate log files that are referenced in the syslog config but have not been created on this node because the corresponding services (mail, syslog forwarding) are not active.