Openshift 由于权限问题,Zend Server 5.6盒带将无法启动

Openshift 由于权限问题,Zend Server 5.6盒带将无法启动,openshift,Openshift,最近,我注意到我的Zend Server 5.6盒式磁带无法正常启动,可能会出现权限问题。我已经有很长一段时间没有使用openshift应用程序,也没有做任何修改。如何使zend-5.6盒式磁带恢复运行 [subaru-hunterjm.rhcloud.com 28ebdd5cffd14a90914f1981af83785b]\> ctl_app restart Cart to restart? 1. phpmyadmin-4 2. zend-5.6 3. mysql-5.1 ? 2 R

最近,我注意到我的Zend Server 5.6盒式磁带无法正常启动,可能会出现权限问题。我已经有很长一段时间没有使用openshift应用程序,也没有做任何修改。如何使zend-5.6盒式磁带恢复运行

[subaru-hunterjm.rhcloud.com 28ebdd5cffd14a90914f1981af83785b]\> ctl_app restart
Cart to restart?
1. phpmyadmin-4
2. zend-5.6
3. mysql-5.1
?  2
Restarting Zend Server Deployment daemon
zdd is not running
Starting Deployment [FAILED]
CLIENT_ERROR: Failed to restart Zend Server Deployment daemon
Restarting Zend Server Monitor node
monitor is not running
rm: cannot remove `/usr/local/zend/tmp/zshm_CollectorUptimeSHM_*': Permission denied
rm: cannot remove `/usr/local/zend/tmp/zshm_MonitorDumpHash_*': Permission denied
rm: cannot remove `/usr/local/zend/tmp/zshm_monitor_ZMRequestsStatContainerSHM_*': Permission denied
rm: cannot remove `/usr/local/zend/tmp/monitor.app': Permission denied
rm: cannot remove `/usr/local/zend/tmp/monitor.wd': Permission denied
Starting Zend Server Monitor node [FAILED]
CLIENT_ERROR: Failed to restart Zend Server Monitor node
Restarting Apache
httpd: Syntax error in -C/-c directive: Syntax error on line 27 of /var/lib/openshift/28ebdd5cffd14a90914f1981af83785b/zend/configuration/etc/conf.d/zendserver_php.conf: Could not open configuration file /usr/local/zend/etc/sites.d/zend-default-vhost-80.conf: Permission denied
CLIENT_ERROR: Failed to restart Apache
Restarting Zend Server JobQueue daemon
jqd is not running
rm: cannot remove `/usr/local/zend/tmp/jqd.app': Permission denied
rm: cannot remove `/usr/local/zend/tmp/jqd.wd': Permission denied
Starting JobQueue [FAILED]
CLIENT_ERROR: Failed to restart Zend Server JobQueue daemon
Restarting Zend Server Console
lighttpd is not running
rm: cannot remove `/usr/local/zend/tmp/lighttpd.app': Permission denied
rm: cannot remove `/usr/local/zend/tmp/lighttpd.wd': Permission denied
spawn-fcgi: opening PID-file '/usr/local/zend/gui/lighttpd/tmp/php-fcgi.pid' failed: Permission denied
chmod: cannot access `/usr/local/zend/gui/lighttpd/tmp/php-fastcgi.socket': Permission denied
Starting Zend Server GUI [Lighttpd] [FAILED]
CLIENT_ERROR: Failed to restart Zend Server Console
CLIENT_RESULT: Zend Server 5.6 restarted successfully

这看起来像是在回答我们的问题:

httpd: Syntax error in -C/-c directive: Syntax error on line 27 of /var/lib/openshift/28ebdd5cffd14a90914f1981af83785b/zend/configuration/etc/conf.d/zendserver_php.conf: Could not open configuration file /usr/local/zend/etc/sites.d/zend-default-vhost-80.conf: Permission denied
您能否为运行服务器的用户授予读取权限?如果您没有发现任何安全问题,您可以向所有人授予读取权限

chmod +r /usr/local/zend/etc/sites.d/zend-default-vhost-80.conf

经过多次修补,我意识到OpenShift不再支持zend server 5.6,所以他们可能是故意破坏了它

我在OpenShift网站上创建了一个新的应用程序,使用了较新版本的zend server,并将我的旧应用程序恢复到该应用程序中。现在似乎很好用