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]
这里是我在安装在窗口和ubuntu时发生错误的地方我怎么能克服这个错误 建筑失败 /build/dspace-4.2-src-release/dspace/target/dspace-4.2-build/build.xml:786:Java返回:1
Total time: 4 seconds
root@biruk-Satellite-L655:/build/dspace-4.2-src-release/dspace/target/dspace-4.2-build#
#任何人都可以帮助我
答案 0 :(得分:0)
正如它在错误消息中所说:
Error:
[java] - org.postgresql.util.PSQLException: FATAL: password authentication failed for user "dspace"
您的数据库连接设置不对。你需要
dspace
,密码dspace
连接到dspace
数据库;或