我最近从nexus2.0.5(安装在suse linux上)复制了sonatype的第三方文件夹到nexus2.7.0-06(在redhat linux服务器上),但在浏览nexus库中的文件夹时,它抛出了错误"Nexus returned an error: error 500: Server Error“。我对此进行了搜索,发现回复为磁盘空间问题,但这里不是这种情况。我们有足够的磁盘空间。在检查日志时,我看到访问被拒绝的问题,但不确定为什么它的到来我可以成功登录到nexus使用我的LDAP credentials.Here是错误消息:请建议。
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]发布于 2014-04-08 21:20:10
检查/usr/local/sonatype-work/nexus/storage/thirdparty/.nexus/attributues,中的文件权限,看起来运行nexus的用户没有写入该区域的权限。
https://stackoverflow.com/questions/22930146
复制相似问题