问题一:
在bin下nexus start 时
bash: ./xx: Permission denied
解决:
修改访问权限
chmod 777 nexus即可
问题二:
磁盘不够(docker版本,查看启动日志:docker logs -f [容器id])
com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database ‘config’ due to limited free space on the disk (4095 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) .
解决:
找到nexus.vmoptions文件(find / -name ‘nexus.vmoptions’)
问题三:
内存不足
解决:
-Xms512m
-Xmx512m
-XX:MaxDirectMemorySize=512m
问题四:
文件夹占用Nexus data directory already in use
解决:非docker版本
https://blog.csdn.net/shenjuntao520/article/details/105429366/