Open Source

Compiling bacula client gives link errors

I was trying to recompile sysutils/bacula-client on a FreeBSD 8.4 jail when I encountered some perplexing link errors. It took me a while to figure it out, but with the help of some IRC conversation, we figured it out. I started off by deleting the old (quite old) port: bacula-client-5.0.3 Then I recompiled: cd /usr/ports/sysutils/bacula-client

Compiling bacula client gives link errors Read More »

FATAL: could not create shared memory segment: Function not implemented

I recently upgraded a jail server from FreeBSD 8.2 to FreeBSD 8.4. This stopped various jails from starting their own instances of PostgreSQL. The messages in the logs were: Jul 9 14:48:48 building postgres[40785]: [2-1] FATAL: could not create shared memory segment: Function not implemented Jul 9 14:48:48 building postgres[40785]: [2-2] DETAIL: Failed system call

FATAL: could not create shared memory segment: Function not implemented Read More »

nrpe: Could not read request from client, bailing out…

I recently upgraded a jail server from FreeBSD 8.2 to 8.4, and part of that process involved recompiling all of the applications. Along the way, nrpe on one jail stopped working. Nagios was reporting: CHECK_NRPE: Socket timeout after 10 seconds. Trying from the command line gave: $ /usr/local/libexec/nagios/check_nrpe2 -H -H dbclone.example.org -c check_pgsql -t 1

nrpe: Could not read request from client, bailing out… Read More »

discard frame w/o leading ethernet header

The other day, I disconnected the ethernet cable from my gateway to reroute the cable. Then, perhaps coincidentally, I started seeing these entries: Jul 2 15:19:57 bast kernel: fxp0: discard frame w/o leading ethernet header (len 4294967294 pkt len 4294967294) Jul 2 15:28:01 bast kernel: fxp0: discard frame w/o leading ethernet header (len 4294967294 pkt

discard frame w/o leading ethernet header Read More »

viewvc errors after upgrading subversion

After upgrading subversion on my svn server, I started seeing this errors from viewvc: An Exception Has Occurred Python Traceback Traceback (most recent call last): File “/usr/local/viewvc/lib/viewvc.py”, line 4827, in main request.run_viewvc() File “/usr/local/viewvc/lib/viewvc.py”, line 251, in run_viewvc self.rootpath = vclib.svn.canonicalize_rootpath(rootpath) File “/usr/local/viewvc/lib/vclib/svn/__init__.py”, line 39, in canonicalize_rootpath rootpath = _canonicalize_path(rootpath) File “/usr/local/viewvc/lib/vclib/svn/__init__.py”, line 23, in

viewvc errors after upgrading subversion Read More »

pg_restore: [custom archiver] could not read from input file: end of file

I’ve been a fan of PostgreSQL since 2000 when I switched to it from MySQL. I wanted stored procedures and functions. I got that with PostgreSQL. I was used to having such features from my years working with other big databases such as DB2, Oracle, and Sybase. I’ve been moving towards using the custom format

pg_restore: [custom archiver] could not read from input file: end of file Read More »

Authentication tried for dan with correct key but not from a permitted host

I kept seeing these messages: Jun 12 04:09:18 nyi sshd[94523]: Authentication tried for dan with correct key but not from a permitted host (host=dbclone.example.org, ip=10.6.0.9). Jun 12 04:09:18 nyi sshd[94523]: Authentication tried for dan with correct key but not from a permitted host (host=dbclone.example.org, ip=10.6.0.9). I’ve been seeing them for a long time. How long?

Authentication tried for dan with correct key but not from a permitted host Read More »

sshd: error: key_read: uudecode failed

I started seeing this error: Jun 10 19:12:38 nyi sshd[92208]: error: key_read: uudecode AAAAB3NzaC1yc2EAAAABJQAAAIBdX/USEtxnO91Vpujney8gwkq2sRrcU9R6nKAoGv1eNMWrMD9a93kZMjR4fFMAH87g+zyHBftxCsyE0wJX2A0UFgIQsiuOOINkTJMyk\n failed I couldn’t figure it out. Then I searched ~/.ssh/authorized_keys for that string. I found it in there. But the line was incomplete. It looked like I’d deleted the last part of the line. It should end with something like this:

sshd: error: key_read: uudecode failed Read More »

Scroll to Top