Problem compiling GeoIP PHP extension on FreeBSD

April 4th, 2008

Well, here is another app compatibility problem.

Recently I got task to build GeoIP PHP extension. Usually i use mod_geoip, but this time some strange app required PECL extension.

So, i got following error while configure process:

configure: error: wrong geoip lib version or lib not found

Read the rest of this entry »

Problems compiling Apache 2.2.6 on FreeBSD 6.2

October 6th, 2007

Trying to update one of Apache installations got following error:

[...]
/usr/local/src/httpd-2.2.6/srclib/apr-util/libaprutil-1.la -lexpat -liconv /usr/local/src/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread
/usr/bin/ld: cannot find -lexpat

Thats amazing because i never had any problems with pure apache custom builds. I have checked if system had expat installed and …
Read the rest of this entry »

mpt0: QUEUE FULL EVENT on DELL/SAS 5iR

September 6th, 2007

Just got first AMD based DELL to make some performance and power consumption tests. Test results is a subject for next article, here comes some notes about issues with SAS 5iR controller.

Read the rest of this entry »

MPPC compression for FreeBSD

August 1st, 2007

Alexander Motin has implemented replacement for proprietary MPPC library. Code based on Jan Dubiec Linux patches.
But due to patent restrictions this code can’t be included to system tree. You can try it on your own risk.

Original thread

ipfw: install_state: Too many dynamic rules

July 29th, 2007

Trying to keep server live under huge DDoS. After some time following message appeared:
ipfw: install_state: Too many dynamic rules

Problem solved after i change following sysctl value:

net.inet.ip.fw.dyn_max
Read the rest of this entry »

PAE and 8GB - page fault

July 13th, 2007

Here is some notes about PAE on FreeBSD and high amount (>4GB) of memory. I have use PAE few times, but only with 4GB of memory. This time i had 8 on production server, so reinstall to amd64 is not option, thats because i choose PAE.

I thought that is trivial task untill i get panic: page fault while booting to new PAE kernel. Here is screenshot:

Read the rest of this entry »