Sounds like you need to correct your "db.password" configuration for the dspace
database, in dspace.cfg.
# Database username and password
db.username = dspace
db.password = yourpassword
Hope this helps!
Sue
________________________________
From: SANDEEP BHAVSAR [mailto:[email protected]]
Sent: Saturday, February 27, 2010 1:43 AM
To: Alpesh Sarvaiya
Cc: [email protected]
Subject: Re: [Dspace-tech] Fwd: error in "ant fresh_install" in Dspace
installation
Dear Alpesh
[java] org.postgresql.util.PSQLException: FATAL: password authentication fa
iled for user "dspace"
Please ensure that password given for postgresql is same as mention in
dspace.cfg file.
On Sat, Feb 27, 2010 at 11:21 AM, Alpesh Sarvaiya
<[email protected]<mailto:[email protected]>> wrote:
-
Hello Sir,
I am alpesh sarvaiya. I want to install the dspace in debian linux. But when I
am execute " ant fresh_install" it gives the following error. I think the
problem is related to "[java] org.postgresql.util.PSQLException: FATAL:
password authentication failed for user "dspace" ". This line you can see below
with bold format.
r...@debian:~/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir#
ant fresh_install
Buildfile: build.xml
init_installation:
init_configs:
[copy] Copying 1 file to /root/Dspace/config
setup_database:
[java] 2010-02-26 23:50:56,686 INFO org.dspace.core.ConfigurationManager
@ Loading system provided config property (-Ddspace.configuration):
config/dspace.cfg
[java] 2010-02-26 23:50:56,691 INFO org.dspace.core.ConfigurationManager
@ Using default log4j provided log configuration,if uninitended, check your
dspace.cfg for (log.init.config)
[java] 2010-02-26 23:50:56,691 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
[java] 2010-02-26 23:50:56,750 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
[java] org.postgresql.util.PSQLException: FATAL: password authentication
failed for user "dspace"
[java] at
org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:275)
[java] at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94)
[java] at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
[java] at
org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116)
[java] at
org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
[java] at
org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
[java] at org.postgresql.Driver.makeConnection(Driver.java:369)
[java] at org.postgresql.Driver.connect(Driver.java:245)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:185)
[java] at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:65)
[java] at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
[java] at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974)
[java] at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:207)
[java] at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:550)
[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:923)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
BUILD FAILED
/root/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
Java returned: 1
Total time: 0 seconds
Please help me sir.
Thank you sir, in advance.
Alpesh
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Thanks and Regards
Sandeep Bhavsar
Librarian
Dr.V.N.Bedekar Institute of Management Studies
Thane(W) 400601
MUMBAI. INDIA
@@@@@@@@@@@@@@@@@@@@@@@@@@
email : [email protected]<mailto:[email protected]>
Mob : 9987049099
elibrary :http://www.vpmthane.org/im/elib/main.htm
@@@@@@@@@@@@@@@@@@@@@@@@@@
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech