Re: [Nfsen-discuss] not able to delete one profile
Netflow visualisation and investigation tool
Brought to you by:
phaag
|
From: Maurizio M. <mau...@da...> - 2006-07-24 14:35:02
|
Peter Haag wrote: > Hi Maurizio, > > > -------- Original Message -------- > From: Maurizio Molina <mau...@da...> > To: nfsen-discuss ML <nfs...@li...> > Subject: [Nfsen-discuss] not able to delete one profile > Date: Fri Jul 21 2006 19:40:13 GMT+0200 (CEST) > > >Hi, > >I would like to delete one profile but I continue to get this message. > >What can be the reason? > >Thanks, > >Maurizio > > > What version are you using? nfsen -V 1.2.4 > > >[flowtest@srv3 1.2.4]$ ./bin/nfsen -d from_RedIRIS > >ERR Profile 'from_RedIRIS' is not in status 'OK' and can not be > deleted now! > >[flowtest@srv3 1.2.4]$ > > >[flowtest@srv3 1.2.4]$ ./bin/nfsen -l from_RedIRIS > ># profile_for_from_AS_RedIRIS > >name from_RedIRIS > >tstart Fri Jul 21 18:00:00 2006 > >tend Fri Jul 21 18:25:00 2006 > >updated Fri Jul 21 18:25:00 2006 > >filter filter.txt > >expire 14 days 0 hours > >size 1.4 MB > >maxsize 400.0 MB > >sources > >ams_nl:pra_cz:mad_es:lon_uk:mos_ru:par_fr:dub_ie:ath_gr:cop_dk:nyc_us:mil_it:vie_at:fra_de:tal_ee:poz_pl:bud_hu:gen_ch:lis_pt:tik_il:rig_lv:kau_lt:lux_lu > >type continuous > >locked 0 > >status new > > > Status 'new' is an internal status while creating a profile, and > should never be visible outside. If this is the case you should see an > error message in the log file, telling, what's wrong. I couldn't spot any error relative to this profile in the logfile. > If the > setup was according install.pl, access rights and other settings > prevent this event to happen, unless you have a system related problem > ( too many processes etc. ) . So I assume your installation is > not plain standard. Anyway if nfsen fails to create a profile, the > broken profile gets deleted, cleaning up the AddProfile Process. I can > not explain this otherwise. the strange thing was that the profile was there, and I could even access the "details" view, but it didn't let me delete it, reporting the error I mentioned above (profile is new and cannot be deleted). > Anyway, if you can not recover from that, edit the profile.dat file > and set state to 'OK' and delete the profile as used to. before seeing this mail, I discovered the "force delete" option: nfsen -d from_RedIRIS -F and it worked. I didn't look at the profile.dat file before doing so, therefore I cannot tell you how it looked like Thanks, Maurizio > > Hope this helps > > - Peter > > |