Closed BEncounter closed 4 years ago
Hi,
Probably some issues with files or folders permissions. Try to execute this command and post back the result :
ls -la /var/nfdump/profiles_data/live/source1/2019/07/31/
Hi, sorry for revive this issue but i have the same problem and don't find any sollution.
I'm pretty sure that i have the right permissions in my nfcapd files. Any idea?
Kind reggards.
Hi @fernandezteran ,
Which operating system?
Please share the output of the command you are running and the subsequent error message(s).
Any useful syslog messages related to this matter could also help.
Kind regards
Looks like problem with selinux. You need to import following type enforcement file:
module nfsen 1.0;
require {
type init_t;
type httpd_t;
}
#============= httpd_t ==============
allow httpd_t var_t:file { getattr read };
allow httpd_t var_t:file open;
#============= init_t ==============
allow init_t httpd_sys_content_t:file { open read unlink };
allow init_t httpd_sys_content_t:file ioctl;
Got 503 - Service unavailable. NfDump: Internal error. stat() error '/var/nfdump/profiles_data/live/source1/2019/07/31/nfcapd.201907310405': Permission denied