Nah, don't beat your self up too hard - after all, I didn't smack you so
hard you crept off in shame to slice your wrists with a source listing!
It's not lack of knowledge that sets me off, it's stupidity... people who
follow instructions and are willing to try (after all, this is largely
self-help) get a lot of support from me.

Anyway - the next step is to check the log and see how/if ntop is dying.

Sometimes the log messages are smack-you-silly obvious and sometimes not.
You can also run ntop in the foreground to see things better - read the .sh
script and run ntop from the command line with the same set of parameters
(add -t 4 so you get all the messages and drop -d | --daemon and -L
| --use-syslog so it doesn't run as a daemon).    So in that script you want
to replace

args='-d -L'

with

args='-t 4'


If that dies and it's not something obvious from the log messages, then next
step is to run ntop under the debugger (usually gdb) and collect the bt full
information (instructions are in ... drum roll please ... docs/FAQ).

-----Burton



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey
> Troy
> Sent: Friday, April 30, 2004 5:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Ntop] ntop freebsd 5.2 web access not working
>
>
> Burton,
>
> /me bangs head on desk in shame
>
> Thanks that is all great info, and your time!
>
> Joey T.
>
> Burton M. Strauss III wrote:
>
> >Actually it's doing exactly what you told it.  Did you give it a -u
> >parameter to tell it to run as somebody else?  NO... so nobody
> is one of the
> >defaults - read the man page.
> >
> >Similarly, without a -P parameter, where is it going to look for
> database...
> >you guessed it - a default location... read the man page.
> >
> >Let's see... "Also when I log into a.b.c.d:3000 it doesn't
> prompt for a user
> >or password so anyone can view the stats."  yes, that's how ntop works -
> >read the docs/FAQ articles on userids for more info.
> >
> >-----Burton
> >
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joey
> >>Troy
> >>Sent: Friday, April 30, 2004 2:53 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: Re: [Ntop] ntop freebsd 5.2 web access not working
> >>
> >>
> >>Burton,
> >>
> >>
> >>    Thanks for the info I was able to fire up the beast fired up :D
> >>However I still have a few problems..
> >>
> >>
> >>I ran command
> >>
> >>
> >>#ntop -dw a.b.c.d:3000
> >>
> >>
> >>woo hoo it works!  The problem with this is it's not using the config
> >>file at all, it's running out of /var/db/ntop as nobody when it should
> >>be running from /usr/local/ntop as ntop.  Also when I log into
> >>a.b.c.d:3000 it doesn't prompt for a user or password so anyone can view
> >>the stats.  When I try to run
> >>
> >># sh /usr/local/etc/rc.d/ntop.sh start
> >>
> >>
> >>it acts like it works however
> >>
> >>#ps -aux
> >>
> >>does not list ntop.  Not sure what I am missing but I do feel a lot
> >>closer :D
> >>
> >>Joey T.
> >>
> >>
> >>
> >>
> ><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

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

Reply via email to