Applicable to:
- Plesk for Linux
症状
Apache バージョン 2.4 がインストールされた Debian OS で Plesk をアップグレードすると、ウェブサーバが起動しなくなりました。以下のエラーメッセージが表示されます。
-
apache2: Syntax error on line 234 of /etc/apache2/apache2.conf: Syntax error on line 5 of /etc/apache2/conf.d/zz010_psa_httpd.conf: Syntax error on line 72 of /etc/apache2/plesk.conf.d/server.conf: No matches for the wildcard '*.conf' in '/etc/apache2/plesk.conf.d/ip_default', failing (use IncludeOptional if required)
Action 'configtest' failed.
The Apache error log may have more information. -
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
-
SSLSessionCache: 'shmcb' session cache not supported (known names: dbm,memcache). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).
-
The apache2 instance did not start within 20 seconds. Please read the log files to discover problems.
-
[proxy_balancer:emerg] [pid 25870] AH01177: Failed to lookup provider 'shm' for 'slotmem': is mod_slotmem_shm loaded?
-
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
-
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration1.
Invalid command 'DirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration
-
原因
構成ファイルが、新しい Apache 2.4 に完全に切り替わっていません。
解決策
-
/usr/local/psa/admin/conf/templates
フォルダにカスタムテンプレートがあることを確認します。もしあれば、それらすべてをレビューして、ワイルドカードが含まれるすべての行でInclude
をIncludeOptional
に変更してください。 -
カスタムテンプレートがなければ、以下のファイルで、ワイルドカードが含まれるすべての行で
Include
をIncludeOptional
に変更してください。/etc/apache2/conf.d/zz010_psa_httpd.conf
/etc/apache2/plesk.conf.d/server.conf
/etc/apache2/plesk.conf.d/horde.conf
-
以下の Apache モジュールを有効化し、アクティブ化します。
~# a2enmod authz_core authz_host access_compat socache_shmcb slotmem_shm mpm_worker unixd php5 dir
コメント
0件のコメント
サインインしてコメントを残してください。