Create /var/db/app_name directory.
Give correct permissions to /var/db/app_name