Hi there!
I just manage to install and set up Moloch on my VM.
I'm trying to start it and generate some traffic on the interface Moloch listens on. But since some time I got this Error in the log file.
Aug 28 09:10:22 nids.c:382 moloch_nids_output_cb(): Opening /opt/moloch/pcap/localhost-140828-00000011.pcap
Aug 28 09:10:22 nids.c:390 moloch_nids_output_cb(): ERROR - pcap open failed - Couldn't open file: '/opt/moloch/pcap/localhost-140828-00000011.pcap' with Permission denied (13)
The file actually never showed up in this folder.
Why it tries to find it there?
There is another row in the log file
Aug 28 09:04:36 db.c:1269 moloch_db_create_file(): Creating file 11 with key >/files/file/localhost-11?refresh=true< using >{"num":11, "name":"/opt/moloch/pcap/localhost-140828-00000011.pcap", "first":1409241871, "node":"localhost", "locked":0}<
Looks like here it tries to create a file, but failed?
-Andrey