質問編集履歴
1
解決した設定ファイルのエラーは除き、現在発生したエラーを記載しています。ご回答頂いた方、ありがとうございました。
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -6,39 +6,15 @@ | |
| 6 6 | 
             
            ### 発生している問題・エラーメッセージ
         | 
| 7 7 | 
             
            設定ファイルのテスト結果は以下のとおりです。
         | 
| 8 8 | 
             
            apachectl cofigtest
         | 
| 9 | 
            -
            Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
         | 
| 10 | 
            -
                                     [-C "directive"] [-c "directive"]
         | 
| 11 | 
            -
                                     [-k start|restart|graceful|graceful-stop|stop]
         | 
| 12 | 
            -
                                     [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]
         | 
| 13 | 
            -
             | 
| 9 | 
            +
            の実行結果
         | 
| 14 | 
            -
              -D name            : define a name for use in <IfDefine name> directives
         | 
| 15 | 
            -
              -d directory       : specify an alternate initial ServerRoot
         | 
| 16 | 
            -
              -f file            : specify an alternate ServerConfigFile
         | 
| 17 | 
            -
              -C "directive"     : process directive before reading config files
         | 
| 18 | 
            -
              -c "directive"     : process directive after reading config files
         | 
| 19 | 
            -
              -e level           : show startup errors of level (see LogLevel)
         | 
| 20 | 
            -
             | 
| 10 | 
            +
            No syntax error
         | 
| 21 | 
            -
              -v                 : show version number
         | 
| 22 | 
            -
              -V                 : show compile settings
         | 
| 23 | 
            -
              -h                 : list available command line options (this page)
         | 
| 24 | 
            -
              -l                 : list compiled in modules
         | 
| 25 | 
            -
              -L                 : list available configuration directives
         | 
| 26 | 
            -
              -t -D DUMP_VHOSTS  : show parsed vhost settings
         | 
| 27 | 
            -
              -t -D DUMP_RUN_CFG : show parsed run settings
         | 
| 28 | 
            -
              -S                 : a synonym for -t -D DUMP_VHOSTS -D DUMP_RUN_CFG
         | 
| 29 | 
            -
              -t -D DUMP_MODULES : show all loaded modules 
         | 
| 30 | 
            -
              -M                 : a synonym for -t -D DUMP_MODULES
         | 
| 31 | 
            -
              -t -D DUMP_INCLUDES: show all included configuration files
         | 
| 32 | 
            -
              -t                 : run syntax check for config files
         | 
| 33 | 
            -
              -T                 : start without DocumentRoot(s) check
         | 
| 34 | 
            -
              -X                 : debug mode (only one worker, do not detach)
         | 
| 35 | 
            -
            Action 'cofigtest' failed.
         | 
| 36 | 
            -
            The Apache error log may have more information.
         | 
| 37 | 
            -
            say@say:/var/log/apache2$ 
         | 
| 38 11 |  | 
| 39 | 
            -
            エラーログは次のとおりです。
         | 
| 12 | 
            +
            Apacheのエラーログは次のとおりです。
         | 
| 40 | 
            -
            [Fri Jul 23  | 
| 13 | 
            +
            [Fri Jul 23 22:30:05.838003 2021] [mpm_prefork:notice] [pid 626] AH00169: caught SIGTERM, shutting down
         | 
| 14 | 
            +
            [Fri Jul 23 22:30:07.072611 2021] [ssl:warn] [pid 1435] AH01909: say:443:0 server certificate does NOT include an ID which matches the server name
         | 
| 15 | 
            +
            [Fri Jul 23 22:30:07.810866 2021] [ssl:warn] [pid 1436] AH01909: say:443:0 server certificate does NOT include an ID which matches the server name
         | 
| 41 | 
            -
             | 
| 16 | 
            +
            [Fri Jul 23 22:30:07.829180 2021] [mpm_prefork:notice] [pid 1436] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
         | 
| 17 | 
            +
            [Fri Jul 23 22:30:07.829240 2021] [core:notice] [pid 1436] AH00094: Command line: '/usr/sbin/apache2'
         | 
| 42 18 |  | 
| 43 19 | 
             
            ### 試したこと
         | 
| 44 20 | 
             
            fqdn.confという設定ファイルを作成し、ServerNameを追記しましたが、解消しませんでした。
         | 
