###前提・実現したいこと
Redmine3.4をインストールしたが403エラー。(CentOS7+httpd2.4)
「Forbidden
You don't have permission to access /redmine on this server.」
が返されてしまいます。
ログをみて、いろいろ対処を行ってみましたが、もうお手上げです。
アドバイスをお願いできますでしょうか。
こちらのサイト
http://blog.redmine.jp/articles/3_4/install/centos/
を参考にして構築を行いました。
###発生している問題・エラーメッセージ
Redmineのページ http://example.com/redmine にアクセスすると 次のエラーが表示される。 [root@tredmine]# tail -f /var/log/httpd/error_log [Sat Nov 04 19:09:05.049475 2017] [core:error] [pid 27044] (13)Permission denied: [client ××.××.182:60288] AH00035: access to /redmine denied (filesystem path '/var/lib/redmine/public') because search permissions are missing on a component of the path
###該当のソースコード
[root@redmine]# cat /etc/httpd/conf.d/redmine.conf <Directory "/var/lib/redmine/public"> Require all granted </Directory> LoadModule passenger_module /usr/local/lib/ruby/gems/2.4.0/gems/passenger-5.1.11/buildout/apache2/mod_passenger.so <IfModule mod_passenger.c> PassengerRoot /usr/local/lib/ruby/gems/2.4.0/gems/passenger-5.1.11 PassengerDefaultRuby /usr/local/bin/ruby </IfModule> Header always unset "X-Powered-By" Header always unset "X-Runtime" guide(https://www.phusionpassenger.com/library/config/apache/reference/)参照。 PassengerMaxPoolSize 20 PassengerMaxInstancesPerApp 4 PassengerPoolIdleTime 864000 PassengerHighPerformance on PassengerStatThrottleRate 10 PassengerSpawnMethod smart PassengerFriendlyErrorPages off #PassengerLogFile /var/log/httpd/passenger_error.log RackBaseURI /redmine Alias /redmine /var/lib/redmine/public <Location /redmine> PassengerBaseURI /redmine PassengerAppRoot /var/lib/redmine </Location>
###試したこと
httpd restart を実行し、エラーログを確認しました。
[Sat Nov 04 19:18:18.341890 2017] [mpm_prefork:notice] [pid 27150] AH00170: caught SIGWINCH, shutting down gracefully
[Sat Nov 04 19:18:19.425401 2017] [suexec:notice] [pid 27173] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 04 19:18:19.432082 2017] [passenger:error] [pid 27173] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/local/lib/ruby/gems/2.4.0/gems/passenger-5.1.11/buildout/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable. To learn how to fix 'PassengerRoot', please read https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#PassengerRoot
[Sat Nov 04 19:18:19.453291 2017] [so:warn] [pid 27173] AH01574: module passenger_module is already loaded, skipping
[Sat Nov 04 19:18:19.454638 2017] [auth_digest:notice] [pid 27173] AH01757: generating secret for digest authentication ...
[Sat Nov 04 19:18:19.455916 2017] [lbmethod_heartbeat:notice] [pid 27173] AH02282: No slotmem from mod_heartmonitor
[Sat Nov 04 19:18:19.470107 2017] [passenger:error] [pid 27173] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/usr/local/lib/ruby/gems/2.4.0/gems/passenger-5.1.11/buildout/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable. To learn how to fix 'PassengerRoot', please read https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#PassengerRoot
[Sat Nov 04 19:18:19.475702 2017] [mpm_prefork:notice] [pid 27173] AH00163: Apache/2.4.6 (CentOS) Phusion_Passenger/4.0.53 configured -- resuming normal operations
[Sat Nov 04 19:18:19.475785 2017] [core:notice] [pid 27173] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
###補足情報(言語/FW/ツール等のバージョンなど)
CentOS Linux release 7.4.1708 (Core)
httpd 2.4.6
Ruby 2.4.2