CMK version: 2.0.0p17.cre
OS version: Ubuntu 20.04
Error message: [Errno 9] Bad file descriptor)
This error occurs when I try to omd start
my site. I’ve narrowed it down to a problem during the start of redis
:
# omd start mysite redis
Temporary filesystem already mounted
Starting redis...ERROR: Failed to launch building of search index
[Errno 9] Bad file descriptor
OK
Whatever this problem is seems to be causing my entire checkmk to malfunction, so the “OK” at the end of the output (and the 0 return code from OMD) seems, er, misleading to say the least. I do get a Redis server process after running this, so it is starting Redis itself, but something else evidently is not starting (again, rather misleading OMD output).
I’m trying to figure out what in the “start redis” process could be causing the issue. I’d like to see a detailed list of things OMD is up to here, but can’t get any verbose or debug output (the expected -v
or -debug
command line switches don’t work).
I have of course googled the error message, which it seems has happened in a number of places before. However, none seem to relate to this, so I’m no nearer a solution.
Any ideas would be much appreciated!