我试图遵循此原则:
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。