I made a few minor changes to my hosted domains, having to do with logs and web stats settings. After saving the change, several odd behaviors have surfaced.
1) When I list domains, and click on the cpanel for the domain, instead of getting the cpanel, I get the text of the redirect. Example:
If I manually type in the "/frontend/x/index.html" part of the URL, I get taken to the normal cpanel page. This did not happen before I modified the config. It happens in both explorer and firefox.
2) awstats no longer loads, it prompts me to download awstats.pl which, when opened, shows an error page that is too long to post here. The relevant text states "<body>Your browser does not support frames.<br />
You must set AWStats UseFramesWhenCGI parameter to 0
to see your reports.<br />" . This browser supported frames yesterday, I suspect it does today, as well. Also, this did not happen before changes were made.
3) stats don't appear to be running. It's been well over 24 hours since the last stats runs, and the stats are not being updated. I can't find a setting that says when these stats are supposed to be run.
Here are the changes I made in order, as best as I can remember.
Edit /etc/logrotate.d/apache
Added /usr/local/apache/logs/access_logs error_logs and suexec_logs to be rotated on a daily basis, at 7AM.
Tweak Settings:
Uncheck Analog stats
Uncheck Webalizer stats
Save
After reviewing some of the sites, I decided I should re-enable those. Also decided to implement log file deletion after stats, and to save the raw logs on each individual server for historical purposes.
Tweak Settings
check analog stats
check webalizer stats
check delete each domains access logs after stats run
save.
I then went in to a couple of sites cpanels and edited the raw logs to save after stats run. It was then that I noticed the problem.
Any help would be appreciated it.
1) When I list domains, and click on the cpanel for the domain, instead of getting the cpanel, I get the text of the redirect. Example:
Code:
0.0.0.0 - foo [31/Aug/2004:10:54:35 -0400] "GET / HTTP/1.1" 301 0 "foo.com:2086/scripts2/listaccts" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1"
HTTP/1.0 301 Moved
Server: cpsrvd/9.4.0
Connection: close
Location: /frontend/x/index.html
Content-type: text/html
<a href=/frontend/x/index.html>The Document has moved here</a>
2) awstats no longer loads, it prompts me to download awstats.pl which, when opened, shows an error page that is too long to post here. The relevant text states "<body>Your browser does not support frames.<br />
You must set AWStats UseFramesWhenCGI parameter to 0
to see your reports.<br />" . This browser supported frames yesterday, I suspect it does today, as well. Also, this did not happen before changes were made.
3) stats don't appear to be running. It's been well over 24 hours since the last stats runs, and the stats are not being updated. I can't find a setting that says when these stats are supposed to be run.
Here are the changes I made in order, as best as I can remember.
Edit /etc/logrotate.d/apache
Added /usr/local/apache/logs/access_logs error_logs and suexec_logs to be rotated on a daily basis, at 7AM.
Tweak Settings:
Uncheck Analog stats
Uncheck Webalizer stats
Save
After reviewing some of the sites, I decided I should re-enable those. Also decided to implement log file deletion after stats, and to save the raw logs on each individual server for historical purposes.
Tweak Settings
check analog stats
check webalizer stats
check delete each domains access logs after stats run
save.
I then went in to a couple of sites cpanels and edited the raw logs to save after stats run. It was then that I noticed the problem.
Any help would be appreciated it.