CentOS 7.x 下nexus-3.15.2-01-unix.tar启动失败解决方案

错误提示1:磁盘不足报错

log如下:

Caused by: com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database 'OSystem' due to limited free space on the disk (3658 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 4096 MB. Required space is now set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
	DB name="OSystem"

解决方案

报错文件中也指出了两个解决方案

  1. 一种是清理磁盘空间,这个大家都理解。

  2. (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) .
    设置storage.diskCache.diskFreeSpaceLimit变量,

这种方式的设置地点为:{nexue安装目录}/bin/nexus.vmoptions,如下图所示。
CentOS 7.x 下nexus-3.15.2-01-unix.tar启动失败解决方案_第1张图片

错误提示2

log:

*SYSTEM org.sonatype.nexus.upgrade.internal.UpgradeServiceImpl - Problem upgrading component from 1.10 to 1.11
com.orientechnologies.orient.core.exception.OQueryParsingException: Error on parsing query at position #11: Error on parsing query
Query:  repository WHERE recipe_name IN ['docker-hosted', 'docker-proxy']

解决方案

上传的文件解压之后生成了两个:nexus-3.5.2-01 和 sonatype-work 两个文件包,把sonatype-work 删除即可解决(具体原因还不是特别清晰 ,在网上百度的答案)
在这里插入图片描述

你可能感兴趣的:(Linux)