Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照文档运行没有任何日志,运行失败 #16

Closed
ChinaArJun opened this issue Dec 9, 2021 · 2 comments
Closed

按照文档运行没有任何日志,运行失败 #16

ChinaArJun opened this issue Dec 9, 2021 · 2 comments

Comments

@ChinaArJun
Copy link

在同一台机器上运行了服务端和控制端
[root@VM-8-5-centos natpass-server]# sudo systemctl start np-svr
[root@VM-8-5-centos natpass-server]# sudo systemctl start np-cli
启动后没有任何提示,也没有日志输出,打开对应端口也是失败的

@lwch
Copy link
Owner

lwch commented Dec 9, 2021

可能是因为没有权限创建logs目录,可尝试手工创建logs目录并将目录的权限设置为注册服务时指定的用户,稍后我会更新一下文档

@lwch
Copy link
Owner

lwch commented Jan 5, 2022

在v0.7.3版本中已加入install时的自动创建log目录并设置属主的功能,请及时更新。

@lwch lwch closed this as completed Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants