Open Source

A list of jails

Here is a list of the jails on the two main hosts I use at home: knew I used to have a host called kraken. I created a server server, kraken-new, or knew. knew performs many tasks: runs Bacula regressions tests against various database versions hosts the backups for my Bacula server runs my home mail server on a daily basis, performs a restore of each database backup into a database to make […]

A list of jails Read More »

nagios – acknowledge a service problem – Send Notification default unchecked

When I acknowledge a service problem on Nagios, I do not want to send a notification that it has been acknowledge. This patch, against Nagios 3.5.1 changes the default from CHECKED to not checked. With credit to Marc Powell for his suggestion. After that initial success, I went one step further and supplied a default comment of ‘OK’. Acknowledging a service problem is now three clicks. The full patch is here.

nagios – acknowledge a service problem – Send Notification default unchecked Read More »

Getting RabbitMQ running: FreeBSD 9.2

I’m starting to play with RabbitMQ as part of a new project. The first goal: get it installed and running. I’m going to do this in a jail running FreeBSD 9.2, but this should be the same if you running a non-jail. I installed via: pkg install rabbitmq In /usr/local/etc/rabbitmq/rabbitmq-env.conf I have the following: NODENAME=bunny@sally NOTE: change sally to the hostname you are installing on. I an doing this in a jail. In

Getting RabbitMQ running: FreeBSD 9.2 Read More »

Did your system tell you about security updates?

With all of the activity surrounding the Heartbleed Bug, it was great to see so many people helping out to keep things secure. Of note was the actions of the FreeBSD team in getting out bug fixes. I have three recommendations for you: Follow a release branch (as opposed to stable). Run freebsd-update in cron Subscribe to the freebsd-security-notifications list I used to follow STABLE. Now I follow RELEASE. The ease-of upgrading via

Did your system tell you about security updates? Read More »

USB device not working on FreeBSD?

I just set up a new server and kept having a keyboard issue. When powering on, the keyboard worked. When rebooting, it did not. When I tried another USB port, I saw these errors: uhub_reattach_port: could not allocate new device Errors in /var/log/messages showed: usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device I found the fixed mentioned in a nas4free forum post. The solution:

USB device not working on FreeBSD? Read More »

Installing packages from a custom FreeBSD repository

One of the great things about FreeBSD is the poudriere tool. With it, you can create your own set of customized packages for installation on your server. Today, I will be installing packages in a FreeBSD 9.2 jail. Although I am installing in a jail, the same steps apply to any FreeBSD 9.2 host. In this post, I will cover how to deliver the packages produced by poudriere. I have already written about

Installing packages from a custom FreeBSD repository Read More »

Using poudriere to create a custom FreeBSD repository for package installation

I just showed you how I installed ezjail 3.3 on FreeBSD 9.2 and how it uses ZFS for each jail. Today I’m writing about using poudriere to create custom packages for use by pkng. In this post, I will be creating packages on a FreeBSD 9.2 server. Those packages are for running Bacula on FreeBSD 9.2. To accomplish this, we will need: A list of ports to install for running Bacula. In poudriere

Using poudriere to create a custom FreeBSD repository for package installation Read More »

Installing ezjail 3.3 on FreeBSD 9.2 using ZFS

Today I will be installing ezjail 3.3 on a FreeBSD 9.2 system. I will give an overview of the installation and go straight to the configuration of the first jail. As I type this, I’m looking back at my old notes from 2008. Installation I installed ezjail with this command: pkg install ezjail Configuration Enable ezjail by adding this command to /etc/rc.conf: ezjail_enable=”YES” This system is configured with ZFS and each jail will

Installing ezjail 3.3 on FreeBSD 9.2 using ZFS Read More »

Older versions of Bacula – copy/migrate has limit of 99 jobs

Last night I started to catch up on copying jobs from disk to tape. There were about 420 incremental jobs waiting. I started my CopyToTape-Inc job, and it queued up 417 jobs: The next morning, all jobs had completed, but there were still jobs left to be copied over (as determined by my magical Bacula portal). I ran the job again. Let them finish. Still more jobs left to job. I talked on

Older versions of Bacula – copy/migrate has limit of 99 jobs Read More »

Bacula btape test of Compaq Storage Works MSL5026 Library

This output is a Bacula btape test of the library mentioned in this post. $ sudo btape -c /usr/local/etc/bacula/bacula-sd.conf /dev/nsa0 Tape block granularity is 1024 bytes. btape: butil.c:290 Using device: “/dev/nsa0” for writing. btape: btape.c:477 open device “DTL03” (/dev/nsa0): OK *test === Write, rewind, and re-read test === I’m going to write 10000 records and an EOF then write 10000 records and an EOF, then rewind, and re-read the data to verify that

Bacula btape test of Compaq Storage Works MSL5026 Library Read More »

Scroll to Top