Open Source

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 »

Using the Compaq Storage Works MSL5026 Library

I am fortunate to receive donations. In the early days, it was a 386 desktop. Later, it was SCSI drives. Recently, it’s been tape libraries. A Bacula user in Europe donated an Overland DLT-8000 tape library in 2012 and paid for shipping to me. At BSDCan 2013, I was fortunate to pick up an Compaq StorageWorks MSL5026 SDLT tape library and it has sat unused. It’s dead Jim A few weeks back, the

Using the Compaq Storage Works MSL5026 Library Read More »

daily run output not parsing smartd output correctly

I’ve noticed that the smartd output has changed. It’s not parsing the results correctly. Security check: (output mailed separately) Checking for denied zone transfers (AXFR and IXFR): Scrubbing of zfs pools: skipping scrubbing of pool ‘system’: last scrubbing is 3 days ago, threshold is set to 7 days Backing up pkgng database: SMART status: Checking health of /dev/ada0: OK Checking health of /dev/ada1: OK Checking health of /dev/da0: === START OF INFORMATION SECTION

daily run output not parsing smartd output correctly Read More »

Scroll to Top