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() [function.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

How to use centos as a remote syslog server

How to enable remote syslog on centos and store data coming in from
one or more devices on your centos machine.

Changes on the centos machine you want to receive syslog data:
(Turn on remote syslog service)




Set up permissions for each device you want to accept data from


local7.* /var/log/switch1.log
local7.* /var/log/switch2.log

# The plus in front of the IP indicates its a remote device.

# You can have as many devices you want log to the same file. The
entries are prefixed by thier IP or Hostname

# You can use host names if you want, they just need to be able to resolve.

# One last note, I think centos needs tabs in syslog.conf to separate columns not spaces.

Add comment April 18th, 2011

gmail / google as a major source of spam

I happen to manage a mail server with roughly 6000 accounts on it and my personal email address has been live now for roughly 13 years.  I post to technical forums on the net so my address has been harvested a lot throughout the years.

We use a mailfoundry appliance and the spamcop RBL to help combat spam. 
Both of these allow spam submissions to help stop new outbreaks.

More and more I am reporting spam to google for gmail accounts.  At least
10+ a day.  This is stuff that is making it past mailfoundry + spamcop and 2 more RBLS.

I expect google to be better than this at this point.  They have the resources and technology.

Data might be data, but spam is annoying!

Add comment April 17th, 2011

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 61738644-F196-11D0-9953-00C04FD919C1

follow these steps:

1. Start ->Run-> regedit

2. Copy the GUID following the CLSID above

3. In the registry editor, ensure that your cursor is on the computer at the beginning of the tree

4. From the menu, Edit->Find, paste in the GUID. It’ll stop at the application entry – and you will want to note the application name on the right side pane. In this example, it was the IIS WAMREG admin service that popped up.

5. Start–>Administrative Tools–>Component Services

6. Expand Component Services, Computers, My Computer, DCOM Config. Scroll down and find the application (IIS WAMREG in this case)

7. Right-click on IIS WAMREG Server, select Properties and select the Security tab

8. Launch and Activation Permissions, ensure that the Customize radio button is selected, and click Edit

9. Add your service account, giving it launch and activate and in some requirements – remote launch / activate permission

10. Restart IIS and continue on

Add comment April 12th, 2011

Reset polycom 650 back to default

1- Write down the MAC address of the phone you want to reset. You can find it on the back of the phone. If the label on the back of the phone with the MAC id is removed, you can find it by pressing Menu, Status, Network, Ethernet.

2- Power down the phone.

3- Power up the phone.

4- You have about 15 seconds to complete this step:

a. For SoundPoint IP 320, 321, 330. 331, 335, 430, and 450 press and hold the 1, 3, 5, and 7 on the dial pad at the same time.

b. For SoundPoint IP 301, 501, 550, 600, 601, and 650 press and hold the 4, 6, 8, * on the dial pad at the same time.

5- After holding down the numbers for few second, you will be promoted to enter the admin password, enter the MAC id of the phone. No colons and the alpha characters must be entered as lower case letters.

6- The phone will reset itself and it will reboot again and the auto configuration process will ensue.

Add comment April 11th, 2011

Question: How do I remove the battery from my Blackberry Storm 9530

Rear Cover of the Blackberry Storm Cell Phone – Cover Releases Circled in Red . Before anything else, turn off the blackberry so it is powered down completely. The cover for the battery of the Blackberry Storm is on the back, and is opened by pushing in on two small releases on either side of the rear cover. Press them down and lift up on the cover.

Rear Cover Being Removed from the Blackberry Storm Cell Phone
Open the cover carefully by pulling up and out. Set the cover aside in a safe spot.

Blackberry Storm Cell Phone Battery Being Removed
The battery is gray and rectangular, with a green stripe at the bottom. Remove it by putting your thumb and forefinger on either edge and pulling up and out.

Inserting the Battery into the Blackberry Storm Cell Phone
To replace the battery place it back in the same spot on the phone. Make sure the top is facing out, which should say “Blackberry” and “D-X1″ in the corner. The Positive and Negative signs should be aligned with the contacts in the battery compartment. Press down on the battery firmly to lock it in place.

Closing the Rear Cover of the Blackberry Storm Cell Phone


Add comment April 8th, 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