Posts filed under 'FreeBSD'

portmanager crashes if /usr/local/share/portmanager/configure.db doesn’t exist

Symptom: portmanager crashes if /usr/local/share/portmanager/configure.db doesn’t exist


There is a very easy fix for this


portmanager -s

This will cause portmanager to create an initial index of the machine.

Add comment May 9th, 2011

PHP timezone settings

I just did a fresh install of AMP and the first php app I installed gave me the following error.

Warning: date() []: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘UTC’ for ‘UTC/0.0/no DST’


It turned out to be a quick fix.

First go to this page and find the syntax for your timezone.

Once you have this edit your php.ini file and add the following to it

(If you are using a distro ini search for date to find the example)

date.timezone = “America/New_York”
Exchange the proper timezone for your region




Add comment May 7th, 2011

FreeBSD Apache HTTP Accept Filter Error

When Apache web server is starting up in FreeBSD system, Apache loads succcessfully and web server
functioning properly, but the following warning error occurs:
[warn] (2)No such file ordirectory:
Failed to enable the ‘httpready’ Accept Filter

The resolution to the above problem is to a
accf_http module, which function is to buffer
incoming connections until a certain complete
HTTP requests arrive, into FreeBSD kernel by
using kernel linker:

kldload accf_http

To permanently load enable HTTP Accept Filter FreeBSD kernel module (accf_http), add the following line into /boot/loader.conf:






3 comments April 6th, 2011


August 2018
« May    

Posts by Month

Posts by Category