sudo: unable to initialize PAM: Exec format error
I tried upgrade some packages tonight, but I found
sudo: unable to initialize PAM: Exec format error Read More »
I tried upgrade some packages tonight, but I found
sudo: unable to initialize PAM: Exec format error Read More »
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 »
Here is the output for zfs-stats on slocum. This represents a 24 hour period. This server acts as my database server (MySQL and PostgreSQL), and runs bacula-dir, but does not store any backups locally. It also houses the dev copy of FreshPorts.
zfs-stats for slocum Read More »
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 »
Here is the output for zfs-stats on knew. This represents a 24 hour period. This server receives backups (via bacula-sd) and runs regression testing in various jails for the Bacula project. As a little side venture, it also loads up each of my backed-up databases.
zfs-stats for knew Read More »
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 »
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 »
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 »
This blog is powered by WordPress. When I first start blogging, few had heard the term blog. I hadn’t. I recall being asked, why don’t you use blogging software for The FreeBSD Diary. The answer was simple: it didn’t exist when I started. I am making headway on converting the diary to WordPress, and that might happen before the end of the year. Today, this blog got its very own FreeBSD jail. There
InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes Read More »
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 net-mgmt/net-snmp This is the minimal configuration file, which should be placed at /usr/local/etc/snmp/snmpd.conf: rocommunity public When starting snmpd
Getting snmpwalk to talk to snmpd on FreeBSD Read More »