Have you created the right osm.xml from osm-template.xml, you could check your osm.xml if the database name is correct.