Open Source

Another zroot install

I just converted another server from UFS to ZFS. I used this script as my starting point. I dropped to a shell as soon as I booted from the live CD. Then I fetch my script: fetch –no-verify-peer http://bit.ly/1MvhRXH mv 1MvhRXH install.sh I didn’t run the script. I modified it to suite my new conditions. The install files were not available. I put and exit around line 84. Then I ran my script:

Another zroot install Read More »

zfs send | zfs receive as non-root

In this post, I am using FreeBSD 9.3 but what I do here should have wide application, especially the errors I encounter. I believe in backups. Not just rsync, but multiple copies and in multiple places. RAID is not a backup. rsync is not a backup. The goal of this post is to send a copy of a ZFS filesystem to a remote server. The server in question is already backed up in

zfs send | zfs receive as non-root Read More »

Cannot find any appendable volumes – Bacula

A problem arose today which I have never seen before. I do not know what caused it and I do not know precisely how I fixed it. I am using Baclua 7.0.5 on FreeBSD 9.3 I found this email today: This is Bacula asking for more ‘tape’. I say tape, because that is an easy analogy to follow. In effect, the tape library has no tapes to which Bacula can place this backup.

Cannot find any appendable volumes – Bacula Read More »

Bacula helps me solve a mergemaster problem which broke Bacula

Earlier today, I saw a bunch of emails like this: for <root@localhos>; Wed, 21 Jan 2015 20:32:36 +0000 (UTC) From: root@localhost.example.org (Bacula) Subject: Bacula: Copy Fatal Error of crey-fd Full Sender: bacula@bacula.example.org To: root@localhost.example.org Date: Wed, 21 Jan 2015 20:32:36 +0000 (UTC) Message-Id: <20150121203236.E993D2B28@bacula.example.org> X-Gm-Original-To: dan@example.org 21-Jan 20:32 bacula-dir JobId 197313: Warning: FileSet MD5 digest not found. 21-Jan 20:32 bacula-dir JobId 197313: The following 1 JobId was chosen to be copied: 197238 21-Jan

Bacula helps me solve a mergemaster problem which broke Bacula Read More »

Failure with freebsd-update; how not to upgrade your systems

freebsd-update is a great tool. It reduces my workload. It’s hard to use it wrong, but I have managed to do so. So have other people. Yesterday, three of us encountered the same issue. We did it wrong. We didn’t do it wrong yesterday. We did it wrong months ago, and now it’s come back to haunt us. NOTE if you ever see: Undefined symbol “ssh_explicit_bzero” on a FreeBSD server, you probably have

Failure with freebsd-update; how not to upgrade your systems Read More »

nullfs mounts in a jail

Just a note for myself. I had this kind of thing in /etc/fstab so I could share one installation of plugins and themes for WordPress. /usr/local/wordress/plugins /usr/jails/freebsddiary.org/usr/local/www/wordpress/plugins nullfs ro,nosuid,noexec,late 0 0 /usr/local/wordress/themes /usr/jails/freebsddiary.org/usr/local/www/wordpress/themes nullfs ro,nosuid,noexec,late 0 0 /usr/local/wordress/plugins /usr/jails/news.freshports.org/usr/local/www/wordpress/plugins nullfs ro,nosuid,noexec,late 0 0 /usr/local/wordress/themes /usr/jails/news.freshports.org/usr/local/www/wordpress/themes nullfs ro,nosuid,noexec,late 0 0 Then I moved them to their respective ezjail /etc/fstab.new_freshports_org files. They didn’t mount. Solution: remove ,late

nullfs mounts in a jail Read More »

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 »

Scroll to Top