Jump to content
Changes to the Jaspersoft community edition download ×

Postgres psql can't find when in silent mode


kok-hooi.chew

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...