Y___

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: kusanagi9の初期設定で失敗する #1298
    Y___
    Participant

      ご返信ありがとうございます。provisionするとエラーになります。
      証明書の設定とMySQLの設定が正常にされていないからでしょうか。

      Saving debug log to /var/log/letsencrypt/letsencrypt.log
      Some challenges have failed.
      Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
      Execution failed: certbot certonly –text –noninteractive –webroot -w /home/kusanagi/test/DocumentRoot -d test.xxx.com -m xxxx@~~~ –agree-tos
      Return code was 1
      Failed to get Let’s Encrypt SSL certificate files.
      ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
      Execution failed: RESET QUERY CACHE;
      Return code was 1
      kusanagi provision: error: command returned 1
      kusanagi provision: error: provision failed

      おっしゃる通り、2回目以降のinitになります。
      kusanagi dbinit mariadb実行後、initを試しましたが前回同様のエラーとなりました。
      恐れ入りますが、VMの作り直しはどのような手順になるか教えていただけますと幸いです。。。

      in reply to: kusanagi9の初期設定で失敗する #1296
      Y___
      Participant

        ご返信ありがとうございます。
        kusanagi statusの結果を添付させていただきます。

        [root@test01 ~]# kusanagi status
        KUSANAGI Version 9.4.3-1.el8
        sakura

        *** (active) nginx : nginx123 ***
        * nginx.service – The NGINX HTTP and reverse proxy server
        Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor prese : disabled)
        Active: active (running) since Mon 2023-10-30 19:50:32 JST; 14h ago

        *** (inactive) httpd : httpd ***
        * httpd.service – The Apache HTTP Server
        Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor pres t: disabled)
        Active: inactive (dead)

        *** (active) php : php80 ***
        * php-fpm.service – The PHP FastCGI Process Manager
        Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor pre et: disabled)
        Active: active (running) since Mon 2023-10-30 19:50:38 JST; 14h ago

        *** (active) mariadb : mariadb10.5 ***
        * mariadb.service – MariaDB 10.5.22 database server
        Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor pr set: disabled)
        Active: active (running) since Mon 2023-10-30 19:50:14 JST; 14h ago

        *** (inactive) psql : ***

        *** (inactive) pgpool-II : ***

        *** python ***
        Python 3.9.18

        *** ruby ***
        ruby is not installed.

        *** Cache status ***

        *** WAF ***
        off

        *** SELinux ***
        off (permanent)

        status completed.

        また、logの中身も添付させていただきます。
        どこを見たらよいかご存じであればご教示いただけますと幸いです。

        Oct 30 19:31:37 test01 kusanagi[565]: INFO:kusanagi.server:Boot
        Oct 30 19:33:15 test01 kusanagi[565]: ERROR:kusanagi.server:init failed
        Oct 30 19:33:15 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:33:15 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 645, in async_action
        Oct 30 19:33:15 test01 kusanagi[565]: return await self.async_execute_comman (
        Oct 30 19:33:15 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 223, in async_wrapper
        Oct 30 19:33:15 test01 kusanagi[565]: return await (k_benchmark(logger=self. logger)(func))(
        Oct 30 19:33:15 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/decorators.py”, line 28, in async_wrapper
        Oct 30 19:33:15 test01 kusanagi[565]: result = await func(*args, **kwargs)
        Oct 30 19:33:15 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 292, in async_execute_command
        Oct 30 19:33:15 test01 kusanagi[565]: raise KusanagiExecutionError(
        Oct 30 19:33:15 test01 kusanagi[565]: kusanagi.errors.KusanagiExecutionError: ‘ opt/kusanagi/lib64/python3.9/site-packages/kusanagi/dispatchers/scripts/dispatc er init’ returned 1
        Oct 30 19:33:15 test01 kusanagi[565]: The above exception was the direct cause f the following exception:
        Oct 30 19:33:15 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:33:15 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 83, in async_dispatch_stream
        Oct 30 19:33:15 test01 kusanagi[565]: await dispatcher.async_action(
        Oct 30 19:33:15 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 652, in async_action
        Oct 30 19:33:15 test01 kusanagi[565]: raise KusanagiActionError(
        Oct 30 19:33:15 test01 kusanagi[565]: kusanagi.errors.KusanagiActionError: init failed
        Oct 30 19:36:30 test01 kusanagi[565]: ERROR:kusanagi.server:init failed
        Oct 30 19:36:30 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:36:30 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 645, in async_action
        Oct 30 19:36:30 test01 kusanagi[565]: return await self.async_execute_comman (
        Oct 30 19:36:30 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 223, in async_wrapper
        Oct 30 19:36:30 test01 kusanagi[565]: return await (k_benchmark(logger=self. logger)(func))(
        Oct 30 19:36:30 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/decorators.py”, line 28, in async_wrapper
        Oct 30 19:36:30 test01 kusanagi[565]: result = await func(*args, **kwargs)
        Oct 30 19:36:30 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 292, in async_execute_command
        Oct 30 19:36:30 test01 kusanagi[565]: raise KusanagiExecutionError(
        Oct 30 19:36:30 test01 kusanagi[565]: kusanagi.errors.KusanagiExecutionError: ‘ opt/kusanagi/lib64/python3.9/site-packages/kusanagi/dispatchers/scripts/dispatc er init’ returned 1
        Oct 30 19:36:30 test01 kusanagi[565]: The above exception was the direct cause f the following exception:
        Oct 30 19:36:30 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:36:30 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 83, in async_dispatch_stream
        Oct 30 19:36:30 test01 kusanagi[565]: await dispatcher.async_action(
        Oct 30 19:36:30 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 652, in async_action
        Oct 30 19:36:30 test01 kusanagi[565]: raise KusanagiActionError(
        Oct 30 19:36:30 test01 kusanagi[565]: kusanagi.errors.KusanagiActionError: init failed
        Oct 30 19:43:39 test01 kusanagi[565]: ERROR:kusanagi.server:init failed
        Oct 30 19:43:39 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:43:39 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 645, in async_action
        Oct 30 19:43:39 test01 kusanagi[565]: return await self.async_execute_comman (
        Oct 30 19:43:39 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 223, in async_wrapper
        Oct 30 19:43:39 test01 kusanagi[565]: return await (k_benchmark(logger=self. logger)(func))(
        Oct 30 19:43:39 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/decorators.py”, line 28, in async_wrapper
        Oct 30 19:43:39 test01 kusanagi[565]: result = await func(*args, **kwargs)
        Oct 30 19:43:39 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 292, in async_execute_command
        Oct 30 19:43:39 test01 kusanagi[565]: raise KusanagiExecutionError(
        Oct 30 19:43:39 test01 kusanagi[565]: kusanagi.errors.KusanagiExecutionError: ‘ opt/kusanagi/lib64/python3.9/site-packages/kusanagi/dispatchers/scripts/dispatc er init’ returned 1
        Oct 30 19:43:39 test01 kusanagi[565]: The above exception was the direct cause f the following exception:
        Oct 30 19:43:39 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:43:39 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 83, in async_dispatch_stream
        Oct 30 19:43:39 test01 kusanagi[565]: await dispatcher.async_action(
        Oct 30 19:43:39 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 652, in async_action
        Oct 30 19:43:39 test01 kusanagi[565]: raise KusanagiActionError(
        Oct 30 19:43:39 test01 kusanagi[565]: kusanagi.errors.KusanagiActionError: init failed
        Oct 30 19:44:50 test01 kusanagi[565]: ERROR:kusanagi.server:init failed
        Oct 30 19:44:50 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:44:50 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 645, in async_action
        Oct 30 19:44:50 test01 kusanagi[565]: return await self.async_execute_comman (
        Oct 30 19:44:50 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 223, in async_wrapper
        Oct 30 19:44:50 test01 kusanagi[565]: return await (k_benchmark(logger=self. logger)(func))(
        Oct 30 19:44:50 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/decorators.py”, line 28, in async_wrapper
        Oct 30 19:44:50 test01 kusanagi[565]: result = await func(*args, **kwargs)
        Oct 30 19:44:50 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 292, in async_execute_command
        Oct 30 19:44:50 test01 kusanagi[565]: raise KusanagiExecutionError(
        Oct 30 19:44:50 test01 kusanagi[565]: kusanagi.errors.KusanagiExecutionError: ‘ opt/kusanagi/lib64/python3.9/site-packages/kusanagi/dispatchers/scripts/dispatc er init’ returned 1
        Oct 30 19:44:50 test01 kusanagi[565]: The above exception was the direct cause f the following exception:
        Oct 30 19:44:50 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:44:50 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 83, in async_dispatch_stream
        Oct 30 19:44:50 test01 kusanagi[565]: await dispatcher.async_action(
        Oct 30 19:44:50 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 652, in async_action
        Oct 30 19:44:50 test01 kusanagi[565]: raise KusanagiActionError(
        Oct 30 19:44:50 test01 kusanagi[565]: kusanagi.errors.KusanagiActionError: init failed
        Oct 30 19:49:39 test01 kusanagi[565]: INFO:kusanagi.server:benchmark: async_exe ute_command() took 2.557 s to execute.
        Oct 30 19:50:40 test01 kusanagi[565]: ERROR:kusanagi.server:init failed
        Oct 30 19:50:40 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:50:40 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 645, in async_action
        Oct 30 19:50:40 test01 kusanagi[565]: return await self.async_execute_comman (
        Oct 30 19:50:40 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 223, in async_wrapper
        Oct 30 19:50:40 test01 kusanagi[565]: return await (k_benchmark(logger=self. logger)(func))(
        Oct 30 19:50:40 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/decorators.py”, line 28, in async_wrapper
        Oct 30 19:50:40 test01 kusanagi[565]: result = await func(*args, **kwargs)
        Oct 30 19:50:40 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 292, in async_execute_command
        Oct 30 19:50:40 test01 kusanagi[565]: raise KusanagiExecutionError(
        Oct 30 19:50:40 test01 kusanagi[565]: kusanagi.errors.KusanagiExecutionError: ‘ opt/kusanagi/lib64/python3.9/site-packages/kusanagi/dispatchers/scripts/dispatc er init’ returned 1
        Oct 30 19:50:40 test01 kusanagi[565]: The above exception was the direct cause f the following exception:
        Oct 30 19:50:40 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:50:40 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 83, in async_dispatch_stream
        Oct 30 19:50:40 test01 kusanagi[565]: await dispatcher.async_action(
        Oct 30 19:50:40 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 652, in async_action
        Oct 30 19:50:40 test01 kusanagi[565]: raise KusanagiActionError(
        Oct 30 19:50:40 test01 kusanagi[565]: kusanagi.errors.KusanagiActionError: init failed
        Oct 30 19:55:44 test01 kusanagi[565]: ERROR:kusanagi.server:provision failed
        Oct 30 19:55:44 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:55:44 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 645, in async_action
        Oct 30 19:55:44 test01 kusanagi[565]: return await self.async_execute_comman (
        Oct 30 19:55:44 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 223, in async_wrapper
        Oct 30 19:55:44 test01 kusanagi[565]: return await (k_benchmark(logger=self. logger)(func))(
        Oct 30 19:55:44 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/decorators.py”, line 28, in async_wrapper
        Oct 30 19:55:44 test01 kusanagi[565]: result = await func(*args, **kwargs)
        Oct 30 19:55:44 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 292, in async_execute_command
        Oct 30 19:55:44 test01 kusanagi[565]: raise KusanagiExecutionError(
        Oct 30 19:55:44 test01 kusanagi[565]: kusanagi.errors.KusanagiExecutionError: ‘ opt/kusanagi/lib64/python3.9/site-packages/kusanagi/dispatchers/scripts/dispatc er provision’ returned 1
        Oct 30 19:55:44 test01 kusanagi[565]: The above exception was the direct cause f the following exception:
        Oct 30 19:55:44 test01 kusanagi[565]: Traceback (most recent call last):
        Oct 30 19:55:44 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 83, in async_dispatch_stream
        Oct 30 19:55:44 test01 kusanagi[565]: await dispatcher.async_action(
        Oct 30 19:55:44 test01 kusanagi[565]: File “/opt/kusanagi/lib64/python3.9/site packages/kusanagi/dispatcher.py”, line 652, in async_action
        Oct 30 19:55:44 test01 kusanagi[565]: raise KusanagiActionError(
        Oct 30 19:55:44 test01 kusanagi[565]: kusanagi.errors.KusanagiActionError: prov sion failed
        Oct 31 10:48:30 test01 kusanagi[565]: INFO:kusanagi.server:benchmark: async_exe ute_command() took 9.023 s to execute.

        お手数おかけいたしますが、よろしくお願いいたします。

      Viewing 2 posts - 1 through 2 (of 2 total)