Refering farmguardian: I attached a farmguardian file with a patch. This creates a log file if it doesn't exist or if the farmguardian log rotates,
Rename the original farmguardian from /usr/local/zenloadbalancer/app/farmguardian/bin/farmguardian with other name write the attached farmguardian in /usr/local/zenloadbalancer/app/farmguardian/bin/farmguardian after apply execution permissions to the file chmod +x /usr/local/zenloadbalancer/app/farmguardian/bin/farmguardian and restart the farm I hope this help you. Regards 2012/7/26 tibir <[email protected]> > Hi Emilio, > > Thank you for your answer. However I still have doubts. Since we just > put the system into production, i'm accessing the webui daily to check > the status, so the mini_http logs should be filled-in. However you > remarks is right for ucarp, zeninotify and zenlatency. > > Regarding farmguardian, it should always be running so it should always > be logging but it was not the case here. I restarted it in the farm > settings, then it started logging again, until the rotation the next day... > > Hoping it was a temporary issue, i've restarted both appliances today, > one hour ago. I'll update you soon to tell you how it goes after that. > > Regards > tibz > > > On 26/07/2012 19:55, Emilio Campos wrote: > > Hi tibz, I just check the log rotation and there isn't issue. > > > > There are logs that are writen when there is access in the service, i. > > e. mini_httpd.log and zenloadbalancer.log files are registering the > > access to zen webgui so if you don't access to webgui in some days then > > the logs are empty. > > > > By other hand in this file are configured the policies to rotate > > > > cat /etc/logrotate.d/zenloadbalancer > > /usr/local/zenloadbalancer/logs/*.log { > > daily > > compress > > missingok > > rotate 7 > > compress > > notifempty > > create 640 root root > > sharedscripts > > } > > > > There is a tag (notifempty) if your log file is empty, i. e. one day > > that you don't access to zenwebgui then this file aren't going to rotate. > > > > This is the reason that you can't see logs for some days. > > > > Refering to farmguardian-yourfarmname.log neither there isn't problem, > > if you delete the log then it will be created by default by farmguardian > > service. > > > > I hope this help you > > > > Regards > > > > > > 2012/7/25 tibz <[email protected] <mailto:[email protected]>> > > > > Hello, > > > > We are now using Zen in production for our Exchange CAS, and > everything > > is running fine so far. > > > > The only remaining issue seems to be with the logging > > (/usr/local/zenloadbalancer/logs/) that stops after the log rotation. > > > > Some example: > > -rw-r----- 1 root root 0 19 jui 06:25 mini_httpd.log > > -rw-r----- 1 root root 36181 18 jui 15:00 mini_httpd.log.1.gz > > -rw-r----- 1 root root 61030 17 jui 21:17 mini_httpd.log.2.gz > > -rw-r----- 1 root root 3195 5 jui 16:01 mini_httpd.log.3.gz > > -rw-r----- 1 root root 0 19 jui 06:25 ucarp.log > > -rw-r----- 1 root root 281 18 jui 10:05 ucarp.log.1.gz > > -rw-r----- 1 root root 318 17 jui 12:32 ucarp.log.2.gz > > -rw-r----- 1 root root 21538 12 jui 01:00 ucarp.log.3.gz > > -rw-r----- 1 root root 0 19 jui 06:25 zeninotify.log > > -rw-r----- 1 root root 1403 18 jui 12:50 zeninotify.log.1.gz > > -rw-r----- 1 root root 1469 17 jui 19:39 zeninotify.log.2.gz > > -rw-r----- 1 root root 540 5 jui 15:24 zeninotify.log.3.gz > > -rw-r----- 1 root root 0 19 jui 06:25 zenlatency.log > > -rw-r----- 1 root root 257 18 jui 10:05 zenlatency.log.1.gz > > -rw-r----- 1 root root 274 17 jui 12:32 zenlatency.log.2.gz > > -rw-r----- 1 root root 357 5 jui 15:24 zenlatency.log.3.gz > > -rw-r----- 1 root root 0 21 jui 06:25 zenloadbalancer.log > > -rw-r----- 1 root root 1924 20 jui 15:40 zenloadbalancer.log.1.gz > > -rw-r----- 1 root root 2838 19 jui 17:01 zenloadbalancer.log.2.gz > > -rw-r----- 1 root root 3302 18 jui 14:59 zenloadbalancer.log.3.gz > > -rw-r----- 1 root root 0 21 jui 06:25 > ZLB-EXCH-CAS_farmguardian.log > > -rw-r----- 1 root root 37063 21 jui 06:24 > > ZLB-EXCH-CAS_farmguardian.log.1.gz > > -rw-r----- 1 root root 38795 20 jui 06:24 > > ZLB-EXCH-CAS_farmguardian.log.2.gz > > -rw-r--r-- 1 root root 97901 19 jui 06:24 > > ZLB-EXCH-CAS_farmguardian.log.3.gz > > > > As you can see, logs are working fine during a few days, then it > stops > > logging after the last log rotate. We are now the 25th, but my last > logs > > are from the 19th or 21st ... > > If I restart (ie: if I restart the farmguardian for ZLB-EXCH-CAS) it > > will start logging again, until the next rotation (or few rotation > > after). > > > > Any idea what could be wrong and how to troubleshoot that? > > > > Thanks > > tibz > > > > ps: thanks Emilio for your help so far > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions > > will include endpoint security, mobile security and the latest in > > malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Zenloadbalancer-support mailing list > > [email protected] > > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support > > > > > > > > > > -- > > Load balancer distribution - Open Source Project > > http://www.zenloadbalancer.com > > Distribution list (subscribe): > > [email protected] > > <mailto:[email protected]> > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > _______________________________________________ > > Zenloadbalancer-support mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Zenloadbalancer-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support > -- Load balancer distribution - Open Source Project http://www.zenloadbalancer.com Distribution list (subscribe): [email protected]
farmguardian
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Zenloadbalancer-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
