Log File Permissions

When the message "Log file /usr/local/zend/var/log/error.log does not exist or missing read permissions" appears it means that Zend Server does not have permissions to read the log file, or, the file does not exist. If the file does exist, you will need to provide the 'zend' user permissions to access the directory containing the file, and read the file itself.

 

One example of enabling Zend Server to read the Apache error log on Debian Linux is provided below:

 

 

Instructions on how to complete a procedure

To enable Zend Server to read the Apache error log on Debian Linux:

  1. Open a terminal and switch to root using "su" or "sudo -s".

  2. Run the following command:
    chmod 644 /usr/local/zend/var/log/error.log

Note

On most Red Hat, Fedora and CentOS systems you will need to allow access to the Apache logs directory too. This can be done by running the following command as root or using 'sudo': chmod 755 /var/log/httpd

 

 

Related Links

Related Links:

Working with Logs  

Logs