ant fresh_install error/build failed

Hello Stack overflow members. I've tried installing Dspace on my machine a couple of times, but I am stuck at the ant fresh_install bit of it. What could be the error and how would I fix it to run?

Below is what I receive when I run ant fresh_install in the cmd. Thank you.

C:\DSpace-dspace-5.5\dspace\target\dspace-installer>ant fresh_install Buildfile: C:\DSpace-dspace-5.5\dspace\target\dspace-installer\build.xml

init_installation:

init_configs:

test_database:

 [java] 2016-06-02 22:48:47,014 INFO  org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg
 [java] 2016-06-02 22:48:47,043 INFO  org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration.  If unintended, check your dspace.cfg for (log.init.config)
 [java] 2016-06-02 22:48:47,266 WARN  org.dspace.storage.rdbms.DataSourceInit @ Exception initializing DB pool
 [java] org.postgresql.util.PSQLException: FATAL: password authentication failed for user "dspace"
 [java]     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:293)
 [java]     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
 [java]     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
 [java]     at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
 [java]     at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
 [java]     at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
 [java]     at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:32)
 [java]     at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
 [java]     at org.postgresql.Driver.makeConnection(Driver.java:393)
 [java]     at org.postgresql.Driver.connect(Driver.java:267)
 [java]     at java.sql.DriverManager.getConnection(DriverManager.java:664)
 [java]     at java.sql.DriverManager.getConnection(DriverManager.java:247)
 [java]     at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
 [java]     at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
 [java]     at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
 [java]     at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
 [java]     at org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:140)
 [java]     at org.dspace.storage.rdbms.DatabaseManager.initDataSource(DatabaseManager.java:1440)
 [java]     at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:83)
 [java] Caught exception:
 [java] java.sql.SQLException: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "dspace"
 [java]     at org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:171)
 [java]     at org.dspace.storage.rdbms.DatabaseManager.initDataSource(DatabaseManager.java:1440)
 [java]     at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:83)
 [java] Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "dspace"
 [java]     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:293)
 [java]     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
 [java]     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
 [java]     at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
 [java]     at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
 [java]     at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
 [java]     at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:32)
 [java]     at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
 [java]     at org.postgresql.Driver.makeConnection(Driver.java:393)
 [java]     at org.postgresql.Driver.connect(Driver.java:267)
 [java]     at java.sql.DriverManager.getConnection(DriverManager.java:664)
 [java]     at java.sql.DriverManager.getConnection(DriverManager.java:247)
 [java]     at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
 [java]     at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
 [java]     at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
 [java]     at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
 [java]     at org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:140)
 [java]     ... 2 more

BUILD FAILED C:\DSpace-dspace-5.5\dspace\target\dspace-installer\build.xml:797: Java returned: 1

Total time: 3 seconds

C:\DSpace-dspace-5.5\dspace\target\dspace-installer>

Like it says in your error message -- the database username + password you set in build.properties is incorrect. Make sure you've set up a dspace user for your database and that its password is correctly specified in the DSpace configuration. See step 4 in the DSpace 5 installation instructions.

ant fresh_install BUILD FAILED, of dspace 6.2, on step: ant fresh_install, I get BUILD FAILED. This is [java] 2018-04-13 21:12:23,053 ERROR org.dspace.storage.rdbms. While performing ang fresh_install, I get the following error: C:\dspace-6.0-src-release\dspace\target\dspace-installer>ant fresh_install Buildfile: C:\dspace-6.0-src-release\dspace\target\dspace-installer\build.xml

I had the same problem. Mine was solved by editing the correct cfg file, /dspace/config/local.cfg

jdk - ant install error: BUILD FAILED java returned exit code 1, BUILD FAILED error When I enter ant-fresh install on the terminal, it gives me this error: BUILD FAILED� I am trying to install Dspace 1.7.0 on Windows Platform. I facing following problem during the command running ant fresh_install . Kindly let me know the solution to the below problem. C:\dspace-1.7.0-src-release\dspace\target\dspace-1.7.0-build.dir> ant fresh_install. Build file: C:\dspace-1.7.0-src-release\dspace\target\dspace-1.7.0-build.dir

I had this problem its no pgcrypto extension in pgadmin database the solve is run this query manually : Create extension pgcrypto; in pgadmin query window, good luck

Problem with ant fresh_install, [java] - org.postgresql.util.PSQLException: Protocol error. Session setup failed [ java] [java] Please see the DSpace documentation for assistance. [java] BUILD� While an Ant Bug Report 384757 claims that this is caused by the XSL Tranformer build into the Oracle JDK - which may be true - the problem can be fixed by changing the Ant version: I tried some of the workarounds mentioned there.

I solved the problem by removing all the unused clusters (pg_lsclusters, I had 4 Postgres-versions/clusters).

Also I removed all the unused versions of client and server packages:

e.g.

apt-get --purge remove postgresql-10 postgresql-client-10 postgresql-server-dev-9.4 postgresql-contrib-9.3 postgresql-client-9.4 postgresql-client-9.3

I suppose the problem may occur if you use different versions of postgresql client and server.

build failed while ant fresh install - dspace - iOS, As it says right here in the error message: Error: [java] - org.postgresql.util. PSQLException: FATAL: password authentication failed for user "dspace" Your� Check the documentation, that is not the case -- instead ant -v is running ant build in verbose mode. So ant is trying to perform your build, based on the build.xml file, which is obviously not there. To answer your question explicitly: there is probably nothing wrong with both the system nor ant installation.

Confluence Mobile, 9.1 Common Installation Issues; 9.2 General DSpace Issues cd [dspace-source ]/dspace/target/dspace-[version]-build ant fresh_install. To see a BUILD FAILED /dspace-release/dspace/target/dspace-1.8.0-build/build.xml:931: java.net . im installing dspace 6.3 on ubuntu 18.04 when im on the stage of install ant When I enter ant-fresh install on the terminal, it gives me this error: BUILD FAILED /build/dspace-6.3-src-release/dsp

https://github.com/DSpace/DSpace/blob/master/dspac, hello stack overflow members. i've tried installing dspace on machine couple of times, stuck @ ant fresh_install bit of it. error , how fix run? BUILD FAILED C:\Users\dt208672\Perforce\depot\ebill\Automation\Selenium_eBill\RunningPower\build.xml:37: Problem: failed to create task or type classpath Cause: The name is undefined. Action: Check the spelling.

postgresql - ant fresh_install error/build failed - - Employment, Member "dspace-6.3-release/dspace/src/main/config/build.xml" (26 Jun 2018, 23 24 Common usage: 25 26 Fresh install of DSpace: 27 % ant fresh_install 28 29 36 <fail message="Ant 1.8.0+ is required, ${ant.version} is not supported"> 37 DSpace Solr Usage Statistics) 917 918 Underlying Error: ${geolite.error} 919� Stack Exchange Network. Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.