Submitted by andreychek on Thu, 11/06/2014 - 00:44Comment #1
Howdy -- that error means that Virtualmin couldn't find an entry in /etc/logrotate.conf (or a file included from it, such as "/etc/logrotate.d/httpd") for the domain's Apache access_log file.
You may want to review the existing log rotation entries for your domains, and add one for this particular domain.
Submitted by bislinks on Fri, 11/14/2014 - 14:49Pro LicenseeComment #2
I understand i should look in /etc/logrotate.d directory for a .conf file for this domain.
I am talking about "nothingbutfact.bittertruth.net;" previously, "nothingbutfact.com"
I did not find a .conf file for this particular domain in /etc/logrotate.d/!
Should I create one manually or is there a proper way?
Found another problem.
The "/etc/logrotate.d/nothingutfact.com.conf" had misconfig:
The access and error log paths were pointing to another domain altogether! Changed it to /var/log/virtualmin/nothingbutfact.com_access_log and /var/log/virtualmin/nothingbutfact.com_error_log
Submitted by andreychek on Sat, 11/15/2014 - 09:07Comment #5
Regarding logrotate -- it looks like you may have fixed it! What I'd suggest is to go into Limits and Validation -> Validate Virtual Servers, and have it perform a validation on that domain.
After doing so, does it list that domain as being setup properly?
The warning you received may be because awstats hadn't run yet... which it likely did by now. Are you able to review the awstats report for that domain now?
Regarding Webalizer -- the error you mentioned references the domain "daniel.preachword.com".
Is that the domain that was previously listed in the log rotate config that you had to correct?
Comments
Submitted by andreychek on Thu, 11/06/2014 - 00:44 Comment #1
Howdy -- that error means that Virtualmin couldn't find an entry in /etc/logrotate.conf (or a file included from it, such as "/etc/logrotate.d/httpd") for the domain's Apache access_log file.
You may want to review the existing log rotation entries for your domains, and add one for this particular domain.
I understand i should look in /etc/logrotate.d directory for a .conf file for this domain.
I am talking about "nothingbutfact.bittertruth.net;" previously, "nothingbutfact.com"
I did not find a .conf file for this particular domain in /etc/logrotate.d/!
Should I create one manually or is there a proper way?
Found another problem.
The "/etc/logrotate.d/nothingutfact.com.conf" had misconfig:
The access and error log paths were pointing to another domain altogether! Changed it to /var/log/virtualmin/nothingbutfact.com_access_log and /var/log/virtualmin/nothingbutfact.com_error_log
Did I do it right?
Appreciate your hard work, patience, and help.
I created "/etc/logrotate.d/nothingbutfact.bittertruth.net.conf" with the following data:
=====data begin===== /var/log/virtualmin/nothingbutfact.bittertruth.net_access_log /var/log/virtualmin/nothingbutfact.bittertruth.net_error_log rotate 5 weekly compress postrotate /etc/rc.d/init.d/httpd graceful ; sleep 5 endscript sharedscripts ===== data end =====
But, when I click "View AWstats Report" for domain "NothingButFact.BitterTruth.net," I see this on top of the page:
Never updated (See 'Build/Update' on awstats_setup.html page)
Is it OK?
Also getting the following error when i click "generate report" on webalizer:
Running Webalizer to generate report from /var/log/virtualmin/daniel.preachword.com_access_log ..
.. Webalizer failed! See the output above for details.
Submitted by andreychek on Sat, 11/15/2014 - 09:07 Comment #5
Regarding logrotate -- it looks like you may have fixed it! What I'd suggest is to go into Limits and Validation -> Validate Virtual Servers, and have it perform a validation on that domain.
After doing so, does it list that domain as being setup properly?
The warning you received may be because awstats hadn't run yet... which it likely did by now. Are you able to review the awstats report for that domain now?
Regarding Webalizer -- the error you mentioned references the domain "daniel.preachword.com".
Is that the domain that was previously listed in the log rotate config that you had to correct?
Got this error after running "Validate Virtual Servers:"
BibleLegacy.com Webmin login : Webmin user legacy does not exist
Submitted by andreychek on Mon, 11/17/2014 - 18:23 Comment #7
Are you having any problems with that particular domain? If it's a top-level Virtual Server, is the "Webmin" feature enabled?
The domain that had logrotate problem was nothingbutfact.bittertruth.net
Submitted by JamieCameron on Mon, 11/17/2014 - 21:25 Comment #9
For the domain "biblelegacy.com", you can re-create the Webmin user by running :
virtualmin disable-feature --domain biblelegacy.com --webmin
virtualmin enable-feature --domain biblelegacy.com --webmin