Most tail var log related news are at:
Comparing objects in C++ 12 Jul 2012 | 12:21 am
The standard C++ pattern for comparing and ordering objects is to overload operator<() for your class. This function is what all the standard containers (std::set, std::priority_queue, etc.) and algor...
Space invaders? 27 Jan 2010 | 10:28 am
After my exams in December, I relaxed by writing a sort of space game using C++/SDL/OpenGL: I ripped the sprites from Space Invaders and Galaga/Galaxian, please forgive me. If whoever wants to play/h...
More tail var log related news:
A deep dive in to /var/log/lastlog mute.nu 13 Jan 2012 | 10:33 am
A few days ago we had a very peculiar situation at work regarding the file size of /var/log/lastlog and I decided to find out why. This was the initial output that made me very confused: [root@dev ~...
exim failing due to lack of IPv6 support? ecmconsultant.net 1 May 2012 | 04:39 pm
You having trouble getting exim to startup? Getting these messages in the log(/var/log/exim/main.log)? Give this a shot: sudo vi /etc/exim/exim.conf Change as follows: #local_interfaces = <; 127....
Instalasi qmail Freebsd amd64 rayn.web.id 27 Dec 2011 | 07:13 am
Sempat frustasi juga pas lagi Instalasi qmail 1.0.3 freebsd amd64, di /var/log/message kluar error terus seperti di bawah ini. Apr 20 11:52:09 mx kernel: pid 71944 (qmail-lspawn), uid 0: exited on si...
ConfigServer Exploit Scanner – external perl script to run upon detection of a match sant-media.co.uk 29 Jan 2012 | 09:40 am
One very useful option recently added to CXS is –script For example, I am currently using something like: /usr/sbin/cxs –report /var/log/cxs.scan –logfile /var/log/cxs.log –mail [email protected]...
Grep String Search developertask.blogspot.com 14 Apr 2011 | 05:23 am
Grep String Search can be fine tuned using the power of regular expressions. grep -w ^index /var/log/httpd/access.log This command will display only those lines which is having index.html as the sta...
Linux VPS上DenyHosts阻止SSH暴力攻击 ekeysky.com 7 Jan 2012 | 03:24 am
现在的互联网非常不安全,很多人没事就拿一些扫描机扫描ssh端口,然后试图连接ssh端口进行暴力破解(穷举扫描),所以建议vps主机的空间,尽量设置复杂的ssh登录密码,虽然在前段时间曾经介绍过Linux VPS禁止某个IP访问使用hosts.deny禁止某些IP访问,但是功能方面欠缺,如:不能自动屏蔽,那么有什么更好的办法吗,就可以使用denyhosts这款软件了,它会分析/var/log/sec...
Linux VPS上DenyHosts阻止SSH暴力攻击 ekeysky.com 3 Jan 2012 | 04:26 am
现在的互联网非常不安全,很多人没事就拿一些扫描机扫描ssh端口,然后试图连接ssh端口进行暴力破解(穷举扫描),所以建议vps主机的空间,尽量设置复杂的ssh登录密码,可以使用denyhosts这款软件了,它会分析/var/log/secure(redhat,Fedora Core)等日志文件,当发现同一IP在进行多次SSH密码尝试时就会记录IP到/etc/hosts.deny文件,从而达到自动屏...
pam_limits(crond:session): unknown limit item ‘noproc’ saoyu.com 18 Apr 2012 | 12:30 am
今天查看/var/log/secure日志文件,发现里面出现大量的错误,如下: [root@localhost log]# cat /var/log/secure|more Mar 16 00:00:01 localhost crond[11717]: pam_limits(crond:session): unknown limit item ‘noproc’ Mar 16 00:00:01...
lvreduce and lvextent a Linux partition, a quick “howto”! techinterplay.com 10 Apr 2012 | 05:55 am
Scenario : Yeah Disk space issues!! /var and /var/log are seperate partitions and /var/log is getting filled-up with the current logrotation settings which we dont want to change. /var is allocated wi...
ubuntu and bind acting as slave smaftoul.wordpress.com 17 Apr 2009 | 12:22 pm
While installing a slave dns server with bind, I went into trouble. I could not understand why my slave zone would not synchronize. Actually I found these entries in /var/log/daemon.log: named[24309]...