- changed status to resolved
by mistake MIDAS_SERVER_HOST was set and mhttpd connected to the experiment through the mserver.
then it promptly crashed in the json encoder which calls db_lock_database() which complains about missing semaphore (cannot lock odb remotely!).
the result was very confusing.
to prevent the confusion, I should add a check in mhttpd and refuse to run if connected remotely. (maybe do same for mlogger?).
the correct fix is in the json encoder - I should not call db_lock_database() if connected remotely!
K.O.
fixed commit 3b8d33f. K.O.