ok thanks. I'll keep an eye on it
AWstats not working after upgrade to latest stable
- robbo007
- Closed
- Thread is marked as Resolved.
-
-
I had the same problem, but just found out today after upgrading to 1.1.2.
I seem to miss traffic info between feb 09 and today. The imscp logs are flushed. Is there any way to restore this from the apache logs? -
-
@Smallserver: Did you read the first page ?
This is a little problem with the Cron job that is easy to fix (either you correct it, or you upgrade to latest version) -
-
-
Yeah right, I read your post then the first of this topic after and reply at the end... (yeah, I read it in "reverse mode", not the best way to do).
I still run (for now) 1.1.0 (waiting some interresting plugin first which should be compatible with it, if not, I prefer to wait it still).
The Traffic logs are, if I correctly remember, managed by the daemon and some parts run from Cron.Is the daemon running ? Did you check logs ? and verify the Cron jobs, that will not hurt.
-
hi, got the same issue on the actual latest stable.
running the command directly from the shell is working fine.
No Cronjob is being executed (backup, aso).What can i do to fix this issue, any suggestions?
(added the crons into root-cron doesn't work) -
-
-
/etc/cron.d/imscp
Code- cat /etc/cron.d/imscp
- # Quota accounting
- @daily root /var/www/imscp/engine/quota/imscp-dsk-quota &>/var/log/imscp/imscp-dsk-quota.log
- # Traffic accounting
- 0,30 * * * * root /var/www/imscp/engine/traffic/imscp-srv-traff &>/var/log/imscp/imscp-srv-traff.log
- 0,30 * * * * root /var/www/imscp/engine/traffic/imscp-vrl-traff &>/var/log/imscp/imscp-vrl-traff.log
- # Customer logs
- @daily root /var/www/imscp/engine/tools/imscp-httpd-logs-mngr &>/var/log/imscp/imscp-httpd-logs-mngr.log
- # Backup customers' data depending of the domain properties
- @daily * * * root /var/www/imscp/engine/backup/imscp-backup-all yes &>/var/log/imscp/imscp-backup-all-mngr.log
- # Backup i-MSCP configuration files and database
- @daily root /var/www/imscp/engine/backup/imscp-backup-imscp &>/var/log/imscp/imscp-backup-imscp-mngr.log
- # Remove configuration backups older than 7 days
- @weekly root {CMD_FIND} /etc/imscp/*/backup -type f -mtime +7 -regextype sed -regex '.*/.*[0-9]\{10\}$' -exec {CMD_RM} -- {} +
- # Remove backend Logs older than 7 days
- @weekly root {CMD_FIND} /var/log/imscp -type f -mtime +7 -exec {CMD_RM} -- {} +
- # Disable expired accounts
- @daily root /var/www/imscp/engine/tools/imscp-disable-accounts >/dev/null 2>&1
- # Look for and purge old PHP sessions every 30 minutes
- 0,30 * * * * root /var/www/imscp/engine/tools/imscp-del-tmp >/dev/null 2>&1
- # imscp [Addons::Webstats::Awstats] entry BEGIN
- 15 3-21/6 * * * root /usr/bin/perl /var/www/imscp/engine/PerlLib/Addons/Webstats/Awstats/Scripts/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1
- # imscp [Addons::Webstats::Awstats] entry ENDING
- # imscp [Addons::AntiRootkits::Rkhunter] entry BEGIN
- @weekly root /usr/bin/nice -n 19 /usr/bin/perl /var/www/imscp/engine/PerlLib/Addons/AntiRootkits/Rkhunter/Cron.pl >/dev/null 2>&1
- # imscp [Addons::AntiRootkits::Rkhunter] entry ENDING
- # imscp [Addons::AntiRootkits::Chkrootkit] entry BEGIN
- @weekly root /usr/bin/nice -n 19 /usr/sbin/chkrootkit 1> /var/log/chkrootkit.log 2>&1
- # imscp [Addons::AntiRootkits::Chkrootkit] entry ENDING
- # imscp [{ENTRY_ID}] entry BEGIN
- # imscp [{ENTRY_ID}] entry ENDING
/etc/debian_version
7.8i-MSCP 1.1.22
Build: 20150206
Codename: Eaglethere is nothing to find about the crons in the syslog. What part excatly would you like to see?
-
-
First, you're not using the last stable version. You're using last maintenance release for the previous branch 1.1.x which is not longer supported. Whatever, in the cron file, replace the following line:
by
BTW: Next time, do not post in a thread which is already marked as solved. Open a new thread instead.