SEVERE ERROR: Unable to open store file 'datastore/async-msgs.db', error 'File not found'.

SEVERE ERROR: Unable to open store file 'datastore/async-msgs.db', error 'File not found'.

book

Article ID: KB0073388

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service 8.5 and Higher

Description

When you install EMS and use configuration files from tibco_home/ems/8.x/samples/config folder. In tibemsd.conf "store=datastore" is set, and if data store directory is missing then, either EMS server will not start or the following entries can be seen in log : 

SEVERE ERROR: Unable to open store file 'datastore/async-msgs.db', error 'File not found'.
SEVERE ERROR: Unable to open store file 'datastore/meta.db', error 'File not found'.
SEVERE ERROR: Unable to open store file 'datastore/sync-msgs.db', error 'File not found'.
FATAL: Exception in startup, exiting.

Issue/Introduction

SEVERE ERROR: Unable to open store file 'datastore/async-msgs.db', error 'File not found'.

Environment

ALL

Resolution

This is due to the 'datastore' folder does not exist in the "current directory" (the location you run tibemsd.)

You could address this issue by create a directory, e.g.  /my_test/datastore.
Specify "store=/my_test/datastore" in tibemsd.conf.

OR create datastore folder in the current directory.