FreeBSD

poudriere: options, it’s all about options

Last night, and again this morning, I thought my inbox was rather light. When I checked Nagios, I found out why. I saw two mail servers: nyi-vpn check_postfix_queue CRITICAL 06-10-2014 12:12:38 0d 12h 51m 40s 4/4 96 mail(s) in queue supernews-vpn check_postfix_queue CRITICAL 06-10-2014 12:11:10 0d 10h 48m 8s 4/4 124 mail(s) in queue It seems we have a problem. Checking the mail logs for one of those servers, I see the reason: […]

poudriere: options, it’s all about options Read More »

named: error sending response: host unreachable

Every day for weeks I’ve been seeing these entries in my logs: I could ignore them, but that’s not in my nature. I want to know why this is occurring and fix it. Attempting to find the source, I started a tcpdump on the host: That wasn’t much help. I think I should have logged it to a file. After seeing the log messages again today, and while a little bit of unexpected

named: error sending response: host unreachable Read More »

Nagios plugin for pkg audit (replacing portaudit) on FreeBSD

I’m using FreeBSD 9.2 and Nagios 3.5.1. A few weeks ago I wrote about freebsd-update reminding you to upgrade your affected systems. Since then, freebsd-update has continued to send me false positives about upgrading. Suggestions have been made that I track down Colin Percival at BSDCan 2014, which starts in few days. However, I know at least four people have already arrived, two days before any official event, the first of which is

Nagios plugin for pkg audit (replacing portaudit) on FreeBSD Read More »

zfs receive stalled, filesystem 95% full

It seems that when I decided to send a filesystem from one server to another, I neglected to establish sufficient space existed. This morning, before I headed to BSDCan, I found that my server was very sluggish and slow to respond. Nagios was flagging all kinds of errors, some of which I’d never seen before. Looking at the system in question, I found the system 95% full: $ zpool list NAME SIZE ALLOC

zfs receive stalled, filesystem 95% full Read More »

zfs send on FreeBSD over ssh using mbuffer

I have two ZFS servers which have several TB of space. One of the great ZFS features is the ability to send one filesystem to another filesystem, on the current or another server. I will do this over ssh. One of my servers has a lot of spare space, so I figure I will duplicate my backups there. The source This server contains a Bacula Storage Daemon with access to about 27TB, with

zfs send on FreeBSD over ssh using mbuffer Read More »

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 »

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 »

Scroll to Top