Problem with install Jasperserver 5.2.0 CE on Debian

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

Attachments: 
danielobs's picture
155
Joined: Mar 24 2010 - 1:52pm
Last seen: 2 years 11 months ago

4 Answers:

I am facing the same issue with my Mac OSX 10.8.4. Did you get any solution for this issue? 

Aditya S's picture
Joined: Apr 16 2012 - 2:31am
Last seen: 9 months 1 week ago

Unfortunately no :(

danielobs's picture
155
Joined: Mar 24 2010 - 1:52pm
Last seen: 2 years 11 months ago

Same on CentOS 6.4, any ideas?

carlosparedes's picture
Joined: Sep 25 2013 - 10:20am
Last seen: 3 years 2 months ago

I faced the same problem on ubuntu and solved it by choosing installation folder in home not any other directroies , I donot know why , but it installed successfully
/home/ahmed/jasperreports-server-cp-5.5.0

a.ali.taha - 9 years 7 months ago

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.

everett.pilling's picture
Joined: Jan 30 2014 - 1:04pm
Last seen: 9 years 4 months ago
Feedback