首页 > 解决方案 > 乘客没有启动但没有真正看到错误

问题描述

我试图遵循这个:

https://www.vultr.com/docs/how-to-install-redmine-on-centos-7

我想我已经在我自己的小 centos7 盒子上工作了。虽然它似乎永远不会出现并且总是在 /var/log/httpd/error_log 中退出,但不明白为什么。我确实看到了两个警告,但对我来说那些不应该影响它的启动?是否有任何额外的眼睛可以看到此日志中的任何内容?

[Wed May 08 15:12:53.300528 2019] [suexec:notice] [pid 26924] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ N 2019-05-08 15:12:53.3486 26926/T1 age/Wat/WatchdogMain.cpp:1366 ]: Starting Passenger watchdog...
[ N 2019-05-08 15:12:53.3860 26929/T1 age/Cor/CoreMain.cpp:1339 ]: Starting Passenger core...
[ N 2019-05-08 15:12:53.3863 26929/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ W 2019-05-08 15:12:53.4070 26929/T1 age/Cor/CoreMain.cpp:1006 ]: WARNING: potential privilege escalation vulnerability detected. Phusion Passenger is running as root, and part(s) of the Passenger root path (/usr/local/rvm/gems/ruby-2.6.3/gems/passenger-6.0.2) can be changed by non-root user(s):

 - /usr/local/rvm/gems/ruby-2.6.3/gems/passenger-6.0.2 is not secure: it can be modified by group rvm
 - /usr/local/rvm/gems/ruby-2.6.3/gems is not secure: it can be modified by group rvm
 - /usr/local/rvm/gems/ruby-2.6.3 is not secure: it can be modified by group rvm
 - /usr/local/rvm/gems is not secure: it can be modified by group rvm
 - /usr/local/rvm is not secure: it can be modified by group rvm

Please either fix up the permissions for the insecure paths, or install Passenger in a different location that can only be modified by root.
[ N 2019-05-08 15:12:53.4071 26929/T1 age/Cor/CoreMain.cpp:1014 ]: Passenger core online, PID 26929

[ N 2019-05-08 15:12:53.6931 26929/T8 age/Cor/CoreMain.cpp:671 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2019-05-08 15:12:53.6931 26929/T1 age/Cor/CoreMain.cpp:1245 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2019-05-08 15:12:53.6932 26929/Ta Ser/Server.h:902 ]: [ServerThr.2] Freed 0 spare client objects
[ N 2019-05-08 15:12:53.6932 26929/Ta Ser/Server.h:558 ]: [ServerThr.2] Shutdown finished
[ N 2019-05-08 15:12:53.6933 26929/T8 Ser/Server.h:902 ]: [ServerThr.1] Freed 0 spare client objects
[ N 2019-05-08 15:12:53.6933 26929/T8 Ser/Server.h:558 ]: [ServerThr.1] Shutdown finished
[ N 2019-05-08 15:12:53.6933 26929/Tc Ser/Server.h:902 ]: [ServerThr.3] Freed 0 spare client objects
[ N 2019-05-08 15:12:53.6933 26929/Te Ser/Server.h:902 ]: [ServerThr.4] Freed 0 spare client objects
[ N 2019-05-08 15:12:53.6933 26929/Tc Ser/Server.h:558 ]: [ServerThr.3] Shutdown finished
[ N 2019-05-08 15:12:53.6933 26929/Te Ser/Server.h:558 ]: [ServerThr.4] Shutdown finished
[ N 2019-05-08 15:12:53.6938 26929/Tg Ser/Server.h:902 ]: [ApiServer] Freed 0 spare client objects
[ N 2019-05-08 15:12:53.6938 26929/Tg Ser/Server.h:558 ]: [ApiServer] Shutdown finished
WARNING: PassengerRoot cannot occur within <VirtualHost> section
[Wed May 08 15:12:53.732238 2019] [auth_digest:notice] [pid 26924] AH01757: generating secret for digest authentication ...
[ N 2019-05-08 15:12:53.7823 26956/T1 age/Wat/WatchdogMain.cpp:1366 ]: Starting Passenger watchdog...
[ N 2019-05-08 15:12:53.8208 26959/T1 age/Cor/CoreMain.cpp:1339 ]: Starting Passenger core...
[ N 2019-05-08 15:12:53.8211 26959/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ W 2019-05-08 15:12:53.8418 26959/T1 age/Cor/CoreMain.cpp:1006 ]: WARNING: potential privilege escalation vulnerability detected. Phusion Passenger is running as root, and part(s) of the Passenger root path (/usr/local/rvm/gems/ruby-2.6.3/gems/passenger-6.0.2) can be changed by non-root user(s):

 - /usr/local/rvm/gems/ruby-2.6.3/gems/passenger-6.0.2 is not secure: it can be modified by group rvm
 - /usr/local/rvm/gems/ruby-2.6.3/gems is not secure: it can be modified by group rvm
 - /usr/local/rvm/gems/ruby-2.6.3 is not secure: it can be modified by group rvm
 - /usr/local/rvm/gems is not secure: it can be modified by group rvm
 - /usr/local/rvm is not secure: it can be modified by group rvm

Please either fix up the permissions for the insecure paths, or install Passenger in a different location that can only be modified by root.
[ N 2019-05-08 15:12:53.8418 26959/T1 age/Cor/CoreMain.cpp:1014 ]: Passenger core online, PID 26959
[Wed May 08 15:12:53.842702 2019] [lbmethod_heartbeat:notice] [pid 26924] AH02282: No slotmem from mod_heartmonitor
[Wed May 08 15:12:53.924503 2019] [mpm_prefork:notice] [pid 26924] AH00163: Apache/2.4.6 (CentOS) Phusion_Passenger/6.0.2 mod_auth_gssapi/1.5.1 mod_nss/1.0.14 NSS/3.28.4 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Wed May 08 15:12:53.924564 2019] [core:notice] [pid 26924] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[ N 2019-05-08 15:12:54.4980 26929/T1 age/Cor/TelemetryCollector.h:531 ]: Message from Phusion: End time can not be before or equal to begin time
[ N 2019-05-08 15:12:54.5497 26929/T1 age/Cor/CoreMain.cpp:1324 ]: Passenger core shutdown finished
[ N 2019-05-08 15:12:57.5521 26959/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)

我按照链接中的指示编辑了 00-base.conf,并且 redmine.conf 相同,其中正确的路径由

passenger-install-apache2-module

命令也如网站上所述。

不知道还有什么要检查或做什么,我也禁用了 SELinux。

标签: passengerredmine

解决方案


推荐阅读