Network architecture


Thursday, January 3, 2013 

With FreeBSD 9.1 out, it is time get all my ports upgraded in advance of doing the OS update.  The process is fairly painless, but occasionally, especially if you are slacking in the updates, a change in configuration causes the usually completely automatic “portupgrade -ra” to fail.

One such update was “Upgrading 'openldap-sasl-server-2.4.31' to 'openldap-server-2.4.33_2” which failed with a

===>  openldap-server-2.4.33_2 conflicts with installed package(s):

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License OPENLDAP accepted by the user
===>  Found saved configuration for openldap-server-2.4.33

===>  openldap-server-2.4.33_2 conflicts with installed package(s):

      They will not build together.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/net/openldap24-server.

But because this is FreeBSD and the open source community actually provides support, unlike, say Microsoft, where such an error would languish for months, if not years, with out a patch or any advice on how to fix it, the port maintainer, Xin Li, answered my question in less than 20 minutes with the following advice:

cd /usr/ports/net/openldap24-server
make config

Check “SASL” is checked?

Following his directions, everything compiled perfectly.

Posted at 15:49:42 GMT-0700

Category: FreeBSD

Recursive, Incremental FTP

Thursday, April 14, 2011 

Looking for a way to transfer an entire website, including subdirectories, from one server to another directly, I found this summary of a great tool: NCFTP.

The client supports recursive “get” and “does the right thing.” It silently handles broken symbolic links, downloads all the files in the source directory including subdirectories, and even better, smartly does an incremental update on repeat saving a lot of time, bandwidth, and tedium.

Great utility that makes systems admin just a little bit easier. From now on, part of the default install.

Posted at 16:00:39 GMT-0700

Category: FreeBSDtechnology