Open Source

Testing email delivery

The solution Here is the solution. You can stop reading now: ./check_email_delivery –smtp-server smtp.example.org –mailto dan@example.org \ –mailfrom dan@example.org \ –body ‘test, please ignore’ –imapssl \ –imap-server imap.example.org –username deltest –password secret That will test both delivery and receipt. There. Be gone. You don’t need the rest of this article. Thanks. Background As pointed out, this isn’t testing for an email loop. This is testing delivery. I took the term from the phrase […]

Testing email delivery Read More »

Bacula on FreeBSD with ZFS

Full disclosure: I’m biased. I like the combination of PostgreSQL, FreeBSD, ZFS, and Bacula. In fact, I like it so much, I wrote the PostgreSQL backend for Bacula. Since then, I have been using Bacula for over 10 years. I have backed up to HDD, DDS, DLT, and SDLT. Bacula has proven to be reliable and it just works. Clients are available for a wide range of operating systems and Bacula doesn’t care

Bacula on FreeBSD with ZFS Read More »

You don’t have permission to access /pipermail/bsdcan-announce/ on this server – mailman

I ran into this problem today and spent about 2 hours trying to figure out what went wrong. I composed an email to the Mailman mailing list and never sent it, because I solved the problem. Here is that email: Subject: Cannot view archives via website Hello, I think this is solved, but I’m posting anyway. I *think* the issue is one of permission: Apache, running as user www, cannot access the private

You don’t have permission to access /pipermail/bsdcan-announce/ on this server – mailman Read More »

pg_dump: aborting because of server version mismatch

Here’s something to be aware of. Update your PostgreSQL client on your Bacula client if it is used for backing up the Catalog. Ngaios just told me: FILE_AGE WARNING: /usr/backups/bacula/MyCatalog.dump is 45125 seconds old and 0 bytes I looked at the backup job from earlier today: 28-Dec 08:15 bacula-dir JobId 195194: shell command: run BeforeJob “/usr/local/bacula/make_catalog_backup.new MyCatalog” 28-Dec 08:15 bacula-dir JobId 195194: BeforeJob: pg_dump: server version: 9.4.0; pg_dump version: 9.3.5 28-Dec 08:15 bacula-dir

pg_dump: aborting because of server version mismatch Read More »

zpool upgrade calls for gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot

NOTE: when upgrading a zpool, it may be necessary to also upgrade the bootcode for that disk (or disks). Be aware of this before proceeding. I know I have missed this step more at least once. Earlier today I was adding a new pool to the system. After creating the pool, the status showed this: Let’s upgrade that pool now Upgrading the pool Upgrading the pool is easy: Oh… Now what? I wasn’t

zpool upgrade calls for gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot Read More »

Adding two new drives (SSD) to an existing ZFS system

I haven’t tested this yet, but I’ve installed the hardware. The real test will come after a reboot and actual use of the new drives. NOTE: Although this claims to be creating a new ZIL (SLOG) do not believe it. In fact, stop reading right here. There is nothing of use below. What will they be used for? These drives are intended for ZIL (the ZFS Intent Log). This can speed up writes.

Adding two new drives (SSD) to an existing ZFS system Read More »

Monitoring backups via Nagios and a shell script

Backups are useless without restores. I’ve written a few posts about Nagios, my current monitoring tool of choice. Included with Nagios are a number of plugins and you can even write your own plugins. In this post, I’ll show you a shell script I wrote to make sure my backup files turn up where they should, when they should. In my case, these files are database backups, but the idea behind the script

Monitoring backups via Nagios and a shell script Read More »

Scroll to Top