Re: [Assp-test] Logs not rolling
Scott, is any other task scheduled for 00:00:00 (or before)? For example BlockReport, maillog file cleanup, rebuildspamdb - these tasks are touching the maillogs. There are several tasks hourly scheduled. If such a hourly schedule falls at 00:00:00 an additionaly delay of 15 seconds is added - the midnight-tasks will start at 00:00:15. How ever, there could be other tasks scheduled for this time frame by the configuration. I ask, because your log shows Dec-20-15 00:00:01 [Worker_1] Worker_1 finished reloading configuration Dec-20-15 00:00:01 [Worker_1] Worker_1 will sleep now - the workers got a request to reload the configuration at midnight. There must be a reason for that. Scott, have a look in to the log for the time frame before midnight. Possibly set 'MaintenanceLog' to the highest level. Thomas Von:Scott MacLean An: ASSP development mailing list Datum: 28.12.2015 16:21 Betreff: Re: [Assp-test] Logs not rolling There are no virus scanners installed on this server (including Windows Defender), other than ClamAV, which is not configured to do realtime file scanning, and is used only by ASSP. There are no backup tasks running at midnight. I should mention that this problem only started a few months ago, and the only thing that has changed on this server in the past year has been regular ASSP upgrades. On 12/28/2015 10:10 AM, grayhat wrote: > It was Mon, 28 Dec 2015 12:46:12 +0100 when > Thomas Eckardt wrote: > >> The only reason I can see for this is a online filesystem virus >> scanner (defender, MSE, ), that is locking the just closed >> maillog.txt. Define a scan exception rule for the 'assp/logs' folder. > Or, even better, exclude the whole ASSP folder from AV checks; as > you know, Thomas, ASSP may (and probably will) store "phish" and other > nasty stuff (including viruses if configured to do so) to use them for > the corpus so, an AV scan may delete that stuff and that won't do any > good to ASSP, so better excluding the whole ASSP folder from scans and > let ASSP work as it was designed :) sure, from time to time, one may > schedule a scan (no removal, just check and signal) on the folder just > to ensure things are ok, but aside from that, better leaving it alone > > > -- > ___ > Assp-test mailing list > Assp-test@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/assp-test -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test DISCLAIMER: *** This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the individual to whom it is addressed. This email was multiple times scanned for viruses. There should be no known virus in this email! *** -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test
Re: [Assp-test] Logs not rolling
There are no virus scanners installed on this server (including Windows Defender), other than ClamAV, which is not configured to do realtime file scanning, and is used only by ASSP. There are no backup tasks running at midnight. I should mention that this problem only started a few months ago, and the only thing that has changed on this server in the past year has been regular ASSP upgrades. On 12/28/2015 10:10 AM, grayhat wrote: > It was Mon, 28 Dec 2015 12:46:12 +0100 when > Thomas Eckardt wrote: > >> The only reason I can see for this is a online filesystem virus >> scanner (defender, MSE, ), that is locking the just closed >> maillog.txt. Define a scan exception rule for the 'assp/logs' folder. > Or, even better, exclude the whole ASSP folder from AV checks; as > you know, Thomas, ASSP may (and probably will) store "phish" and other > nasty stuff (including viruses if configured to do so) to use them for > the corpus so, an AV scan may delete that stuff and that won't do any > good to ASSP, so better excluding the whole ASSP folder from scans and > let ASSP work as it was designed :) sure, from time to time, one may > schedule a scan (no removal, just check and signal) on the folder just > to ensure things are ok, but aside from that, better leaving it alone > > > -- > ___ > Assp-test mailing list > Assp-test@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/assp-test -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test
Re: [Assp-test] Logs not rolling
It was Mon, 28 Dec 2015 12:46:12 +0100 when Thomas Eckardt wrote: > The only reason I can see for this is a online filesystem virus > scanner (defender, MSE, ), that is locking the just closed > maillog.txt. Define a scan exception rule for the 'assp/logs' folder. Or, even better, exclude the whole ASSP folder from AV checks; as you know, Thomas, ASSP may (and probably will) store "phish" and other nasty stuff (including viruses if configured to do so) to use them for the corpus so, an AV scan may delete that stuff and that won't do any good to ASSP, so better excluding the whole ASSP folder from scans and let ASSP work as it was designed :) sure, from time to time, one may schedule a scan (no removal, just check and signal) on the folder just to ensure things are ok, but aside from that, better leaving it alone -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test
Re: [Assp-test] Logs not rolling
The only reason I can see for this is a online filesystem virus scanner (defender, MSE, ), that is locking the just closed maillog.txt. Define a scan exception rule for the 'assp/logs' folder. Thomas Von:Scott MacLean An: ASSP Development Mailing List Datum: 20.12.2015 16:20 Betreff: [Assp-test] Logs not rolling Thomas, any idea what else I could be looking for to cause this? It's been going on for quite a while now, my logs roll over successfully only once or twice a week. Dec-20-15 00:00:01: Rolling log file -- archive will be saved as 'logs/15-12-19.maillog.txt' Dec-20-15 00:00:01 Main_Thread new log file -- old log file renamed to 'logs/15-12-19.maillog.txt' Dec-20-15 00:00:01 [Worker_1] Worker_1 finished reloading configuration Dec-20-15 00:00:01 [Worker_1] Worker_1 will sleep now error: unable to rename file D:/ASSP/logs/maillog.txt to D:/ASSP/logs/15-12-19.maillog.txt - Permission denied -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test DISCLAIMER: *** This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the individual to whom it is addressed. This email was multiple times scanned for viruses. There should be no known virus in this email! *** -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test
[Assp-test] Logs not rolling
Thomas, any idea what else I could be looking for to cause this? It's been going on for quite a while now, my logs roll over successfully only once or twice a week. Dec-20-15 00:00:01: Rolling log file -- archive will be saved as 'logs/15-12-19.maillog.txt' Dec-20-15 00:00:01 Main_Thread new log file -- old log file renamed to 'logs/15-12-19.maillog.txt' Dec-20-15 00:00:01 [Worker_1] Worker_1 finished reloading configuration Dec-20-15 00:00:01 [Worker_1] Worker_1 will sleep now error: unable to rename file D:/ASSP/logs/maillog.txt to D:/ASSP/logs/15-12-19.maillog.txt - Permission denied -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test
Re: [Assp-test] Logs not rolling
Scott, check that a possibly installed online filesystem virusscanner ignores the log folder. Thomas Von:Scott MacLean An: ASSP Development Mailing List Datum: 07.10.2015 18:11 Betreff:[Assp-test] Logs not rolling I've noticed lately that my logs are not rolling - I will often have logs containing 3, sometimes 4 days of logs. This is something new. I have no other applications (backup, etc) accessing the log files, but ASSP is having difficulty rolling the log file - perhaps because it is writing to the file? Here is what I see: Oct-06-15 00:00:00: Rolling log file -- archive will be saved as 'logs/15-10-05.maillog.txt' Oct-06-15 00:00:00 Main_Thread new log file -- old log file renamed to 'logs/15-10-05.maillog.txt' error: unable to rename file D:/ASSP/logs/maillog.txt to D:/ASSP/logs/15-10-05.maillog.txt - Permission denied Oct-07-15 00:00:00 [Worker_10001] Worker_10001 finished reloading configuration Oct-07-15 00:00:00: Rolling log file -- archive will be saved as 'logs/15-10-06.maillog.txt' Oct-07-15 00:00:00 Main_Thread new log file -- old log file renamed to 'logs/15-10-06.maillog.txt' error: unable to rename file D:/ASSP/logs/maillog.txt to D:/ASSP/logs/15-10-06.maillog.txt - Permission denied -- Full-scale, agent-less Infrastructure Monitoring from a single dashboard Integrate with 40+ ManageEngine ITSM Solutions for complete visibility Physical-Virtual-Cloud Infrastructure monitoring from one console Real user monitoring with APM Insights and performance trend reports Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test DISCLAIMER: *** This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the individual to whom it is addressed. This email was multiple times scanned for viruses. There should be no known virus in this email! *** -- ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test
[Assp-test] Logs not rolling
I've noticed lately that my logs are not rolling - I will often have logs containing 3, sometimes 4 days of logs. This is something new. I have no other applications (backup, etc) accessing the log files, but ASSP is having difficulty rolling the log file - perhaps because it is writing to the file? Here is what I see: Oct-06-15 00:00:00: Rolling log file -- archive will be saved as 'logs/15-10-05.maillog.txt' Oct-06-15 00:00:00 Main_Thread new log file -- old log file renamed to 'logs/15-10-05.maillog.txt' error: unable to rename file D:/ASSP/logs/maillog.txt to D:/ASSP/logs/15-10-05.maillog.txt - Permission denied Oct-07-15 00:00:00 [Worker_10001] Worker_10001 finished reloading configuration Oct-07-15 00:00:00: Rolling log file -- archive will be saved as 'logs/15-10-06.maillog.txt' Oct-07-15 00:00:00 Main_Thread new log file -- old log file renamed to 'logs/15-10-06.maillog.txt' error: unable to rename file D:/ASSP/logs/maillog.txt to D:/ASSP/logs/15-10-06.maillog.txt - Permission denied -- Full-scale, agent-less Infrastructure Monitoring from a single dashboard Integrate with 40+ ManageEngine ITSM Solutions for complete visibility Physical-Virtual-Cloud Infrastructure monitoring from one console Real user monitoring with APM Insights and performance trend reports Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 ___ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test