I downloaded the latest 2.2.96 from CVS.
I made the changes you recommended and it is working.
Thanks everyone for your assistance!
Steve

-----Original Message-----
From: Mike Tremaine [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 14, 2003 11:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop] Solaris 8 Segmentation Fault


On Fri, 2003-11-14 at 10:17, Steven Rudolph wrote:

> 3) I had to modify webInterface.c with the patch for sock < 0 or else 
> it would not run in "daemon mode"
> 
> Index: webInterface.c 
> ===================================================================
> RCS file: /export/home/ntop/ntop/webInterface.c,v
> retrieving revision 2.246
> diff -r2.246 webInterface.c
> 4785c4785
> < if((*sock <= 0) || (errno != 0) ) {
> ---
> > if((*sock < 0) || (errno != 0) ) {
> ______________________________________________________________________
> 
> 3.  It seemed to configure just fine.


Don't do that one, I've been told it can lead to more trouble. Instead
modify your ntop/configureextra/SOLARIS8 file and add this line

CPPFLAGS="-DHAVE_FILEDESCRIPTORBUG ${CPPFLAGS}"



> 5.  When I attempted to run:
> # /usr/local/bin/ntop -P /usr/local/share/ntop -A 
> 14/Nov/2003 09:59:59  Initializing gdbm databases 
> Segmentation Fault 
> 
> # /usr/local/bin/ntop -P /usr/local/share/ntop -A
> 14/Nov/2003 13:10:41  Initializing gdbm databases Segmentation Fault
> 
> Run under GDB (same errors both times):

This sounds sort of like its got permission problems, I know that ntop
will default to certain user if you don't tell it exactly. SO I'd
suggest adding in the -u <username> and then double check your
/usr/local/share/ntop dir to make sure its owned by that user.


> Any suggestions?
> 
> Steve Rudolph, CCSA, CCSE
> Network Security Engineer 
> Internet Operations Center 

Mike Tremaine
[EMAIL PROTECTED]


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to