The extract below is from the log file you sent; it looks like the dspace role cannot connect to your database. Maybe it's something as simple as an incorrect password? Make sure that the password for db.password in dspace-src/dspace/config/dspace.cfg (or dspace-src/local.cfg if dspace 6.x) matches the password you configured for the dspace user of your Postgres database.
Refer to the database setup part of https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-RelationalDatabase:(PostgreSQLorOracle) [java] java.sql.SQLException: Cannot create PoolableConnectionFactory (FATAL: role "dspace" is not permitted to log in) [java] at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2294) [java] at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039) [java] at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533) [java] at org.dspace.storage.rdbms.DatabaseUtils.setupFlyway(DatabaseUtils.java:473) [java] at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:98) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:498) [java] at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229) [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81) [java] Caused by: org.postgresql.util.PSQLException: FATAL: role "dspace" is not permitted to log in [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2458) [java] at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2589) [java] at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:116) [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:225) [java] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:55) [java] at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:219) [java] at org.postgresql.Driver.makeConnection(Driver.java:407) [java] at org.postgresql.Driver.connect(Driver.java:275) [java] at org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39) [java] at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256) [java] at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304) [java] at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2290) [java] ... 10 more [java] [java] Attempting to connect to database [java] [java] Error running 'test': [java] - java.sql.SQLException: Cannot create PoolableConnectionFactory (FATAL: role "dspace" is not permitted to log in) [java] [java] Please see the DSpace documentation for assistance. [java] [java] java.sql.SQLException: Cannot create PoolableConnectionFactory (FATAL: role "dspace" is not permitted to log in) [java] at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2294) [java] at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039) [java] at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533) [java] at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:105) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:498) [java] at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229) [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81) [java] Caused by: org.postgresql.util.PSQLException: FATAL: role "dspace" is not permitted to log in [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2458) [java] at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2589) [java] at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:116) [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:225) [java] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:55) [java] at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:219) [java] at org.postgresql.Driver.makeConnection(Driver.java:407) [java] at org.postgresql.Driver.connect(Driver.java:275) [java] at org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:39) [java] at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256) [java] at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304) [java] at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2290) [java] ... 9 more [java] 2017-02-24 11:04:52,933 WARN org.dspace.services.sessions.SessionRequestServiceImpl @ Request interceptor (org.dspace.services.events.SystemEventService$EventRequestInterceptor@1c50622) failed to execute on end (request-190-1487927092443): null BUILD FAILED On 24 February 2017 at 11:21, Mutowongi <[email protected]> wrote: > Hi, > > Please assist ? > > regards > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
