cancel
Showing results for 
Search instead for 
Did you mean: 

EDB Postgresql 9.6 installation fails on Centos 7

Adventurer

EDB Postgresql 9.6 installation fails on Centos 7

Hi,

I am trying to install EDB PG 9.6 64 bit on CetOS 7 (64 bit) vm (hosted on virtual box/vagrant). I am getting errors in post install step and I am unable to find anything on it on forums or in documentation. I am installing it as root.

 

Please find the failure log messgaes from bit rocket log files from /tmp:

 

Unpacking /tmp/postgresplusas_meta_53196277cb/edb-pgbouncer-1.7.2-1-linux-x64.run
[15:12:13] Installing EDB Postgres Advanced Server in /opt/edb having data directory /opt/edb/as9.6/data using Port:5432 and Locale:DEFAULT
Installing EDB Postgres Advanced Server ...
Executing /tmp/postgresplusas_meta_53196277cb/edb-as96-server-9.6.2.7-1-linux-x64.run --mode unattended --unattendedmodeui minimal --installdir "/opt/edb/as9.6" --datadir "/opt/edb/as9.6/data" --serviceaccount "postgres" --superaccount "postgres" --serverport 5432 --locale "DEFAULT" --servicename "edb-as-9.6" --databasemode postgresql --server_utilization 66 --workload_profile oltp --create_samples 1 --xlogdir "/opt/edb/as9.6/data/pg_xlog" --installer-language en --optionfile "/tmp/postgresplusas_meta_53196277cb/postgresplus.options"
Script exit code: 1

Script output:
Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.

Script stderr:
child process exited abnormally

Error running /tmp/postgresplusas_meta_53196277cb/edb-as96-server-9.6.2.7-1-linux-x64.run --mode unattended --unattendedmodeui minimal --installdir "/opt/edb/as9.6" --datadir "/opt/edb/as9.6/data" --serviceaccount "postgres" --superaccount "postgres" --serverport 5432 --locale "DEFAULT" --servicename "edb-as-9.6" --databasemode postgresql --server_utilization 66 --workload_profile oltp --create_samples 1 --xlogdir "/opt/edb/as9.6/data/pg_xlog" --installer-language en --optionfile "/tmp/postgresplusas_meta_53196277cb/postgresplus.options": child process exited abnormally
Creating menu shortcuts...
Executing /opt/edb/as9.6/installer/metainstaller/createshortcuts.sh "/opt/edb/as9.6" "9.6" "/tmp/postgresplusas_meta_53196277cb"
Script exit code: 0

Script output:
/opt/edb/as9.6/installer/metainstaller/createshortcuts.sh ran to completion

Script stderr:

Unpacking /tmp/postgresplusas_meta_53196277cb/edb-pgbouncer-1.7.2-1-linux-x64.run
[15:12:13] Installing EDB Postgres Advanced Server in /opt/edb having data directory /opt/edb/as9.6/data using Port:5432 and Locale:DEFAULT
Installing EDB Postgres Advanced Server ...
Executing /tmp/postgresplusas_meta_53196277cb/edb-as96-server-9.6.2.7-1-linux-x64.run --mode unattended --unattendedmodeui minimal --installdir "/opt/edb/as9.6" --datadir "/opt/edb/as9.6/data" --serviceaccount "postgres" --superaccount "postgres" --serverport 5432 --locale "DEFAULT" --servicename "edb-as-9.6" --databasemode postgresql --server_utilization 66 --workload_profile oltp --create_samples 1 --xlogdir "/opt/edb/as9.6/data/pg_xlog" --installer-language en --optionfile "/tmp/postgresplusas_meta_53196277cb/postgresplus.options"
Script exit code: 1

Script output:
Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.

Script stderr:
child process exited abnormally

Error running /tmp/postgresplusas_meta_53196277cb/edb-as96-server-9.6.2.7-1-linux-x64.run --mode unattended --unattendedmodeui minimal --installdir "/opt/edb/as9.6" --datadir "/opt/edb/as9.6/data" --serviceaccount "postgres" --superaccount "postgres" --serverport 5432 --locale "DEFAULT" --servicename "edb-as-9.6" --databasemode postgresql --server_utilization 66 --workload_profile oltp --create_samples 1 --xlogdir "/opt/edb/as9.6/data/pg_xlog" --installer-language en --optionfile "/tmp/postgresplusas_meta_53196277cb/postgresplus.options": child process exited abnormally
Creating menu shortcuts...
Executing /opt/edb/as9.6/installer/metainstaller/createshortcuts.sh "/opt/edb/as9.6" "9.6" "/tmp/postgresplusas_meta_53196277cb"
Script exit code: 0

Script output:
/opt/edb/as9.6/installer/metainstaller/createshortcuts.sh ran to completion

Script stderr:

6 REPLIES 6
EDB Team Member

Re: EDB Postgresql 9.6 installation fails on Centos 7

Hi rkp1234,

 

Could you please share the exact command which you are using to install EDB EPAS 9.6 in postgresql database mode. And also could you please attach the bitrock installler log from the "/tmp/" location during the time of installation fails, the provided output from the bitrock installler is not helpful we would require all the data.

Adventurer

Re: EDB Postgresql 9.6 installation fails on Centos 7

Hi Kapil,

Thanks for the response.

 

I used x11 as well text mode install resulting in same error. In text mode, I used interactive text mode:  ./edb-as96-meta-9.6.2.7-2-linux-x64.run --mode text

 

./edb-as96-meta-9.6.2.7-2-linux-x64.run --mode gtk (using x11)

 

I have attached bitrocker log file as well. I cant find any attachment option in the menu bar.

 

Thanks

Adventurer

Re: EDB Postgresql 9.6 installation fails on Centos 7

 
EDB Team Member

Re: EDB Postgresql 9.6 installation fails on Centos 7

Hi rkp1234,

 

There is option to attach files at the bottom when you click on the post Button.

 

Have attached snap for your reference.

 

You should be able to share the bitrock installer log file located at temp location.

Adventurer

Re: EDB Postgresql 9.6 installation fails on Centos 7

Hi,

I saw your screenshot and was expecting the same but I cant see choose files button below text editior. I am using Chrome browser

 

Let me know why is this or is there any other way to share the file.

On another note, all I want is a VM with ED postgres 9.6 working. Do you have any Centos 7 VM image with EDB postgres 9.6 installed which I can download and import in Vagrant?

 

Thanks]

Raj

EDB Team Member

Re: EDB Postgresql 9.6 installation fails on Centos 7

Hi Raj,

 

Unfortunately, there is no direct VM available to download which includes EDB PostgreSQL-9.6 installed in it.

However, you can follow below documentation for the installation which includes all the setups in details:

 

https://www.enterprisedb.com/edb-docs/d/postgresql/installation-getting-started/installation-guide-i...

 

We request you to follow the steps provided in it and let us know if you still receive the installation errors.

 

Else, we request you follow below link where you will get cloud environment on CentOS-7 with EDB PostgreSQL-10/11 preinstalled in it.

 

https://www.enterprisedb.com/edb-postgres-cds

 

Hope this solves your requirement.

Regards,
Dhananjay