先日「さくらVPS」のCentOS7サーバーにログインし、「sudo su -」コマンドを実行したところ「ABRT has detected 1 problem(s). For more info run: abrt-cli list –since 1509764113」のメッセージが表示されました。
原因を調査してみます。
certbot(Let’s Encrypt)のエラーが原因
「ABRT has detected 1 problem(s). For more info run: abrt-cli list –since 1509764113」のメッセージで、もっと情報が欲しければ「abrt-cli list –since 150976411」コマンドを実行するように言っているので実行します。
[test@SAKURA_VPS ~]$ sudo su - ← sudo su – コマンドを実行したところ、以下のメッセージが出力されました。 最終ログイン: 2017/11/04 (土) 11:55:13 JST日時 pts/0 ABRT has detected 1 problem(s). For more info run: abrt-cli list –since 1509764113
[root@SAKURA_VPS ~]#
[root@SAKURA_VPS ~]#
[root@SAKURA_VPS ~]# abrt-cli list –since 1509764113 ← メッセージの通り、そのまま実行します。
id 3eab4cfb354078c56acf2562b8714260b31c5b9b
reason: requirements.py:59::TypeError: __call__() takes exactly 2 arguments (1 given)
time: 2017年11月05日 00時00分03秒
cmdline: /usr/bin/python2 /usr/bin/certbot renew
package: certbot-0.18.1-1.el7
uid: 0 (root)
count: 2
Directory: /var/spool/abrt/Python-2017-11-05-00:00:03-10720
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
from __future__ import absolute_import, division, print_function
Which names would you like to activate HTTPS for?
——————————————————————————-
1: box-cm.com
——————————————————————————-
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): c
Please specify –domains, or –installer that will help in domain names autodiscovery, or –cert-name for an existing certificate name.
[root@SAKURA_VPS pyparsing-2.0.3]# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
——————————————————————————-
Processing /etc/letsencrypt/renewal/www.autotrade.click.conf
——————————————————————————-
Cert not yet due for renewal
——————————————————————————-
Processing /etc/letsencrypt/renewal/box-cm.com.conf
——————————————————————————-
Cert not yet due for renewal
——————————————————————————-
The following certs are not due for renewal yet:
/etc/letsencrypt/live/www.autotrade.click/fullchain.pem (skipped)
/etc/letsencrypt/live/box-cm.com/fullchain.pem (skipped)
No renewals were attempted.
——————————————————————————-
しかし「403 Forbidden」が出力されます。
念のため再度 httpd.service を再起動します。
[root@SAKURA_VPS conf]# systemctl restart httpd.service
[root@SAKURA_VPS conf]# systemctl status httpd.service -l ● httpd.service – The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since 日 2017-11-12 23:43:41 JST; 9s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 20528 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 20538 (httpd)
Status: “Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec”
CGroup: /system.slice/httpd.service
tq20538 /usr/sbin/httpd -DFOREGROUND
tq20539 /usr/sbin/httpd -DFOREGROUND
tq20540 /usr/sbin/httpd -DFOREGROUND
tq20541 /usr/sbin/httpd -DFOREGROUND
tq20542 /usr/sbin/httpd -DFOREGROUND
mq20543 /usr/sbin/httpd -DFOREGROUND
11月 12 23:43:41 tk2-xxx-xxxx1.vs.sakura.ne.jp systemd[1]: Starting The Apache HTTP Server…
11月 12 23:43:41 tk2-xxx-xxxx1.vs.sakura.ne.jp systemd[1]: Started The Apache HTTP Server.
[root@SAKURA_VPS conf]#
コメント