Jump to content
We've recently updated our Privacy Statement, available here ×

Problem with install Jasperserver 5.2.0 CE on Debian


danielobs

Recommended Posts

Hi,

I have problem with install Jasperserver 5.2.0 CE on Debian.

Screen of installation:

 Installing
 0% ______________ 50% ______________ 100%
 #########################################

Warning: Problem running post-install step. Installation may not complete
correctly
 Error running /opt/jasperreports-server-cp-5.2.0/postgresql/bin/createuser -U
postgres -p 5432 -h 127.0.0.1 -D -R -S jasperdb : createuser.bin: could not
connect to database postgres: could not connect to server: Connection refused
        Is the server running on host "127.0.0.1" and accepting
        TCP/IP connections on port 5432?
Press [Enter] to continue :
Warning: Problem running post-install step. Installation may not complete
correctly
 Error running /opt/jasperreports-server-cp-5.2.0/apache-ant/bin/ant import-minimal-ce :
BUILD FAILED
/opt/jasperreports-server-cp-5.2.0/buildomatic/bin/import-export.xml:270: The
following error occurred while executing this line:
/opt/jasperreports-server-cp-5.2.0/buildomatic/bin/import-export.xml:144: The
following error occurred while executing this line:
/opt/jasperreports-server-cp-5.2.0/buildomatic/bin/validation.xml:370: The
following error occurred while executing this line:
/opt/jasperreports-server-cp-5.2.0/buildomatic/conf_source/db/postgresql/db.xml:5
8: The following error occurred while executing this line:
/opt/jasperreports-server-cp-5.2.0/buildomatic/bin/validation.xml:428: The
following error occurred while executing this line:
/opt/jasperreports-server-cp-5.2.0/buildomatic/bin/validation.xml:464: Database
doesn't exist. Treating problem with JDBC connection as unrecoverable

Total time: 1 second
Press [Enter] to continue :
----------------------------------------------------------------------------
Setup has finished installing JasperReports Server CP 5.2.0 on your computer.



Afrer running ctlscript.sh is error:


root@debian:/tmp# /opt/jasperreports-server-cp-5.2.0/ctlscript.sh start
LOG:  database system was shut down at 2013-08-16 11:55:46 CEST
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started
/opt/jasperreports-server-cp-5.2.0/postgresql/scripts/ctl.sh : postgresql  started at port 5432
Using CATALINA_BASE:   /opt/jasperreports-server-cp-5.2.0/apache-tomcat
Using CATALINA_HOME:   /opt/jasperreports-server-cp-5.2.0/apache-tomcat
Using CATALINA_TMPDIR: /opt/jasperreports-server-cp-5.2.0/apache-tomcat/temp
Using JRE_HOME:        /opt/jasperreports-server-cp-5.2.0/java
Using CLASSPATH:       /opt/jasperreports-server-cp-5.2.0/apache-tomcat/bin/bootstrap.jar
/opt/jasperreports-server-cp-5.2.0/apache-tomcat/scripts/ctl.sh : tomcat started
root@debian:/tmp# FATAL:  password authentication failed for user "jasperdb"
FATAL:  password authentication failed for user "jasperdb"
FATAL:  password authentication failed for user "jasperdb"

How to solve this problem?

Kind regards,

Daniel

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
  • 1 month later...
  • 2 months later...

I had a similar issue installing on CentOS 6.5 (Configuration: minimal install + vim + OpenSSH-Clients). After checking the installation log file it looked like the only error first started when it couldn't resolve the hostname for my machine (bar.foo.com). So I changed the /etc/hosts file from:

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 

to:

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 bar.foo.com

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 bar.foo.com

Then, rerunning the installer worked without any errors.

Hope this helps someone else.

Link to comment
Share on other sites

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...