When attempting to resolve a 100% full root partition (/dev/mapper/system-system_0) in Aria Suite Lifecycle by following Broadcom KB Unable to Log into Lifecycle Manager Due to Drive Space Issue, administrators may encounter the following roadblocks that prevent clearing the database bloat:
postgres user (su - postgres), the system throws a warning:"Your account has expired; please contact your system administrator. su: Authentication token expired (Ignored)."VACUUM command./psql -d vrlcm"psql.bin: error: connection to server on socket "<directory>" failed: No such file or directory"Waiting for services to startVMware Aria Suite Lifecycle (LCM) 8.18.x
This issue is a "Catch-22" scenario caused by absolute disk exhaustion:
vpostgres) crashes when the disk hits exactly 100% capacity because it requires a small amount of free space to create temporary lock files. Because the database service is down, administrators cannot connect to it to run the VACUUM command required to clear the space.To break the cycle, it's a must to blindly clear temporary log and cache files as root to carve out enough space to start the PostgreSQL service. Then, run the vacuum command via sudo to bypass the expired account shell.
Free up temporary space
tdnf clean all journalctl --vacuum-time=1d truncate -s 0 /var/log/messagesdf -h and verify that /dev/mapper/system-system_0 has dropped to 99% or shows at least a few megabytes of available space.
Start the PostgreSQL Service
systemctl restart vpostgresq to exit the status screen):systemctl status vpostgres
Run the VACUUM command (Bypassing su)
vacuum command directly from the root prompt. This bypasses the expired authentication token issue by utilizing the following:sudo -u postgres /opt/vmware/vpostgres/current/bin/psql -d vrlcm -c "VACUUM FULL verbose analyze;"
Verify Space and Restart LCM Services
df -hsystemctl restart vrlcm-serverAria Suite Lifecycle UI to fully initialize and become accessible in a web browser.postgres user (su - postgres), the system throws a warning:"Your account has expired; please contact your system administrator. su: Authentication token expired (Ignored)."