> However I found that other continous profiles are stopped.
> no more nfcapd.* files are collected but every 5 minutes an
> nfprofile.* file is created:

Strace shows, that nfprofile process dies:

7454  
open("/usr/local/nfsen/profiles/./MTA-SMTP/c6513/nfprofile.7454",O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE,
 0644) = 3
7454  write(3,"\f\245\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 276) 
= 276
7454  chdir("/usr/local/nfsen/profiles/./MTAK-HTTP/c6513") = 0
7454  
stat64("/usr/local/nfsen/profiles/./MTAK-HTTP/c6513-filter.txt",{st_mode=S_IFREG|0644,
 st_size=82, ...}) = 0
7454  
open("/usr/local/nfsen/profiles/./MTAK-HTTP/c6513-filter.txt",O_RDONLY|O_LARGEFILE)
 = 4
7454  read(4, "(dstnet 193.224.96.0/24 and dstp"..., 82) = 82
7454  close(4)                          = 0
7454  write(2, "line 1: syntax error at \'dstnet\'"..., 33) = 33
7454  write(1, "Process line \'.#MTA-SMTP#2#c6513"..., 527) = 527
7454  exit_group(254)                   = ?

Unfortunately stderr of nfprofile is simply discarded.
(This is why I could find the root of the problem so far.)

File /usr/local/nfsen/profiles/./MTAK-HTTP/c6513-filter.txt contains this:

(dstnet 193.224.96.0/24 and dstport 80) or (srcnet 193.224.96.0/24 and srcport 
80)

This filter was created under previuos version of nfsen and worked well
till the upgrade. Did the syntax of filters change?

Gabor

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to