Freebsd 7.3 has kernel panic due to wrong experiment. After reboot I cannot make nfsen working.
Was tryed to start it: # /usr/local/etc/rc.d/nfsen start Starting nfcapd: aaa1[91971] aaa2[91974] aaa3[91977]. Starting nfsendVerification sub hierarchy failed. Current layout is '1' but configured layout is '2' Rerun RebuildHierarchy.pl to fix. nfsend not started. . Okay, trying to make RebuildHierarchy.pl as it asks. # RebuildHierarchy.pl Current old layout is '1' Configured new layout is '2' Apply new layout to all NfSen profiles: => ./live This will reorganize all your data files. You may again rebuild your hierarchy any time later Do you want to continue yes/[no] yes Make sure NfSen is not runnig: shut down NfSen: Shutdown nfcapd: aaa1:[91971].. aaa2:[91974]. aaa3:[91977].. Shutdown nfsend:[no pid file found!] Process profile './live' aaa1: /nfsen-data/profiles-data/live/aaa1/2010/09/03/12/nfcapd.201009031205 old/new file name identical aaa2: /nfsen-data/profiles-data/live/aaa2/2010/09/03/12/nfcapd.201009031205 old/new file name identical aaa3: /nfsen-data/profiles-data/live/aaa3/2010/09/03/12/nfcapd.201009031205 old/new file name identical All profiles converted. Do you want to start NfSen right now? yes/[no] yes Starting nfcapd: aaa1Use of uninitialized value in right bitshift (>>) at /usr/local/libexec/nfsen/NfSenRC.pm line 77. Use of uninitialized value in bitwise and (&) at /usr/local/libexec/nfsen/NfSenRC.pm line 78. Use of uninitialized value in bitwise and (&) at /usr/local/libexec/nfsen/NfSenRC.pm line 79. [20568] aaa2Use of uninitialized value in right bitshift (>>) at /usr/local/libexec/nfsen/NfSenRC.pm line 77. Use of uninitialized value in bitwise and (&) at /usr/local/libexec/nfsen/NfSenRC.pm line 78. Use of uninitialized value in bitwise and (&) at /usr/local/libexec/nfsen/NfSenRC.pm line 79. [20571] aaa3Use of uninitialized value in right bitshift (>>) at /usr/local/libexec/nfsen/NfSenRC.pm line 77. Use of uninitialized value in bitwise and (&) at /usr/local/libexec/nfsen/NfSenRC.pm line 78. Use of uninitialized value in bitwise and (&) at /usr/local/libexec/nfsen/NfSenRC.pm line 79. # In /var/log/messages: Sep 3 12:08:08 nfsenserver nfsen: Clean orphan data file: '/nfsen-data/profiles-data/live/aaa1/nfcapd.current.722' Sep 3 12:08:08 nfsenserver nfsen: Clean orphan data file: '/nfsen-data/profiles-data/live/aaa2/nfcapd.current.725' Sep 3 12:08:08 nfsenserver nfsen: Clean orphan data file: '/nfsen-data/profiles-data/live/aaa3/nfcapd.current.728' Sep 3 12:08:28 nfsenserver nfsen[92017]: Verification sub hierarchy failed. Sep 3 12:08:28 nfsenserver nfsen[92017]: Current layout is '1' but configured layout is '2' Sep 3 12:08:28 nfsenserver nfsen[92017]: Rerun RebuildHierarchy.pl to fix. Sep 3 12:37:02 nfsenserver nfsen[20618]: Failed get stat info for requested time slot Sep 3 12:37:02 nfsenserver last message repeated 15 times Sep 3 12:37:02 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:02 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, traffic-day: Could not save png to '/nfsen-data/profiles-stat/live/traffic-day.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 337. Sep 3 12:37:02 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:02 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, traffic-day: Could not save png to '/nfsen-data/profiles-stat/live/traffic-week.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 346. Sep 3 12:37:02 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:02 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, traffic-day: Could not save png to '/nfsen-data/profiles-stat/live/traffic-month.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 356. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, traffic-day: Could not save png to '/nfsen-data/profiles-stat/live/traffic-year.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 366. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, flows-day: Could not save png to '/nfsen-data/profiles-stat/live/flows-day.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 337. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, flows-day: Could not save png to '/nfsen-data/profiles-stat/live/flows-week.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 346. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, flows-day: Could not save png to '/nfsen-data/profiles-stat/live/flows-month.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 356. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, flows-day: Could not save png to '/nfsen-data/profiles-stat/live/flows-year.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 366. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, packets-day: Could not save png to '/nfsen-data/profiles-stat/live/packets-day.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 337. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, packets-day: Could not save png to '/nfsen-data/profiles-stat/live/packets-week.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 346. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, packets-day: Could not save png to '/nfsen-data/profiles-stat/live/packets-month.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 356. Sep 3 12:37:03 nfsenserver nfsen[20618]: Unable to create graph: Sep 3 12:37:03 nfsenserver nfsen[20618]: Error GenGraph: Profile: live, packets-day: Could not save png to '/nfsen-data/profiles-stat/live/packets-year.png' at /usr/local/libexec/nfsen/NfSenRRD.pm line 366. Those png files are zeroed. # ls -l /nfsen-data/profiles-stat/live/packets-year.png -rw-r--r-- 1 www www 0 Sep 3 15:25 /nfsen-data/profiles-stat/live/packets-year.png When I open nfsen.php via http I do not see graphs anymore and in /var/log/messages at that moment: Sep 3 12:37:11 nfsenserver nfsen[20675]: Error generating details graph: Could not save png to '': Arg: 'live', 'aaa1:aaa2:aaa3', 'TCP', 'flows', '1262293200', '1283416200', '1283502600', '1283459400', '1283459400', '288', '100', '1', '0', '0' Sep 3 12:37:11 nfsenserver nfsen[20676]: Error generating details graph: Could not save png to '': Arg: 'live', 'aaa1:aaa2:aaa3', 'UDP', 'flows', '1262293200', '1283416200', '1283502600', '1283459400', '1283459400', '288', '100', '1', '0', '0' Sep 3 12:37:11 nfsenserver nfsen[20677]: Error generating details graph: Could not save png to '': Arg: 'live', 'aaa1:aaa2:aaa3', 'ICMP', 'flows', '1262293200', '1283416200', '1283502600', '1283459400', '1283459400', '288', '100', '1', '0', '0' Sep 3 12:37:11 nfsenserver nfsen[20678]: Error generating details graph: Could not save png to '': Arg: 'live', 'aaa1:aaa2:aaa3', 'other', 'flows', '1262293200', '1283416200', '1283502600', '1283459400', '1283459400', '288', '100', '1', '0', '0' Sep 3 12:37:12 nfsenserver nfsen[20679]: Error generating details graph: Could not save png to '': Arg: 'live', 'aaa1:aaa2:aaa3', 'any', 'flows', '1262293200', '1283416200', '1283502600', '1283459400', '1283459400', '576', '200', '0', '0', '0' Sep 3 12:37:12 nfsenserver nfsen[20680]: Error generating details graph: Could not save png to '': Arg: 'live', 'aaa1:aaa2:aaa3', 'any', 'packets', '1262293200', '1283416200', '1283502600', '1283459400', '1283459400', '288', '100', '1', '0', '0' Sep 3 12:37:12 nfsenserver nfsen[20681]: Error generating details graph: Could not save png to '': Arg: 'live', 'aaa1:aaa2:aaa3', 'any', 'traffic', '1262293200', '1283416200', '1283502600', '1283459400', '1283459400', '288', '100', '1', '0', '0' Nfsen worked about 6 month without any problems. How can I workaround this problem? Many thanks! ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nfsen-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
