Database setup or configuration error: Please verify your database settings and check the logs/error.log file for detailed error messages

I guess by “start the service” you mean Openfire launcher with the yellow bulb icon? This is not a service. Well, in Windows service is a thing that runs automatically (you can see them in services.msc panel). Read this: Explanation: Database lock acquisition failure error