【发布时间】:2014-05-20 17:49:12
【问题描述】:
我最近将 sonatype 的第三方文件夹从 nexus 2.0.5(安装在 suse linux 上)复制到 nexus 2.7.0-06(在 redhat linux 服务器上),但是在浏览 nexus 存储库中的文件夹时,它会抛出错误“Nexus 返回错误:错误 500:服务器错误”。我对此进行了搜索,发现回复是磁盘空间问题,但这里不是这种情况。我们有足够的磁盘空间。在检查日志时,我看到访问被拒绝问题,但不确定为什么会出现我可以使用我的 LDAP 凭据成功登录到 nexus。这是错误消息:请告知。
java.nio.file.AccessDeniedException: /usr/local/sonatype-work/nexus/storage/thirdparty/.nexus/attributes/test/test-requestor-ejb/maven-metadata.xml.md5
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) ~[na:1.7.0_51]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[na:1.7.0_51]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[na:1.7.0_51]
at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:441) ~[na:1.7.0_51]
at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262) ~[na:1.7.0_51]
at java.nio.file.Files.move(Files.java:1345) ~[na:1.7.0_51]
at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:363) ~[nexus-core-2.7.0-06.jar:2.7.0-06]
at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:160) ~[nexus-core-2.7.0-06.jar:2.7.0-06]
【问题讨论】: