Unable to Login to APM if Database is down