Adding Rails application to /usr/local/etc/rc.d/

I was adding recently Rails application to FreeBSD startup scripts, to have it running after power-on. I have chosen /usr/local/etc/rc.d/ as place to add such script. I’ve copied some existing script (I believe it was from Apache) and customized all required variables. But after reboot Rails application was not running. Starting script as a root …

FreeBSD port monitoring revised

Some time ago I wrote simple script to monitor installed ports on FreeBSD machine (original post https://nhw.pl/wp/2006/06/13/monitoring-freebsds-ports/). It works quite well and shows me what is happening on some machines which are manage not only by me. And leaves some trace after handy portupgrade -a command ;-)) But when many ports are upgraded at once …

Monitoring FreeBSDs ports

I do manage several FreeBSD boxes, and often there are more than sysadmins than I. So I was looking for nice tool to monitor what ports are exactly installed and what have changed (application versions). I did not do extensive lookups, but I didn’t find anything suitable. So I wrote simple shell script to do …

How to recover after Perl upgrade on FreeBSD

I wrote some time ago (nhw.pl/blg/archives/2006/03/30/T10_33_03 about troubles with Perl applications installed via FreeBSD ports after Perl was upgraded itself. So I run on similar problem again (this time reinstall was enough). But here You have detailed procedure how to get rid off /libexec/ld-elf.so.1: Shared object “libperl.so” not found, required by “perl” message. If not …