Title
#windows
n

nick

05/29/2019, 9:33 AM
I am getting below error after running osquery on windows, can anyone help me plz?? I0529 14:39:21.008002 15420 rocksdb.cpp:151] Rocksdb open failed (5:0) IO error: Failed to create lock file: \ProgramData\osquery\osquery.db/LOCK: The process cannot access the file because it is being used by another process. I0529 14:39:21.226740 15420 rocksdb.cpp:151] Rocksdb open failed (5:0) IO error: Failed to create lock file: \ProgramData\osquery\osquery.db/LOCK: The process cannot access the file because it is being used by another process. I0529 14:39:21.445477 15420 rocksdb.cpp:151] Rocksdb open failed (5:0) IO error: Failed to create lock file: \ProgramData\osquery\osquery.db/LOCK: The process cannot access the file because it is being used by another process. I0529 14:39:21.664213 15420 rocksdb.cpp:151] Rocksdb open failed (5:0) IO error: Failed to create lock file: \ProgramData\osquery\osquery.db/LOCK: The process cannot access the file because it is being used by another process. E0529 14:39:21.664213 15420 init.cpp:627] [Ref #1629] osqueryd initialize failed: Could not initialize database
packetzero

packetzero

05/29/2019, 2:12 PM
This can happen if :- osqueryd is already running. Then you try to run osqueryi or osqueryd. Only one DB handle can be open. - running as a user that does not have permissions to open DB. Run as Administrator.