Check for dbopen error.