I just installed V3 and ran through the logfiles and found this in the process_monitor.log from v3.
[03/Jun/2013 1:50:01 +0200] Process cc-ftpd is down, attempting restart
[03/Jun/2013 1:50:01 +0200] Process cc-ftpd restarted successfully
[03/Jun/2013 1:55:01 +0200] Process cc-ftpd is down, attempting restart
[03/Jun/2013 1:55:01 +0200] Process cc-ftpd restarted successfully
[03/Jun/2013 2:00:01 +0200] Process cc-ftpd is down, attempting restart
[03/Jun/2013 2:00:01 +0200] Process cc-ftpd restarted successfully
[03/Jun/2013 2:00:01 +0200] Process cc-ftpd is down, attempting restart
[03/Jun/2013 2:00:01 +0200] Process cc-ftpd restarted successfully
It's doing this every 5 minutes as you can see. Why is it doing this? We don't even use cc-ftpd and don't want to use FTP on Centova.
From cc-appserver.log I found this:
[03-Jun-2013 01:50:35] ERROR: Unable to remove the PID file (/usr/local/centovacast/var/run/cc-appserver.pid).: No such file or directory (2)
However, this file -is- present but owned by root.
Logrotate just run and now permissions to the logfiles are gone:
-rw------- 1 root root 705 Jun 3 02:15 cc-appserver.log
-rw-rw-r-- 1 centovacast centovacast 366 Jun 3 01:50 cc-appserver.log.1.gz
As you can see, the owner changed from centovacast to root.
This was the error I got.
Details: Could not access log file /usr/local/centovacast/var/log/cc-appserver.log: Error opening source file: Permission denied
Also cc-web_access.log changes group owner.
-rw-r--r-- 1 centovacast root 4.5K Jun 3 02:18 cc-web_access.log
-rw-rw-r-- 1 centovacast centovacast 12K Jun 3 02:12 cc-web_access.log.1.gz
We got it like this now:
-rw------- 1 root root 0 Jun 3 02:15 appsrv-webintf-slow.log
-rw-rw-r-- 1 centovacast centovacast 46 Jun 3 00:57 appsrv-webintf-slow.log.1.gz
-rw------- 1 root root 705 Jun 3 02:15 cc-appserver.log
-rw-rw-r-- 1 centovacast centovacast 366 Jun 3 01:50 cc-appserver.log.1.gz
-rw-r--r-- 1 centovacast root 4.5K Jun 3 02:18 cc-web_access.log
-rw-rw-r-- 1 centovacast centovacast 12K Jun 3 02:12 cc-web_access.log.1.gz
-rw-r--r-- 1 centovacast root 0 Jun 3 02:15 cc-web.log
-rw-rw-r-- 1 centovacast centovacast 345 Jun 3 00:58 cc-web.log.1.gz
drwxrwx--- 2 ccuser ccuser 4.0K Jun 3 02:15 control
drwx--x--x 2 nobody nobody 4.0K Jun 3 02:15 imaged
-rw-r--r-- 1 root root 237 Jun 3 02:15 process_monitor.log.1.gz
But we are running mod_ruid2 which is quite similar to SuPHP, so it looks we have to run everything as ccuser or centovacast, i don't know which one, but as far as I can see, things are going wrong here due to getting wrong ownership.