Mavan 异常

it2023-05-23  76

Mavan 异常处理

com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage ‘./sonatype-work/nexus3/db/security’ with mode=rw DB name=“security” 如果你是第一次安装 第一次使用:可能是 一开是以非管理员运行 nexus.exe /run 后提示权限 不足,又以管理员 运行 nexus.exe /run就可能出现上面问题, 解决方法重命名 或者删除 目录 sonatype-work 重新以管理员方式运行 nexus.exe /run, run 是需要很长时间的(5-10min)

其他解决方案(未运到)

使用console 工具 java -jar ${nexus-path}/lib/support/nexus-orient-console.jar 连接数据库 connect plocal:${nexus-db-path}/db/component admin admin 重建索引 repair database --fix-links rebuild index * repair database --fix-graph repair database --fix-ridbags repair database --fix-bonsai特殊情况 提示信息如下,参考如下操作: 基本还是包含了rw 的问题 with mode=rw DB name=“config” at 删除wal 文件(对应数据库的)

比如处理component 数据库的,一般在

cd ${nexus-db-path}/db/component rm -rf *.wal connect plocal:${nexus-db-path}/db/component admin admin repair database --fix-links repair database --fix-links rebuild index * repair database --fix-graph repair database --fix-ridbags repair database --fix-bonsai
最新回复(0)