The weblog that ispconfig created has stopped updating. I have no entires for the past 5 days. I have noticed that the sys access_log does contain these enties. I also noticed that the Vhosts_ispconfig.conf entry for the domain does not contain any customlog entries. I also get the following error when running log.php Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125 Any help in getting things back to normal would be greatly appreaciated.
The web log is located at /home/www/web5/log/2006/05/web.log Also webalizer reports have also stop showing at the same time. cron is running and I have verified that the log and webalizer crontabs are scheduled. web entries are being logged at: /var/log/httpd/ispconfig_access_log_%Y_%m_%d" The following customlog entry is in httpd.conf ###############ispconfig_log############### LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig
Do the statistics work for your other sites? Any errors related to this in your logs? What's the output of Code: repquota -avug | grep web5 ?
Currently only one website and no errors in the logs. Only error noted was the manual run for logs.php noted in the first entry of this thread. repquota -avug | grep web5 web5_admin -- 54676 0 0 6397 0 0 web5 -- 54688 256000 256000 6400 0 0 I'm not a Linux guru...just some basic knowledge and I'm not sure what the above means. Chris
It means the the group web5 and the user web5_admin have not exceeded their disk quota so that's not the problem. What happens when you run Code: /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php on the shell?
/root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php Produces: Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125 /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php Hangs and does not return to prompt.
The problem is that webalizer and I assume the log.php scripts are accessing an old webid root 32167 33.7 0.6 7360 2952 pts/0 S+ 16:24 0:11 webalizer -n -s -r -q -T -o /home/www/web1/web/stats -c /root/ispconfig/scripts/shell/webalizer.conf I deleted web1 when I first start this server. It should be running on web5. I have cruised thru the 54 mysql tables trying to find references to web1. The only one that I can find is in the "del_status" table where there is two records, one for web1 and the other for web1_admin. They are both is "D" status in the table. Should these be there? There is nothing in any of the recycle bins. Also web1 file structure still exists under /home/www. Does webalizer gets is info from the MySQL tables or some other source. Chris
I believe that I found the problem. There was symlink point to web1 that was screwing things up. Thanks for the help Chris