在sonatype nexus服务器中找到日志文件的位置,通过在osx上进行brew安装

问题描述 投票:1回答:3

[我通过在Mac Motion Lion上的brew来安装sonatype nexus服务器,作为打击:

➜〜brew install nexus==>正在下载http://download.sonatype.com/nexus/oss/nexus-2.6.3-01-bundle.tar

已经下载:/Library/Caches/Homebrew/nexus-2.6.3-01.tar.gz

==>注意事项

要在登录时启动启动联系:

ln -sfv /usr/local/opt/nexus/*.plist ~/Library/LaunchAgents

然后立即加载关系:

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nexus.plist

或者,如果您不需要/不需要launchctl,则可以运行:

/usr/local/opt/nexus/libexec/bin/nexus start

==>摘要

🍺/usr/local/Cellar/nexus/2.6.3-01:285个文件,42M,在2秒内建立]

➜〜/ usr / local / opt / nexus / libexec / bin / nexus开始

正在启动Nexus OSS ...

已启动Nexus OSS。

但是我找不到nexus服务器启动正常,8081端口未启动,在哪里可以找到日志文件

homebrew nexus
3个回答
1
投票

不确定咖啡冲煮器在哪里。通常,在nexus文件夹中有一个名为sonatype-work的同级文件夹。

nexus.log文件位于sonatype-work / nexus / log中

最坏的情况是寻找nexus.log文件或使用以下方法手动启动Nexus

./ bin / nexus控制台

并查看日志。


0
投票

➜libexec git:(master)pwd

/ usr / local / Cellar / nexus / 2.6.3-01 / libexec

➜libexec git:(master)ls

LICENSE.txt bin lib wrapper.log

NOTICE.txt conf nexus

[谢谢,我刚收到它,wrapper.log


0
投票

聚会晚一点...对于Nexus 3.15 ...

因此,相对于您的安装文件夹,例如,如果您将tar.gz复制到/opt并将其解压缩到其中,则完整路径将为:

/opt/sonatype-work/nexus3/log/
© www.soinside.com 2019 - 2024. All rights reserved.