Some sanity check before starting the server