Tag Archives: log

DansGuardian log analyzer

There are two options : a) Webmin+DG module b) dglog2 Perl script If we are using dglog2 Starting conditions : functional Squid and DG, working Apache, Perl. 1. Check up if DG is rotating his own log /var/log/dansguardian/access.log 1a. In … Continue reading

Posted in Linux | Tagged , , | Comments Off on DansGuardian log analyzer

DansGuardian log analyzer

After quite a few unsuccessful triels, I have taken Sarg as the best DG log analyzer. It is usually used to analyze Squid logs, but can also be used for this….. Necessary configuration : In main configuration file of DG … Continue reading

Posted in Linux | Tagged , , | Comments Off on DansGuardian log analyzer

VSFTPD log rotation

How to set up VSFTPD log to rotate once every day, and that those logs are to be kept for 30 days? Why? Because traffic on server is HUGE, and logs get huge as well…… What has to be configured … Continue reading

Posted in Linux | Tagged , , | Comments Off on VSFTPD log rotation

SendmailAnalyzer

I need the per hour analysis of mail messages (how many per which hour), and my MailScanner can’t do this, so I have been experimenting with SendmailAnalyzer(link). Links with installation instructions : link1 Installing on CentOS 6U4 : Which Perl … Continue reading

Posted in Linux | Tagged , , | Comments Off on SendmailAnalyzer

Squid log analyzer

MySAR Since in our network we use DHCP, I usually as Squid log analyzer use MySAR (link) which gives very good daily overview of downloaded data per IP address of client machine. Webalizer But if you need (as I do) … Continue reading

Posted in Linux | Tagged , , | Comments Off on Squid log analyzer

Dovecot log error

If you have such a error in /var/log/dovecot-lda : lda(korisnik1): Error: fchown(/home/user1/mail/.imap/INBOX/dovecot.index.cache.lock, -1, 12(mail)) failed: Operation not permitted (egid=2073(user1), group based on /var/spool/mail/user1) Or something like this in mailq : r289QLbk027831 3111 Fri Mar 8 10:26 (Deferred: local mailer (/usr/libexec/dovecot/deliver) … Continue reading

Posted in Linux | Tagged , , | Comments Off on Dovecot log error

Iptables logging of DRP-ped packages

Iptables logging is a very useful tool to nasty things done to your server. Possible logging levels : 0 emerg, 1 alert, 2 crit, 3 err, 4 warning, 5 notice, 6 info, 7 debug I want to log only packages … Continue reading

Posted in Linux | Tagged , | Comments Off on Iptables logging of DRP-ped packages

Squid log problem

If you get such warnings in /var/log/squid/cache.log file : 2013/01/25 09:20:58| WARNING: Error Pages Missing Language: sr-rs 2013/01/25 09:20:59| errorpage.cc(293) errorTryLoadText: ‘/usr/share/squid/errors/sr-rs/ERR_ACCESS_DENIED’: (2) No such file or directory ” That means that this language error type is missing amongst the … Continue reading

Posted in Linux | Tagged , , | Comments Off on Squid log problem

Sendmail log

If you get in /var/log/maillog something like this : Dec 20 14:07:39 mail-2012 sendmail[8974]: qBKD7ddr008974: [10.10.10.11] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA It only means that host (here 10.10.10.11) has not finished communication it has started with server … Continue reading

Posted in Linux | Tagged , | Comments Off on Sendmail log

Dovecot log rotation

Make a file /etc/logrorare.d/dovecot : /var/log/dovecot*.log { this is for both logs : dovecot.log and dovecot-lda.log weekly rotate 5 last 5 logs are kept missingok notifempty delaycompress sharedscripts postrotate doveadm log reopen touch dovecot-lda.log manually make this one, because only … Continue reading

Posted in Linux | Tagged , , | Comments Off on Dovecot log rotation