Book review – Absolute OpenBSD 2nd Edition

If you’re following BSD related news, you probably would have know about Absolute OpenBSD, 2nd Edition. The author is Michael W. Lucas, well known for fantastic technical books (Absolute FreeBSD, Network Flow Analysis, SSH Mastery, DNSSEC Mastery & others ). A while ago, I got hold of this book, Absolute OpenBSD 2nd Edition (in short, AO2E), and spent

(Read more...)

Scratch of the day – php throwing stricts error on browser

Today, I had to setup a Postgresql database server with phpPgAdmin web interface. While visiting the web interface for the first time, this error message appears on the top :

Strict Standards: Only variables should be assigned by reference in 
/usr/local/www/phpPgAdmin/classes/database/Connection.php on line 23

Warning: Cannot modify header information - headers already sent by
(output started at /usr/local/www/phpPgAdmin/classes/database/Connection.php:23)
in /usr/local/www/phpPgAdmin/classes/Misc.php

(Read more...)

Scratch of the day – exclude logging to /var/log/messages

After telling dhcpd to log messages to local7 of syslogd, “uid lease” messages are still being log in /var/log/messages. This is because by default, syslogd logs “notice” level and above to /var/log/messages.

If you don’t wanna see these messages in /var/log/messages, which it has already log to /var/log/dhcpd.log, include the log level “none” that tells syslogd logs to /var/log/messages. This

(Read more...)

Scratch of the day – dmesg log is not at /var/log

dmesg log is the place where system information are written to it, similar to /var/log/messages. It is particularly useful to get information of Hardware details. But after some time, the information in /var/log/dmesg.today & /var/log/dmesg.yesterday are replaced with system messages where by boot messages are replaced.

Fortunately, a copy of boot messages in dmesg are still available in :


(Read more...)