Postgres psql can't find when in silent mode

0

Hi All,

I'm getting the following error when try to install Japersoft Report Server using silent mode

Log started 05/30/2018 at 06:51:59
Preferred installation mode : unattended
Trying to init installer in mode unattended
Mode unattended successfully initialized
Setting variable base_umask from umask 
Script exit code: 0

Script output:
 0022

Script stderr:
 

Preparing to Install
Preparing to Install
Executing /opt/jaspersoft/postgressql/bin/psql -U postgres -d jasperserver -c "\q"
Script exit code: 127

Script output:
 

Script stderr:
 /bin/sh: 1: /opt/jaspersoft/postgressql/bin/psql: not found

Error running /opt/jaspersoft/postgressql/bin/psql -U postgres -d jasperserver -c "\q": /bin/sh: 1: /opt/jaspersoft/postgressql/bin/psql: not found
[06:52:04] Log: 1111 - PostgreSQL version 9
[06:52:04]  Log: Target System Information for DEBUG:
[06:52:04]      
[06:52:04]  This information is logged from the script file: 
[06:52:04]    jasperserver-postgres-database-creation.xml
[06:52:04]    
[06:52:04]  General information on install-time variables:  
[06:52:04]    database_port = 5432
[06:52:04]    database_hostname = 127.0.0.1
[06:52:04]    postgres_installation_type = bundled
[06:52:04]    postgres_binary_directory = /opt/jaspersoft/postgressql/bin
[06:52:04]    database_arguments = -U postgres -p 5432 -h 127.0.0.1
[06:52:04]    database_root_password = ****
[06:52:04]    postgres_database_password = ****
[06:52:04]    jasperserver_database_name = jasperserver
[06:52:04]    jasperserver_postgres_version = 9

 

This is the command

--mode unattended --installer-language en --jasperLicenseAccepted yes --prefix /opt/jaspersoft --postgres_binary_directory /opt/jaspersoft/postgressql/bin --tomcat_server_port 8888 --tomcat_server_shutdown_port 8989 --jasperserver_install_sampledata 0

 

Appreciate any help on this

kok-hooi.chew's picture
Joined: Feb 6 2018 - 11:00pm
Last seen: 1 year 5 months ago

0 Answers:

No answers yet
Feedback
randomness