Re: [Nfdump-discuss] Problem with nfdump installation
netflow collecting and processing tools
Brought to you by:
phaag
|
From: Matthew A. W. <maw...@up...> - 2013-11-01 21:06:10
|
<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>"./nfsen start"</div><div><br><div><br></div><font color="#990099">-----"Hart, Benjamin" <bh...@un...> wrote: -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">To: "Matthew A. Wiebelhaus" <maw...@up...><br>From: "Hart, Benjamin" <bh...@un...><br>Date: 11/01/2013 01:32PM<br>Cc: "nfd...@li..." <nfd...@li...><br>Subject: RE: [Nfdump-discuss] Problem with nfdump installation<br><br> <!--Notes ACF <meta http-equiv="Content-Type" content="text/html; charset=utf-8">--> <!--[if !mso]><style></style><![endif]--><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><font color="#1f497d">Starting instead of restarting returns:<o:p></o:p></font></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><font color="#1f497d">root@minetflow:/usr/src/nfsen-1.3.6p1/bin# ./nfsen<o:p></o:p></font></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><font color="#1f497d">-bash: ./nfsen: %%PERL%%: bad interpreter: No such file or directory<o:p></o:p></font></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><font color="#1f497d">root@minetflow:/usr/src/nfsen-1.3.6p1/bin#<o:p></o:p></font></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif;"><font color="#1f497d"><o:p> </o:p></font></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Matthew A. Wiebelhaus [mailto:maw...@up...]<br><b>Sent:</b> Friday, November 01, 2013 1:42 PM<br><b>To:</b> Hart, Benjamin<br><b>Cc:</b> nfd...@li...<br><b>Subject:</b> RE: [Nfdump-discuss] Problem with nfdump installation<o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Yes my php page shows correctly. That error I usually see because nfsen isn't started, did you ever try start instead of restart. What is the output when you run "./nfsen start" ?</span><br><br><span style="font-size:10.0pt;font-family:"Cambria","serif"">Matt Wiebelhaus<br>Network Systems Design<br>Phone: 402-544-3050 <br>Email: <a href="mailto:maw...@up...">maw...@up...</a></span><br><img border="0" width="66" height="58" id="_x0000_i1025" src="cid:image001.jpg@01CED70F.24210C70" ><br><br><br><br><span style="font-size: 7.5pt; font-family: Arial, sans-serif;"><font color="#5f5f5f">From: </font></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"Hart, Benjamin" <<a href="mailto:bh...@un...">bh...@un...</a>></span><br><span style="font-size: 7.5pt; font-family: Arial, sans-serif;"><font color="#5f5f5f">To: </font></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"Matthew A. Wiebelhaus" <<a href="mailto:maw...@up...">maw...@up...</a>></span><br><span style="font-size: 7.5pt; font-family: Arial, sans-serif;"><font color="#5f5f5f">Cc: </font></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"<a href="mailto:nfd...@li...">nfd...@li...</a>" <<a href="mailto:nfd...@li...">nfd...@li...</a>></span><br><span style="font-size: 7.5pt; font-family: Arial, sans-serif;"><font color="#5f5f5f">Date: </font></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">11/01/2013 12:23 PM</span><br><span style="font-size: 7.5pt; font-family: Arial, sans-serif;"><font color="#5f5f5f">Subject: </font></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">RE: [Nfdump-discuss] Problem with nfdump installation</span><o:p></o:p></p><div class="MsoNormal" align="center" style="text-align:center"><hr size="2" width="100%" noshade="" style="" align="center"></div><p class="MsoNormal"><br><br><br><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080">So your php is still being served then yes?</font></span><br><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080"> </font></span><br><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080">Mine is not, in fact the pages gives 4 different errors:</font></span><br><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080"> </font></span><br><img border="0" width="716" height="578" id="_x0000_i1027" src="cid:image002.png@01CED70F.24210C70" ><br><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080"> </font></span><br><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Matthew A. Wiebelhaus [</span><a href="mailto:maw...@up..."><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">mailto:maw...@up...</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">] <b><br>Sent:</b> Friday, November 01, 2013 12:56 PM<b><br>To:</b> Hart, Benjamin<b><br>Cc:</b> <a href="mailto:nfd...@li...">nfd...@li...</a><b><br>Subject:</b> RE: [Nfdump-discuss] Problem with nfdump installation</span><br> <br><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I've got those same errors, I have yet to look into them because they don't seem to be causing any issue at the moment. The interesting thing is I had a pretty much perfectly running installation and those errors didn't show up until recently. I'm not sure what I had changed that has caused them. The only thing I have recently done is go from nfdump 1.6.5 to 1.6.10p1, but I had moved back to 1.6.5. I am running RHEL 6.1.</span><br><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>[xxxxxxx@xxxxxx bin]$ ./nfsen restart<br>Subroutine Lookup::pack_sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.<br>at /data/nfsen/prod/libexec/Lookup.pm line 43<br>Subroutine Lookup::unpack_sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.<br>at /data/nfsen/prod/libexec/Lookup.pm line 43<br>Subroutine Lookup::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.<br>at /data/nfsen/prod/libexec/Lookup.pm line 43<br>Subroutine AbuseWhois::pack_sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.<br>at /data/nfsen/prod/libexec/AbuseWhois.pm line 42<br>Subroutine AbuseWhois::unpack_sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.<br>at /data/nfsen/prod/libexec/AbuseWhois.pm line 42<br>Subroutine AbuseWhois::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.<br>at /data/nfsen/prod/libexec/AbuseWhois.pm line 42<br>Subroutine AbuseWhois::pack_sockaddr_in6 redefined at /data/nfsen/prod/libexec/AbuseWhois.pm line 44<br>Subroutine AbuseWhois::unpack_sockaddr_in6 redefined at /data/nfsen/prod/libexec/AbuseWhois.pm line 44<br>Subroutine AbuseWhois::sockaddr_in6 redefined at /data/nfsen/prod/libexec/AbuseWhois.pm line 44<br>./nfsen command [parameters]</span><br><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br> Use --help for long help</span><br><span style="font-size:10.0pt;font-family:"Cambria","serif""><br>Matt Wiebelhaus<br>Network Systems Design<br>Phone: 402-544-3050 <br>Email: </span><a href="mailto:maw...@up..."><span style="font-size:10.0pt;font-family:"Cambria","serif"">maw...@up...</span></a><br><img border="0" width="66" height="58" id="_x0000_i1028" src="cid:image001.jpg@01CED70F.24210C70" ><br><br><br><span style="font-size: 7.5pt; font-family: Arial, sans-serif;"><font color="#5f5f5f"><br>From: </font></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"Hart, Benjamin" <</span><a href="mailto:bh...@un..."><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">bh...@un...</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><font color="#5f5f5f"><br>To: </font>"Matthew A. Wiebelhaus" <</span><a href="mailto:maw...@up..."><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">maw...@up...</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><font color="#5f5f5f"><br>Cc: </font>"</span><a href="mailto:nfd...@li..."><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">nfd...@li...</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">" <</span><a href="mailto:nfd...@li..."><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">nfd...@li...</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><font color="#5f5f5f"><br>Date: </font>11/01/2013 11:10 AM<font color="#5f5f5f"><br>Subject: </font>RE: [Nfdump-discuss] Problem with nfdump installation</span><o:p></o:p></p><p class="MsoNormal" align="center" style="text-align:center"><o:p> </o:p></p><div class="MsoNormal" align="center" style="text-align:center"><hr size="2" width="100%" noshade="" style="" align="center"></div><p class="MsoNormal"><br><br><br><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080"><br>Hmm I did not. Going back, installing bison then configuring nfdump then nfsen again they both completed the make and installs.<br><br>However now I get this:<br><br></font></span><u><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:blue"><br></span></u><a href="mailto:root@minetflow:/etc/init.d"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">root@minetflow:/etc/init.d#</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080">/etc/init.d/nfdump restart</font></span><u><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:blue"><br></span></u><a href="mailto:root@minetflow:/etc/init.d"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">root@minetflow:/etc/init.d#</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080">/etc/init.d/nfsen restart<br>Subroutine Lookup::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.<br>at /data/nfsen/libexec/Lookup.pm line 43<br>Subroutine Lookup::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.<br>at /data/nfsen/libexec/Lookup.pm line 43<br>Subroutine Lookup::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.<br>at /data/nfsen/libexec/Lookup.pm line 43<br>Subroutine AbuseWhois::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.<br>at /data/nfsen/libexec/AbuseWhois.pm line 42<br>Subroutine AbuseWhois::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.<br>at /data/nfsen/libexec/AbuseWhois.pm line 42<br>Subroutine AbuseWhois::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.<br>at /data/nfsen/libexec/AbuseWhois.pm line 42<br>Subroutine AbuseWhois::pack_sockaddr_in6 redefined at /data/nfsen/libexec/AbuseWhois.pm line 44<br>Subroutine AbuseWhois::unpack_sockaddr_in6 redefined at /data/nfsen/libexec/AbuseWhois.pm line 44<br>Subroutine AbuseWhois::sockaddr_in6 redefined at /data/nfsen/libexec/AbuseWhois.pm line 44<br>/etc/init.d/nfsen command [parameters]<br><br> Use --help for long help<br></font></span><u><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:blue"><br></span></u><a href="mailto:root@minetflow:/etc/init.d"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">root@minetflow:/etc/init.d#</span></a><span style="font-size: 10pt; font-family: Calibri, sans-serif;"><font color="#004080"><br></font></span><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Matthew A. Wiebelhaus [</span><a href="mailto:maw...@up..."><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">mailto:maw...@up...</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">] <b><br>Sent:</b> Friday, November 01, 2013 9:39 AM<b><br>To:</b> Hart, Benjamin<b><br>Cc:</b> </span><a href="mailto:nfd...@li..."><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">nfd...@li...</span></a><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>Subject:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Re: [Nfdump-discuss] Problem with nfdump installation</span><br><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>Do you have YACC installed?<font color="#2f2f2f"><br><br>sudo apt-get install bison</font></span><span style="font-size:10.0pt;font-family:"Cambria","serif""><br><br>Matt Wiebelhaus<br>Network Systems Design<br>Phone: 402-544-3050 <br>Email: </span><a href="mailto:maw...@up..."><span style="font-size:10.0pt;font-family:"Cambria","serif"">maw...@up...</span></a><br><img border="0" width="66" height="58" id="_x0000_i1030" src="cid:image001.jpg@01CED70F.24210C70" ><br><br><span style="font-size: 7.5pt; font-family: Arial, sans-serif;"><font color="#5f5f5f"><br><br>From: </font></span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"Hart, Benjamin" <</span><a href="mailto:bh...@un..."><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">bh...@un...</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><font color="#5f5f5f"><br>To: </font>"</span><a href="mailto:nfd...@li..."><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">nfd...@li...</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">" <</span><a href="mailto:nfd...@li..."><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">nfd...@li...</span></a><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">><font color="#5f5f5f"><br>Date: </font>11/01/2013 07:41 AM<font color="#5f5f5f"><br>Subject: </font>[Nfdump-discuss] Problem with nfdump installation</span><o:p></o:p></p><p class="MsoNormal" align="center" style="text-align:center"><br> <o:p></o:p></p><div class="MsoNormal" align="center" style="text-align:center"><hr size="2" width="100%" noshade="" style="" align="center"></div><p class="MsoNormal"><br><br><br><span style="font-size:10.0pt;font-family:"Calibri","sans-serif""><br><br>Fresh Ubuntu 12.04 server install, downloaded nfdump-1.6.10p1, untarred and ran ./configure –enable-nfprofile<br>Then when trying to Make get this:<br><br>Make all-recursive<br>Make[1]: Entering Directory ‘/usr/src/nfdump-1.6.10p1’<br>Making all in .<br>Make[2]: Entering directory ‘/usr/src/nfdump-1.6.10p1’<br>Make[2]: Leaving directory /usr/src/nfdump-1.6.10p1’<br>Making all in bin<br>Make[2]: Entering directory ‘/usr/src/nfdump-1.6.10p1/bin’<br>/bin/bash ../ylwrap grammar.y y.tab.c grammar.c y.tab.h ‘echo grammar.c | sed –e s/cc$/hh/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/’ y.output grammar.output – yacc –d<br>../ylwrap: line 112: yacc command not found<br>Make[2]: *** [grammar.c] error 1<br>Make[2]: Leaving directory ‘/usr/src/nfdump-1.6.10p1/bin’<br>Make[1]: *** [all-recursive] error 1<br>Make[1]: Make[2]: Leaving directory ‘/usr/src/nfdump-1.6.10p1’<br>Make: *** [all] error 2<br><br><br>Any clue why this is happening?<br></span><span style="font-size:10.0pt;font-family:"Courier New""><br>------------------------------------------------------------------------------<br>Android is increasing in popularity, but the open development platform that<br>developers love is also attractive to malware creators. Download this white<br>paper to learn more about secure code signing practices that can help keep<br>Android apps secure.</span><u><span style="color:blue"><br></span></u><a href="http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk"><span style="font-size:10.0pt;font-family:"Courier New"">http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk</span></a><span style="font-size:10.0pt;font-family:"Courier New"">_______________________________________________<br>Nfdump-discuss mailing list</span><u><span style="color:blue"><br></span></u><a href="mailto:Nfd...@li..."><span style="font-size:10.0pt;font-family:"Courier New"">Nfd...@li...</span></a><u><span style="color:blue"><br></span></u><a href="https://lists.sourceforge.net/lists/listinfo/nfdump-discuss"><span style="font-size:10.0pt;font-family:"Courier New"">https://lists.sourceforge.net/lists/listinfo/nfdump-discuss</span></a><br><br><br>**<br><br>This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.<br>**<br><br>**<br><br>This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.<br>**<br><br>**<br><br>This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.<br>**<o:p></o:p></p></div> </blockquote><br></div></FONT><BR> **<BR> <BR> This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.<BR> **<BR> |