https://github.com/osquery/osquery logo
#windows
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 143921.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 143921.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 143921.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 143921.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 143921.664213 15420 init.cpp:627] [Ref #1629] osqueryd initialize failed: Could not initialize database
p

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.
9 Views