デジタル Ocean アカウントで Chef を使用して、ドロップレット/インスタンスを構築しています。私のサーバーは Ubuntu 12.04 x64 です。私のCheffileには
...
site 'http://community.opscode.com/api/v1'
cookbook 'apache2',
:git =>'https://github.com/opscode-cookbooks/apache2'
....
そして私のノードjsonで:
...
"apache": {
"default_modules" :
["status","alias","auth_basic","autoindex","dir","env","mime","negotiation","setenvif"]
},
...
"run_list": [
"recipe[gearman]",
"recipe[postgresql::server]",
"recipe[php]",
"recipe[apache2]",
"recipe[apache2::mod_php5]",
"recipe[mysql]",
"recipe[mysql::server]"
]
authz で何らかのエラーが発生したため、既にモジュールを制限する必要がありました。しかし今、私はいつもエラーを受け取っています
* The apache2 configtest failed.
STDERR: Output of config test was:
AH00526: Syntax error on line 11 of /etc/apache2/apache2.conf:
Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
私の構成でエラーが発生するのは何が問題なのですか:
- Apache の従来のセットアップ (すべてのモジュールを使用?)
- LockFile のテンプレート エラーですか?