Simple DNS failover with OpenDNS

Sometime I got message ‘can’t resolve hostname’, till I use this simple technique I don’t have problem when my ISP dns server get down or when I have to protect my self from porn or phishing content. I use 4 (four) dns server, two using ISP dns server and the rest using OpenDNS. Here’s step …

More

file(1) : N/A : NOT INSTALLED (required by Maia Mailguard)

I’ve found my maia-mailguard not working, I run configtest to find out : mail# /var/amavisd/maia/scripts/configtest.pl MAIA MAILGUARD CONFIGURATION TEST This script checks for the presence of applications and Perl modules required by amavisd-maia, SpamAssassin, and Maia Mailguard’s maintenance scripts.  Version numbers are also checked, and if a newer version of a component is recommended, you …

More

Postfix and LOCK tables

just found error in /var/log/messages and when I try to backup postfix database. mail# mysqldump -upostfix -p postfix > postfix.sql Enter password: mysqldump: Got error: 1044: Access denied for user ‘postfix’@’localhost’ to database ‘postfix’ when using LOCK TABLES checking user privileges using information_schema mail# mysql -upostfix -p Enter password: Welcome to the MySQL monitor.  Commands …

More

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@rasyid.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. …

More

PHP OO tutorials

Best way to learn scripting / program is easy. Just write the code and see the result. With the progress of OOP approach in field recently for our team make its ‘hard’ to adapt such change in mindset : Procedural vs Object Oriented Programming With case codeiginter,  we must learn the basic of OOP in …

More

GNS3 0.4 released !

From gns3.net : The GNS3 0.4 release is available. It includes lot of new features and improvements, among them: A dynamic mode (no design/emulation modes) A new .net save/load. c1700 and WICS support. PIX emulation. Dynamips’s ATM bridge. Capture feature for links from the GUI. IDLE PC calculation from the GUI. GUI improvements (save the …

More

nl2br, new line to br

I just forget this function when my friend ask me about strangeness in his data he store in mysql. He has address data in <textarea></textarea>, new line not converted to br as he thing. He just see all the input just store in single line. After search for a while I remember this gold function …

More

portupgrade don’t work

ftp# csup -g -L2 ports-supfile ftp# cd /usr/ports/ ftp# make fetchindex ftp# portversion -v | grep ‘<‘ /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:119:in `fill': MOVED file format error (PortsDB::MOVEDError)         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `each’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:113:in `fill’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `open’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:112:in `fill’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:107:in `initialize’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `new’         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:182:in `setup’         from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:256:in …

More

PCBSD 1.5 is out, get faster in 64 bit

From PCBSD press release : iXsystems Announces Release of PC-BSD Version 1.5, Edison Edition Release features AMD 64-bit as well as 32-bit processor support   iXsystems announced today the release of PC-BSD Edison Edition. PC-BSD is a fully functional open source desktop operating system based on FreeBSD 6.3-STABLE. FreeBSD is one of the most used …

More

Upgrade Dovecot 1.0.10 to 1.0.13

Recent ports update give old ports that need to update. Dovecot After upgrade to 1.0.13 mail# pkg_info | grep dovecot dovecot-1.0.13      Secure and compact IMAP and POP3 servers I see confirmation from dovecot : Warning: mail_extra_groups setting was often used insecurely so it is now deprecated, use mail_access_groups or mail_privileged_group instead Maybe I’m wrong, try …

More

php explode() and wordwrap()

Whats the different of explode() and wordwrap() ? Answer : just see this example for explode() <?php $birthday=’1998-12-11′; //we need to split the component to date, month and year $day_parts=explode(‘-‘,$birthday); // we use – as tool to separate, now print $date_component=$day_parts[2]; $month_component=$day_parts[1]; $year_component=$day_parts[0]; ?> Wordwrap will ‘wrapping’ user input, like formatting crazy user who type …

More

FreeBSD 7 update with csup

FreeBSD 7 released in perfect time, as my backup server need to upgrade I’m eager to choose FreeBSD 7.0RC2, then update to FreeBSD 7 RC3 and now in progress to change for RELENG_7 tag using csup. Yes, I use csup not cvsup. Another plan with FreeBSD 7.0 is try ZFS filesystem. already se zfs.ko in …

More

Pfsense 1.2 and DragonFlyBSD 1.12

What a day, two great iso launch in same day DragonFlyBSD reach the 1.12 number and planned to release it’s 2.0 with Hammer filesystem. Pfsense getting mature and reach 1.2. Quick link for download : DragonFlyBSD : Here PfSense : Here Download time guys

Hammer Filesystem update, waiting for FreeBSD 7.0

Hammer filesystem updated, from Matt : HAMMER continues to progress well.  The blockmap is in good shape   and I am moving on to the next item on the list.  All major functions  work and appear to be stable.     Three items are needed for an ‘alpha’ release:     * garbage collection code.  This will be …

More