July 9, 2013

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 was shmget(key=5432001, size=12099584, 03600). In my jails, I was seeing: $ sysctl security.jail.sysvipc_allowed security.jail.sysvipc_allowed: 0 Looking at my […]

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 CHECK_NRPE: Socket timeout after 1 seconds. Other jails worked just fine: $ /usr/local/libexec/nagios/check_nrpe2 -H building.unixathome.org -c check_pgsql -t

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

Scroll to Top