日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux nexus 使用问题

發(fā)布時間:2023/12/19 linux 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux nexus 使用问题 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

2019獨角獸企業(yè)重金招聘Python工程師標準>>>

問題一,啟動提示設置RUN_AS_USER=root

但是,設置export或 /etc/profile未生效。

****************************************
WARNING - NOT RECOMMENDED TO RUN AS ROOT
****************************************
If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script.

直接在nexus腳本中

vi bin/nexus
前面添加一句:
export RUN_AS_USER=root

問題二,啟動提示JVM問題。
$ tail -f /path/to/nexus/logs/wrapper.log
wrapper | JVM exited while loading the application.
jvm 4 | wrapper | Unable to start JVM: No such file or directory (2)
wrapper | Reloading Wrapper configuration...
wrapper | Launching a JVM...
wrapper | Unable to start JVM: No such file or directory (2)
wrapper | JVM exited while loading the application.
jvm 5 | wrapper | Unable to start JVM: No such file or directory (2)
wrapper | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
wrapper | There may be a configuration problem: please check the logs.
wrapper | <-- Wrapper Stopped

打開配置文件,看注釋,將java的絕對路徑添加進wrapper.java.command,注意大小寫
/bin/jsw/conf/wrapper.conf

# Set the JVM executable
# (modify this to absolute path if you need a Java that is not on the OS path)
#wrapper.java.command=java
wrapper.java.command=/opt/jdk1.7.0_79/bin/java
# The main class that JSW will execute within JVM

轉載于:https://my.oschina.net/kenzheng/blog/859622

總結

以上是生活随笔為你收集整理的linux nexus 使用问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。