LinuxSuse, count me in …

With recent version of linux suse 11 I got surprised to see big enhancement after my friend show me two books about OpenSuse. 1. openSUSE Linux Unleashed Review from amazon : [amazonify]067232945X:right[/amazonify]openSUSE Linux Unleashed presents comprehensive coverage of the community version of SUSE Linux, one of the most popular and most complete Linux distributions in …

More

Downgrade FreeBSD ports

I used to use FreeBSD ports in all related server job. I don’t remember what ports that might behave strangely in my  mail server until I remember last portupgrade job. I upgrade dovecot to latest version. I think if I downgrade dovecot ports I’ll get my stable mail server back Here’s my steps to downgrade …

More

Reset Cacti Password, step by step

My other staff  ask me password for username admin. Yes, its administrator level in cacti. After hardy trying to remember I gave up, I decide to reset it to other value but how? I try to find out using database approach : Here’s my steps : 1. Checking for cacti location and see db setting. …

More

Problem with file(1) and maia mailguard solved

I just install new FreeBSD server using 7.0 release. In this stage I found file(1) problem not detected by maia mailguard properly. mail# /var/amavisd/maia/scripts/configtest.pl Application/Module      Version   Status ======================================================================== Perl                 :    5.8.8 : OK file(1)              :      N/A : NOT INSTALLED (required by Maia Mailguard) Archive::Tar         :     1.38 : OK Archive::Zip         :     1.23 : OK Trying to …

More

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