Face It Yourselves: An LLM-Based Two-Stage Strategy to Localize Configuration Errors via Logs