Before the last post i checked for the ntop executable (to see if it was
diferent versions that I had not deleted) but there were only the one I
compiled.. Anyway I did a find -iname ntop* and find -name libntop* and
deleted everyting. In hope that that was the problem.. builded it again but
the same result it only runs from the /usr/local/lib folder.. I just wanted
to post as if for some other reason the other people that are having this
problem they could try and see it running it from the /usr/local/lib...
And it does not work if i try to run it as a daemon (ntop -d) , but it works
with just ntop... (havent tryed any other swich)
Some other sugestion Burton ? if not dont worry thanks very much for the
help... (at least I can run it :D )...
From: "Burton Strauss" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: [Ntop] Fedora core buffer overflow
Date: Sat, 6 Aug 2005 14:51:08 -0500
ntop uses the OS' standard facilities for finding it's executables and
library modules. This typically is . (current directory) + a bunch of
OS/distro specific locations (path for executables, library path for .so
files, etc.) So it may be that you have different ntop and libntopxxxx
files and are executing different ones depending upon where you run from.
Clean them all out and start fresh.
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Felipe Xacur
Sent: Saturday, August 06, 2005 1:14 PM
To: [email protected]
Subject: RE: [Ntop] Fedora core buffer overflow
Thanks for the info Burton... This is what happened to me... I, again
grabed
the CVS version.. builded it (as usual with ./configure... Make ... Make
Install) I get the same problem.. so I did a make clean and edited the
Makefiles and removed the -O2 (compiler optimizations as sugested) and
builded it again (tryed it with -O0 and -O1 also) but i get the same error
always (Segmentation Fault) ... BUT in one of the tryings it worked ! ..
and
it was not the -O2 optimization in my case.. as it "works" with them... I
found that in my case if I try to run the program (ntop) from any location
except from /usr/local/lib it gives me a segmentation fault(it seems
extrange to me, and I realy dont know why it is happening), if I run it
from
/usr/local/lib if runs "fine" everiting seems to be working fine, but when
I
exit the program(via ctrl+c or by the web menu shutdown) it gives a
segmentation fault...
<snip />
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop