Author name: Dan Langille

I've been playing with computers since I read an Elementary Electronics magazine way back in the 1970s. I started contributing to open source projects in 1998. After that, I gradually moved from being a software developer to being a systems administrator.

When my IP address changes…

When my IP address at home changes, what do I need to do? I have servers out there on the Internet, which need to know the new IP address. I need to ssh to each of them and update: /etc/pf.conf – the IP address of my home gateway /etc/hosts /usr/local/etc/nrpe.conf restart stunnel It’s kind of annoying. I think much of it could be avoided with a VPN.

When my IP address changes… Read More »

US Postal System

The US postal system seems pretty good to me. I mailed some bike parts back to Chris King in Portland, from Philadelphia. I mailed the package at about 5pm on Tuesday night. The package was delivered about 1pm the next day. Cost: $5.45, including delivery confirmation. Nice. Very nice. Chris King had already sent me replacement parts. This was the return of the broken part. That part threads into the hub and is

US Postal System Read More »

SVN commits now available

The SVN commits are now available for viewing. At present, only the FreeBSD src tree is working through SVN. Therefore, the easiest way for you to see those commits is through the FreshSource interface. That link takes you to the SVN version. You will notice that the src commits are duplicated. This was not done intentionally. However, it is fortunate in it allows for easy fact checking. This error is possible only because

SVN commits now available Read More »

Database load times

With all the databases I run, I need a daily sanity check. I download a copy of each database and do a test load on my system at home. Today I timed that process: $ time ~/bin/backup-supernews.sh … real 77m57.323s user 12m52.610s sys 0m56.136s There are 11 such databases. The dump files range in size from 5K (globals.sql) to 2.8G (freshports.sql). The script that does this is pretty simple, but has evolved over

Database load times Read More »

openx upgrade issues

I’ve been running ads on my websites since early 1999, so nearly 10 years. It was roughly May 2002 that I started using phpPgAds. This was the PostgreSQL version of phpAdsNew. This project became OpenAds and is now known as OpenX. Recently I decided to upgrade to the latest version of OpenX. There was a upgrade path from Openads-PgSQL-2.0.11-pr1, the latest releast of OpenAds to use PostgreSQL, to OpenX 2.6. The first problem

openx upgrade issues Read More »

Short term plan

I have several items I would like to complete in the short term. Writing them down may help me commit to doing them. To Do Upgrade the NYI server to the latest version of PostgreSQL Prepare the BSDCan and PGCon websites for 2009 (partly done) Get MacPorts running on my MacBook Get spamd running on the new server Add a check to Nagios to check that system email arrives each day (e.g. ‘security

Short term plan Read More »

stunnel “local socket: Protocol not supported”

Tonight I encountered this problem when starting stunnel: 2008.10.17 02:46:02 LOG7[43534:134656000]: Private key loaded 2008.10.17 02:46:02 LOG7[43534:134656000]: SSL context initialized for service 6000 2008.10.17 02:46:02 LOG5[43534:134656000]: stunnel 4.25 on i386-portbld-freebsd6.3 with OpenSSL 0.9.7e-p1 25 Oct 2004 2008.10.17 02:46:02 LOG5[43534:134656000]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP 2008.10.17 02:46:02 LOG6[43534:134656000]: file ulimit = 11095 (can be changed with ‘ulimit -n’) 2008.10.17 02:46:02 LOG6[43534:134656000]: poll() used – no FD_SETSIZE limit for file descriptors 2008.10.17 02:46:02 LOG5[43534:134656000]: 5417 clients

stunnel “local socket: Protocol not supported” Read More »

Scroll to Top