最近,我注意到我的Zend Server5.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发布于 2015-01-30 21:41:52
看起来像是在回答我们的问题:
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发布于 2015-01-31 23:02:23
经过多次修改后,我意识到OpenShift不再支持zend server5.6,所以他们可能是故意破坏它的。
我使用更新版本的zend server在OpenShift网站上创建了一个新应用程序,并将我的旧应用程序恢复到该应用程序中。现在似乎运行得很好。
https://stackoverflow.com/questions/28228742
复制相似问题