handle failed db connection for cmd line client
better log msg
better DB probe
also make verion.* files