Another option is that the database and db user might not be created on this host yet? Maybe refer back to https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-Installation and make sure all the prerequisite steps are done.
If you still have authentication issues after this, then I would check your postgresql.conf, pg_hba.conf etc. to ensure that local TCP/IP connections are configured to work with password auth, test out a local connection yourself using 'psql -h localhost -U dspace dspace' (you'll be prompted for a password) Cheers Kim On Sunday, April 30, 2017 at 1:01:47 PM UTC+12, Bhavesh Patel wrote: > > Error seems to be like database password that enter in configuration file > was wrong. > > Please cross check the database password into configuration file. > > Hope this will help. > > Bhavesh > > On Apr 30, 2017 4:04 AM, "Bura ddd" <[email protected] <javascript:>> > wrote: > >> root@biruk-Satellite-L655:/build/dspace-4.2-src-release# cd >> dspace/target/dspace-4.2-build >> root@biruk-Satellite-L655:/build/dspace-4.2-src-release/dspace/target/dspace-4.2-build# >> >> sudo ant fresh_install >> Buildfile: >> /build/dspace-4.2-src-release/dspace/target/dspace-4.2-build/build.xml >> >> init_installation: >> [mkdir] Created dir: /dspace/bin >> [mkdir] Created dir: /dspace/config >> [mkdir] Created dir: /dspace/lib >> [mkdir] Created dir: /dspace/etc >> [mkdir] Created dir: /dspace/webapps >> [mkdir] Created dir: /dspace/exports >> [mkdir] Created dir: /dspace/exports/download >> [mkdir] Created dir: /dspace/assetstore >> [mkdir] Created dir: /dspace/handle-server >> [mkdir] Created dir: /dspace/search >> [mkdir] Created dir: /dspace/log >> [mkdir] Created dir: /dspace/upload >> [mkdir] Created dir: /dspace/reports >> [mkdir] Created dir: /dspace/solr >> [mkdir] Created dir: /dspace/var >> [mkdir] Created dir: /dspace/var/oai >> >> init_configs: >> [copy] Copying 121 files to /dspace/config >> [copy] Copying 1 file to /dspace/config >> >> test_database: >> [java] 2017-04-30 10:12:42,728 INFO >> org.dspace.core.ConfigurationManager @ Loading system provided config >> property (-Ddspace.configuration): config/dspace.cfg >> [java] 2017-04-30 10:12:42,738 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: dspace >> [java] - Schema: >> [java] >> [java] Testing connection... >> [java] >> [java] Error: >> [java] - org.postgresql.util.PSQLException: FATAL: password >> authentication failed for user "dspace" >> [java] >> [java] Please see the DSpace documentation for assistance. >> [java] >> >> BUILD FAILED >> /build/dspace-4.2-src-release/dspace/target/dspace-4.2-build/build.xml:786: >> Java returned: 1 >> >> Total time: 4 seconds >> root@biruk-Satellite-L655:/build/dspace-4.2-src-release/dspace/target/dspace-4.2-build# >> >> >> >> can anyone help me please >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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.
