I was trying to install Zend server on a virtual server through SSH. The address http://localhost works fine. But when I visit http://localhost:10081 to start the configuration, but I got an error "An unexpected error has occurred“. Then I checked the log file located at /usr/local/zend/var/log/zend_server_ui.log. The cause is as below:
Zend Server Exception Caught:
Permission denied '/usr/local/zend/gui/application/data/zend-server.ini'
#0 /usr/local/zend/gui/application/CE/models/Plugins/Initializer/CE.php(128): Common_ApplicationModel::loadConfiguration()
#1 /usr/local/zend/gui/application/CE/models/Plugins/Initializer/CE.php(38): Plugins_Initializer_CE->initApplication()
#2 /usr/local/zend/gui/application/Initializer.php(34): Plugins_Initializer_CE->__construct()
#3 /usr/local/zend/gui/html/index.php(24): Initializer::getInitializer('CE')
#4 {main}
It says the permission was denied for the zend-server.ini file. But the I think I have the permission on that file:
-rw-rwSr-- 1 root zend 998 2011-09-21 19:39 zend-server.ini
Please help. Thanks in advance.