die if database directory cannot be created
added issue concerning the database and parallel processing