Issues while upgrading Applications Manager with PostgreSQL backend database

Issues while upgrading Applications Manager with PostgreSQL backend database

Problem 1:

After installing Applications Manager versions 14850 and above with PostgreSQL backend, following error message is shown due to error initPGSQLDB.sh because of GLIBC_2.9 not found: 

./initdb: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by ./initdb)

./initdb: /lib64/libc.so.6: version `GLIBC_2.6' not found (required by ./initdb)

./initdb: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /home/test/AppManager14/working/pgsql/bin/../lib/libcrypto.so.1.1)

(OR)

After applying service pack (.ppm file) upgrade to versions 14850 and above with PostgreSQL backend in Linux, following error message is shown due to GLIBC_2.9 not found:

./postgres: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by ./postgres)

./postgres: /lib64/libc.so.6: version `GLIBC_2.6' not found (required by ./postgres)

./postgres: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /home/test/AppManager14/working/pgsql_11.7/bin/../lib/libcrypto.so.1.1)


Solution:

For the above error traces, check the below command to verify the GLIBC in your Linux server:

$ldd --version

If the above command output returns GNU LIBC < 2.9, then upgrade the GLIBC in your machine and try installing the Applications Manager once again. For more information on upgrading GLIBC, refer here.


Problem 2:
After applying service pack (.ppm file) upgrade to versions 14850 and above with PostgreSQL backend in Linux, following error message is shown:
Unable to apply PPM due to kernel's SHMMAX parameter is low in this system. You can either reduce the request size or reconfigure the kernel with larger SHMMAX.
To reduce the request size, reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections.

Solution:
To reconfigure the kernel with larger SHMMAX, shared memory size settings can be changed via the sysctl interface. 

For example, to allow 16 GB, execute the following command:
$ sysctl -w kernel.shmmax=17179869184

For more information on shared memory, refer here

Note: Upgrading Applications Manager on Windows 2003 server is not supported as this edition is EOLed. Please upgrade the Windows edition first, then proceed upgrading the Applications Manager. 
Ref: https://www.microsoft.com/en-ie/mrap/products/windows-server-2003