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 🙂

Install VirtualBox on Ubuntu Intrepid lbex

I have install vmware server at other hardy heron box, due to limited access I want to install virtual box for my recently download solaris 10.

After upgrade to ubuntu 8.10 I have chance to try newest virtualbox in my desktop.

1. Modify sources.list

nano /etc/apt/sources.list

2. Add this line

deb http://download.virtualbox.org/virtualbox/debian intrepid non-free

3. Get public key before doing update

wget  http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc
apt-key add sun_vbox.asc

4. Update source

apt-get update

5. Install from shell.

apt-get install virtualbox-2.0

Finish, I’m ready to test solaris 10 in my ubuntu intrepid 🙂

in Blog | 101 Words

Problem in wp-config.php – $base is set to BASE when it should be the path like “/” or “/blogs/”! Please fix it!

Yes, the message came up when I set up wordpress multi user in my vds :

Problem in wp-config.php – $base is set to BASE when it should be the path like “/” or “/blogs/”! Please fix it!

till I realize that error caused by my common practice in installing wordpress :

rename wp-config-sample.php into wp-config.php

this is BAD.

Solution for this case :

delete all files dan re-upload

don’t touch any file, just point your browser to index.php file dan you’re in the right track bro 🙂

in Blog | 88 Words

How to transfer haloscan comment into wordpress self hosting

My wife like blogspot a lot until slowly she found more feature offered by wordpress, one of them is ‘future posting’ . After think alot she decide to move from blogspot to wordpress self hosting.

The problem came when I must deal with haloscan, luckly I found 2 resources that help me to import haloscan comment into wordpress table.

In general the process are :

1. Signup for free blog at wordpress.com

2. Use import feature from blogspot to wordpress.com

Click Authorize

Follow all the rest steps.

Continue reading