FreeBSD

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

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:

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

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

Getting snmpwalk to talk to snmpd on FreeBSD

NOTE: If you are looking to configure net-mgmt/net-snmp for the first time, the latest article is Configuration of net-mgmt/net-snmp on FreeBSD. Contrary to all the examples I found, it’s not easy to get snmpwalk to communicate with snmpd. I am using the net-mgmt/net-snmp port with the default configuration options. It was installed with: pkg install

Getting snmpwalk to talk to snmpd on FreeBSD Read More »

rndc: neither /usr/local/etc/rndc.conf nor /usr/local/etc/rndc.key was found

In this post, I’m using bind98-9.8.8 from ports on FreeBSD 9.3, in case that helps you. Today, I was adjusting the pgcon.org domain as part of the move from the old server to the new server. This move would also see the website updated to PGCon 2015 and the use of Ansible for configuring that

rndc: neither /usr/local/etc/rndc.conf nor /usr/local/etc/rndc.key was found Read More »

gelt

For future reference. This server formed the backbone of just about everything I did. It hosted about 13 domains. Sadly, it was i386 and would not do for ZFS. Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All

gelt Read More »

When ssh and ansible play poorly together

Last night, this worked fine. This morning, it fails: # ansible-playbook jail-mailjail.yml PLAY [mailjails] ************************************************************** GATHERING FACTS *************************************************************** failed: [mailjail.example.org] => {“failed”: true, “parsed”: false} invalid output was: Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts TASK: [pkg | install pkg] ***************************************************** FATAL: no hosts matched or all hosts

When ssh and ansible play poorly together Read More »

Scroll to Top