我正在尝试在运行Ubuntu 18.04的Amazon LightSail实例上安装DSpace 6.3。运行mvn package -Dmirage2.on=true
命令时,出现以下错误,我无法使用在线论坛上的建议来解决。
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 137 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 137
详细的调试输出位于https://pastebin.com/vgbyp6Cc。
根据https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace的指示,在运行mvn package -Dmirage2.on=true
命令之前,我已经完成以下操作:
遇到错误后,我根据在线建议尝试了以下方法:
这些似乎都无法解决问题。
更新
按照建议将内存从512MB增加到1GB似乎可以解决大多数问题。但是,尽管如此,我仍然在https://jira.duraspace.org/browse/DS-4115上报告了一些相同的错误消息。尽管有这些错误,但是DSpace应用程序似乎可以正常加载。
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["assets/javascripts/bootstrap/affix.js","assets/javascripts/bootstrap/alert.js","assets/javascripts/bootstrap/button.js","assets/javascripts/bootstrap/carousel.js","assets/javascripts/bootstrap/collapse.js","assets/javascripts/bootstrap/dropdown.js","assets/javascripts/bootstrap/tab.js","assets/javascripts/bootstrap/transition.js","assets/javascripts/bootstrap/scrollspy.js","assets/javascripts/bootstrap/modal.js","assets/javascripts/bootstrap/tooltip.js","assets/javascripts/bootstrap/popover.js"]
答案 0 :(得分:0)
137 = 128 + 9,这意味着某些其他进程已向您发送信号9,即SIGKILL。可能是内存问题吗?
Dspace文档说到最小安装量(https://wiki.duraspace.org/display/DSPACE/User+FAQ#UserFAQ-WhatsortofhardwaredoesDSpacerequire?Whataboutsizingtheserver?HowmuchdiskspacedoIneed?),我需要:
2-3 GB的随机存取存储器(RAM)