Upgrade Clamav for older FreeBSD box : This version of the ClamAV engine is outdated

One of my FreeBSD box that use version 6.3 stop working. Futher investigation lead me to old clamav version that forced to upgrade by clamav.net .

This version of the ClamAV engine is outdated

I think about upgrade the box to newer version like 7.3 or 8.0 release but final choice I pick is :

Let it as is 🙂

Just focus on clamav because everything running well and I don’t want to risk anything that might happen ( ports conflict, new config etc)

My method :

1. Update ports to latest version.

2. Check clamav version

# portversion -v | grep clamav

clamav-0.94.2               <  needs updating (port has 0.96_1)

3. Downgrade ports file for clamav using portdowngrade ( I choose version 0.95.3)

4. Reinstall Clamav.

# portversion -v | grep clamav

clamav-0.95.3               <  needs updating (port has 0.96_1)

5. Restart clamav

# /usr/local/etc/rc.d/clamav-clamd restart

# /usr/local/etc/rc.d/clamav-freshclam restart

Email server back to business.

P.S : in case you want to skip portdowngrade section you can use my clamav ports.


in Blog | 160 Words

Fatal error: Call to undefined function gregoriantojd()

That error message show up when I try to install wordpress plugin. I think it must be plugin author false since I already have php date extension enabled but I’m wrong 🙂

Further search lead me to ‘calendar’ extension. Look no further to php5-calendar in my FreeBSD 7.3 box I install it.

cd /usr/ports/misc/php5-calendar && make install

stop php cgi prosess

/usr/local/etc/rc.d/php.cgi.sh stop

start php cgi process

/usr/local/etc/rc.d/php.cgi.sh start

check extension with phpinfo() function :

Great its on the list now. Refresh plugin install at wordpress and I’m back to business 🙂

FreeBSD 7.3 released

FreeBSD 7.3 ready to serve.

From FreeBSD press release :

Some of the highlights:

  • ZFS updated to version 13
  • new boot loader gptzfsboot supports GPT and ZFS
  • hwpmc(4) enhancements including support for Core2/i7 processor and pmcannotate(8)
  • new mfiutil and mptutil tools for widely used RAID controllers
  • NULL pointer vulnerability mitigation
  • bind updated to 9.4-ESV
  • Gnome updated to 2.28.2
  • KDE updated to 4.3.5
  • Perl updated to 5.10

For a complete list of new features and known problems, please see the online release notes and errata list available at:

Download link : i386

for other architecture you may visit full 7.3 iso

in Unix | 109 Words

Setting PATH for MYSQL bin


Yes, that thing come to my mind when I playing around with MYSQL.

Before setting PATH :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd c:\wamp\bin\mysql\mysql5.1.36\bin

C:\wamp\bin\mysql\mysql5.1.36\bin>mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.36-community-log MySQL Community Server (GPL)

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

mysql> exit

Continue reading

in Work | 218 Words

Preparing ubuntu usb install for nettop installation

Due to budget limitation and energy saving campaign in my office we try to explore more machine for our sms gateway. The criteria for this low traffic machine is clear :

Lowest energy with high storage facility and price within the range $100 – $250


Search in the net give me a few result around mini pc aka netttop
like :

  1. Asus EeeBox EBXB202-BLK-X0081
  2. Acer AspireRevo AR1600-U910H
  3. QutePC-1000

Operating System

I have experience with ubuntu as operating system and more than one device for gammu.

Little problem came when I realize that install method available for this nettop stuff is via usb.

Searching with google for ubuntu usb install, live usb linux, bootable usb, bootable usb linux and install linux from usb give me hint for visit Lili USB Creator. Fortunately this tool run in Windows 🙂

Continue reading

in Work | 284 Words