首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能使用the加密创建证书,也不能停止冲突的服务。

不能使用the加密创建证书,也不能停止冲突的服务。
EN

Ask Ubuntu用户
提问于 2018-01-31 11:20:04
回答 1查看 164关注 0票数 0

我正在尝试创建一个用于Gitlab的证书。当运行letsencrypt certonly -d gitlab.myurl.com时。我在这个过程中做了一些事情,上面写着:The program nginx (process ID xxxxx) is already listening on TCP port 80....

所以我很自然地尝试了下面的方法,但是它不起作用

代码语言:javascript
复制
services@mx5:~$ sudo service nginx stop
Failed to stop nginx.service: Unit nginx.service not loaded.

我也尝试通过pid来扼杀这个过程,但它只是在一个新的过程下回来。我是不是使用了错误的服务名称?在我看来不像但我不确定。我确实试图阻止gitlab,但也有类似的错误消息。

代码语言:javascript
复制
services@mx5:~$ ps -ef | grep nginx
root     20363 20033  0 10:49 ?        00:00:00 runsv nginx
root     20364 20363  0 10:49 ?        00:00:00 svlogd -tt /var/log/gitlab/ngin
root     20365 20363  0 10:49 ?        00:00:00 nginx: master process /opt/gitlab/embedded/sbin/nginx -p /var/opt/gitlab/nginx
gitlab-+ 20366 20365  0 10:49 ?        00:00:00 nginx: worker process
gitlab-+ 20368 20365  0 10:49 ?        00:00:00 nginx: cache manager process
gitlab-+ 24537 20365  0 11:10 ?        00:00:00 nginx: worker process
services 25442  1335  0 11:17 pts/0    00:00:00 grep --color=auto nginx

如果需要更多的信息,请告诉我。我对Linux非常陌生,我正试图遵循以下内容:https://www.howtoforge.com/tutorial/how-to-install-and-configure-gitlab-on-ubuntu-16-04/

EN

回答 1

Ask Ubuntu用户

发布于 2018-01-31 11:42:59

我通过停止gitlab服务来解决这个问题。它被称为gitlab-ctl,而不仅仅是gitlab

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1001677

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档