error: unpacking of archive failed on file /opt/vmware/vpostgres/current; 69b84901 cpio: File from package already exists as a directory in systemerror: VMware-Postgres-14.20.0-25175663.x86_64: install failed
vrlcm-cli --health-statusbootstrap ------------- In progresspostgres ------------- Not Runningvrlcm-server -------------Not Runningblackstone ------------- Not Running
ERROR LCM_FQDN — [ main] o.h.e.j.s.SqlExceptionHelper [logExceptions] : Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.ERROR LCM_FQDN — [ main] j.LocalContainerEntityManagerFactoryBean [buildNativeEntityManagerFactory] : Failed to initialize JPA EntityManagerFactory: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution
Aria Suite Lifecycle Manager 8.18
This issue occurs when the 'current' folder under the /opt/vmware/vpostgres location exists as a folder directory instead of the expected symbolic link (symlink) to /opt/vmware/vpostgres/11
The srv path type can be verified by performing the following
cd /opt/vmware/vpostgres
ls -l
Incorrect result :
drwxr-xr-x # root root ### MMM DD YYYY 11
lrwxrwxrwx # root root ### MMM DD YYYY current
Expected result :
drwxr-xr-x # root root ### MMM DD YYYY 11
lrwxrwxrwx # root root ### MMM DD YYYY current -> 11
1. Revert the Aria Suite Lifecycle Manager to the pre-upgrade snapshot
2. Power On the Aria Suite Lifecycle Manager node
3. SSH to the Aria Suite Lifecycle Manager node using the root account
4. Stop the vPostgres service
service vPostgres stop
5. Change directory under /opt/vmware/vpostgres
cd /opt/vmware/vpostgres
6. Backup the "current" directory
cp -rp current /data/
7. Delete the "current" directory:
rm -rf current
8. Create a symlink pointing to the 11 folder
ln -s 11 current
9. Ensure the symlink shows properly
Expected result :
drwxr-xr-x # root root ### MMM DD YYYY 11
lrwxrwxrwx # root root ### MMM DD YYYY current -> 11
10. Re-attempt the Aria Suite Lifecycle Manager upgrade patch