@mrmoney
Администрирую web серверы и сервисы

Почему не запускается certbot?

Добрый день, скачал и установил из оффициального репозитория certbot но при запуске он выдает следующее, уже 3 часа роюсь не пойму в чем причина:
$ sudo ./certbot-auto
Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbd in position 54: invalid start byte
Please see the logfiles in /var/log/letsencrypt for more details.

2017-03-30 09:34:26,065:DEBUG:certbot.main:Root logging level set at 20
2017-03-30 09:34:26,065:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2017-03-30 09:34:26,065:DEBUG:certbot.main:certbot version: 0.12.0
2017-03-30 09:34:26,065:DEBUG:certbot.main:Arguments: []
2017-03-30 09:34:26,065:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#standalone,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#webroot,PluginEntryPoint#apache,PluginEntryPoint#null)
2017-03-30 09:34:26,065:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
2017-03-30 09:34:26,756:DEBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
File "/home/sality//.local/share/letsencrypt/bin/letsencrypt", line 11, in
sys.exit(main())
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/main.py", line 896, in main
return config.func(config, plugins)
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/main.py", line 594, in run
installer, authenticator = plug_sel.choose_configurator_plugins(config, plugins, "run")
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/selection.py", line 185, in choose_configurator_plugins
authenticator = installer = pick_configurator(config, req_inst, plugins)
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/selection.py", line 25, in pick_configurator
(interfaces.IAuthenticator, interfaces.IInstaller))
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/selection.py", line 77, in pick_plugin
verified.prepare()
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 228, in prepare
return [plugin_ep.prepare() for plugin_ep in six.itervalues(self._plugins)]
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 114, in prepare
self._initialized.prepare()
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot_apache/configurator.py", line 194, in prepare
self.vhosts = self.get_virtual_hosts()
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot_apache/configurator.py", line 581, in get_virtual_hosts
(vhost_path, parser.case_i("VirtualHost"))))
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/augeas.py", line 423, in match
ctypes.c_char_p).value))
File "/home/sality/.local/share/letsencrypt/local/lib/python2.7/site-packages/augeas.py", line 65, in dec
return st.decode(AUGENC)
File "/home/sality/.local/share/letsencrypt/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbd in position 54: invalid start byte
  • Вопрос задан
  • 804 просмотра
Пригласить эксперта
Ответы на вопрос 1
@younghacker
Покажите свои конфиги и как Вы запускаете certbot
Похоже что в конфиге нарушена кодировка либо отсутствуют опции типа аутентификатора:

2017-03-30 09:34:26,065:DEBUG:certbot.main:Discovered plugins: 
PluginsRegistry(
PluginEntryPoint#standalone,
PluginEntryPoint#manual,
PluginEntryPoint#nginx,
PluginEntryPoint#webroot,
PluginEntryPoint#apache,
PluginEntryPoint#null)
2017-03-30 09:34:26,065:DEBUG:certbot.plugins.selection:
Requested authenticator None and installer None
2017-03-30 09:34:26,756:DEBUG:certbot.main:Exiting abnormally:
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы