Hola Gustavo, did you create the db with the user and password given in the dspace.cfg db.username db.password
Claudia Gustavo Roig schrieb: > Dear colleagues! > I'm trying to install dspace 1.5 but i'm getting this message: > > biblioteca:/root/dspace-source/dspace/target/dspace-1.5.0-build.dir$ ant > fresh_install > Buildfile: build.xml > > init_installation: > > init_configs: > > setup_database: > [java] 2008-08-20 17:35:59,253 INFO > org.dspace.core.ConfigurationManager @ Loading system provided config > property (-Ddspace.configuration): config/dspace.cfg > [java] 2008-08-20 17:35:59,258 INFO > org.dspace.core.ConfigurationManager @ Using default log4j provided log > configuration,if uninitended, check your dspace.cfg for (log.init.config) > [java] 2008-08-20 17:35:59,258 INFO > org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database > [java] 2008-08-20 17:35:59,308 FATAL > org.dspace.storage.rdbms.InitializeDatabase @ Caught exception: > [java] org.postgresql.util.PSQLException: FATAL: no se especifica > un nombre de usuario en el paquete de inicio > [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:525) > [java] at > java.sql.DriverManager.getConnection(DriverManager.java:193) > [java] at > org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:46) > [java] at > org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290) > [java] at > org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840) > [java] at > org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175) > [java] at > java.sql.DriverManager.getConnection(DriverManager.java:525) > [java] at > java.sql.DriverManager.getConnection(DriverManager.java:193) > [java] at > org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:514) > [java] at > org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:869) > [java] at > org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100) > > BUILD FAILED > /root/dspace-source/dspace/target/dspace-1.5.0-build.dir/build.xml:380: > Java returned: 1 > > > > I've create a Postgres user (dspace) with it passwd and it db (dspace). > I'm running postgres 8.1 on Debian etch, jdk 1.5 and > postgresql-8.1-411.jdbc3.jar located in > /dspace-source/dspace/target/dspace-1.5.0-build.dir/lib > > You can see the part of the config file with the database connection info: > > # Database name ("oracle", or "postgres") > db.name = ${default.db.name} > #db.name = postgres > #db.name = oracle > > # URL for connecting to database > db.url = ${default.db.url} > #db.url = jdbc:postgresql://localhost:5432/dspace > > # JDBC Driver > db.driver = ${default.db.driver} > #db.driver = org.postgresql.Driver > > # Database username and password > #db.username = ${default.db.username} > #db.password = ${default.db.password} > #db.username = dspace > db.password = xxxxxx > > > Could you help me please? :-) > Thanks a lot! > Gustavo > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech