I have only set the value "reject_spam" from -1 to 1000 in the plugins/SpamAssassin/config.php file and then update the plugins via the iMSCP panel. After this change, the "X-Spam-Status" flag is no longer set and spam is no longer detected. I use the current version from the plugin store.
In case of a PHP Fatal Error (for example, a syntax error) the web server delivers Error 500, however, does not generate any log entry in error.log. This makes debugging very difficult.
I have solved the problem by myself, as I have also deleted the contents of /var/log/apache2, rebooted apache2, changed the owner from "adm" to "root", and executed imscp-httpd-logs-mngr.
Nevertheless, I have a question about the logs: There are the logs access.log, access.log.1 and access.log.1.gz
Is that ok so and where is the difference?
I deleted the log files manually in /var/www/virtual/mydomain.com/logs. I have not deleted the directories. The logs in /var/log/apache2 are updated regularly, but they will no longer be copied to /var/www/virtual/mydomain.com/logs. The directories there remain empty. I've restarted Apache2 and executed the command perl /var/www/imscp/engine/tools/imscp-httpd-logs-mngr. There was no error messages. I work with i-MSCP 1.2.17.
There are no errors or warnings in the logs until I restart Apache2. After extensive testing, I have found the problem and this is quite i-MSCP related. The problem came with this commit for future 1.3.x version: https://github.com/i-MSCP/imsc…8ed634ffaa46e4c0be27d0bfa I had inserted this option manually in the meantime. If I remove the line "ProxyErrorOverride" in "/etc/apache2/sites-enabled/00_nameserver.conf" everything works fine.
I have now uploaded the files in binary mode and the error message no longer appears. But the real problem was not resolved. When I visit another site in ownCloud (for example the administrator page of ownCloud) the page loads indefinitely (after 6 hours I have interrupted). Meanwhile no one else can access to a site of the complete subdomain1. But other domains are easily accessible. I reinstalled ownCloud and i-MSCP several times and also tried several versions: no chance.
EDIT: 1 Only PHP files can not be reached. They also load endless. The page loads even indefinitely long when attempting to access a file that does not exist.
After installing ownCloud 8/9, ownCloud hangs after login. The page is loading and the service can not be reached. All other sites work fine, so it can not be due to lack of RAM or CPU. Only after restarting the Apache2 service the endless loading can be interrupted. There are no entries in the error.log or php5-fpm.log. With the previous i-MSCP version everything works perfectly. There is also a message in ownCloud: "There was a problem with code integrity check." No files have been modified by me. This is a fresh install of i-MSCP and Debian.
OS: Debian 8.5(Jessie)