Unable to acquire JDBC Connection; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connectionvrlcm-cli --health-status on the Fleet Management appliance via SSH reveals the postgres service is down.bootstrap: SUCCESSpostgres: Not Runningvrlcm-server: Running blackstone: Runningsystemctl start vpostgres.service) fails with a control process error.systemctl start vpostgres.service Job for vpostgres.service failed because the control process exited with error code. See "systemctl status vpostgres.service" and "journalctl -xeu vpostgres.service" for details.journalctl -xeu vpostgres.service indicates a stale postmaster.pid file on a read-only file system:postgres[###]: pg_ctl: another server might be running; trying to start server anywaypostgres[###]: ###-##-## ##:##:### UTC [####] FATAL: could not remove old lock file "postmaster.pid": Read-only file systempostgres[###]: ##-##-## ##:##:### UTC [###] HINT: The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again.postgres[####]: pg_ctl: could not start serverpostgres[####]: Examine the log output.systemd[1]: vpostgres.service: Control process exited, code=exited, status=1/FAILUREvpostgres.service) cannot delete a stale postmaster.pid lock file during startup. This failure prevents the database engine from initializing, breaking the JDBC connection required to load the Fleet Management interface.Manually rename the corrupted database lock file to allow the PostgreSQL service to initialize successfully.
Prerequisite Take an offline (powered-off) snapshot of Fleet Management virtual machine before proceeding.
root user.postmaster.pid file in the database directory:ls -l /storage/db/pgdata/mv /storage/db/pgdata/postmaster.pid /storage/db/pgdata/postmaster.pid_bkpsystemctl start vpostgres.service
Note: The service automatically generates a new PID file upon initialization.
vrlcm-cli --health-statusExpected Output:bootstrap: SUCCESSpostgres: Runningvrlcm-server: Runningblackstone: Running