I have adjusted the startup parms for ntop, parallel to Gary's values,
however I still get the message:
**ERROR** Bad magic number (expected=1968/real=0)
getNextHost()[address.c/54]
followed by either a crash or a hang-up.
My startup is:
/usr/bin/ntop -i eth3 @/etc/ntop.conf -d -t 5 -x 131072 -X 131072 -O -K -d
I have tried various combinations of x and X hoping to adjust the hash
tables but this did not help.
1) Is there an older stable release of ntop that will circumvent this
2) Or is there a fix that I am unaware of
Perhaps there is a way to track file and memory usage to arrive at more
objective values for the x's
Thanks
Fritz
===========================================================
Gary Gatten wrote:
>I think if you google ntop + whatever you'll find some stuff.
>
>I've had the bad magic number before as well:
>http://www.mail-archive.com/[email protected]/msg11633.html
>
>Haven't had it in some time, but still have some segfault problems I'm
>"trying" to fix.
>
>Gary
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>frederick sonnichsen
>Sent: Monday, February 25, 2008 10:33 AM
>To: [email protected]
>Subject: [Ntop] ntop crashes with magic number error
>
>I am new to ntop and I have just installed it on redhat/ Fedora core 6.
>Our ntop release is v.3.2.3
>
>After startup I get the following error but ntop still seems to run OK:
> Feb 19 09:18:28 chakotay ntop[2299]: **ERROR** Sanity check
>failed (2) [Low memory?]
>Later on, ntop crashes with the following error:
> Feb 19 21:26:16 chakotay ntop[2299]: **ERROR** Bad magic number
>(expected=1968/real=0) [deviceId=0] lookupHost()[pbuf.c/1209]
>
>I could not find an archive for this mailing list so hopefully I am not
>posting something that has been discussed before,
>
>Thank You,
>Fritz
>
>
>_______________________________________________
>Ntop mailing list
>[email protected]
>http://listgateway.unipi.it/mailman/listinfo/ntop
>
>
>
>
>
><font size="1">
><div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in
>1.0pt 0in'>
></div>
>"This email is intended to be reviewed by only the intended recipient
> and may contain information that is privileged and/or confidential.
> If you are not the intended recipient, you are hereby notified that
> any review, use, dissemination, disclosure or copying of this email
> and its attachments, if any, is strictly prohibited. If you have
> received this email in error, please immediately notify the sender by
> return email and delete this email from your system."
>
>_______________________________________________
>Ntop mailing list
>[email protected]
>http://listgateway.unipi.it/mailman/listinfo/ntop
>
>
>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop