On Thu, Apr 25, 2013 at 07:17:19PM +0530, SanjibKumarDeka wrote:
> Hi,
> 
> After successfully run the <mvn package> , I tried to run the <ant
> fresh_install> command in the <build>  directory. But it gives the
> following build failed msges.
> 
> Kindly help me what are the changes to make in the <dspace.cfg>.
> Regards,
> 
> sanjib k deka
> 
> =============================================================================
> [dspace@CENTRAL-LIBRARY config]$ cd
> /dspace-3.1-src-release/dspace/target/dspace-3.1-build/
> [dspace@CENTRAL-LIBRARY dspace-3.1-build]$ ant fresh_install
> Buildfile: /dspace-3.1-src-release/dspace/target/dspace-3.1-build/build.xml
> 
> init_installation:
> 
> init_configs:
> 
> test_database:
>      [java] 2012-09-23 19:09:33,265 INFO
> org.dspace.core.ConfigurationManager @ Loading system provided config
> property (-Ddspace.configuration): config/dspace.cfg
>      [java] 2012-09-23 19:09:33,276 INFO
> org.dspace.core.ConfigurationManager @ Using default log4j provided log
> configuration,if unintended, check your dspace.cfg for (log.init.config)
>      [java]
>      [java] Attempting to connect to database:
>      [java]  - URL: jdbc:postgresql://localhost:5432/dspace
>      [java]  - Driver: org.postgresql.Driver
>      [java]  - Username: dspace
>      [java]  - Password: libiitg

Aside:  you should change  ^^^^^^^ this password, because now
everybody knows what it is.

>      [java]  - Schema:
>      [java]
>      [java] Testing connection...
>      [java]
>      [java] Error:
>      [java]  - org.postgresql.util.PSQLException: FATAL: password
> authentication failed for user "dspace"

  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the problem.  There is no database user "dspace" or it does
not have that password.  You should ensure that it is possible to log
onto the database using the credentials which are the values of
db.user and db.password found in dspace.cfg.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to