Ok I got a little more hate when trying to start the daemon after
uninstalling and reconfiguring the daemon,
What are folks using to start the daemon in terms of switches? I
used "ntop" and when it complained about wanting a db-sile-path I tried that
and still wan not successful getting the daemon to start. Anyone seen this?
Sat Dec 16 05:59:46 2006 NOTE: Interface merge enabled by default
Sat Dec 16 05:59:46 2006 **WARNING** Trailing slash removed from argument
for option -P | --db-file-path
Sat Dec 16 05:59:46 2006 Initializing gdbm databases
Sat Dec 16 05:59:46 2006 **ERROR** ....open of /var/db/ntop/prefsCache.db
failed: Can't be writer
Sat Dec 16 05:59:46 2006 Possible solution: please use '-P <directory>'
Sat Dec 16 05:59:46 2006 **FATAL_ERROR** GDBM open failed, ntop shutting
down...
Sat Dec 16 05:59:46 2006 CLEANUP[t134610944]: ntop caught signal 2
Sat Dec 16 05:59:46 2006 THREADMGMT[t134610944]: ntop RUNSTATE: SHUTDOWN(7)
Sat Dec 16 05:59:46 2006 CLEANUP[t134610944] catching thread is MAIN
Sat Dec 16 05:59:46 2006 CLEANUP: Running threads
Sat Dec 16 05:59:46 2006 CLEANUP: Locking purge mutex (may block for a
little while)
Sat Dec 16 05:59:46 2006 CLEANUP: Locked purge mutex, continuing shutdown
Sat Dec 16 05:59:46 2006 CLEANUP: Continues
Sat Dec 16 05:59:46 2006 PLUGIN_TERM: Unloading plugins (if any)
Sat Dec 16 05:59:46 2006 CLEANUP: Clean up complete
Sat Dec 16 05:59:46 2006 THREADMGMT[t134610944]: ntop RUNSTATE: TERM(8)
Sat Dec 16 05:59:46 2006 ===================================
Sat Dec 16 05:59:46 2006 ntop is shutdown...
Sat Dec 16 05:59:46 2006 ===================================
On 12/16/06, Wade Blackwell <[EMAIL PROTECTED]> wrote:
In looking at my /etc/libmap.conf I see the following,
libc.so.5 libc.so.6
So in this case does the same apply? Change the libc.so.5 -->
libthr.so.5 and so on?
Wade B
On 12/14/06, Vivek Khera <[EMAIL PROTECTED]> wrote:
>
>
> On Dec 14, 2006, at 1:54 AM, Chris Buechler wrote:
>
> > Wade Blackwell wrote:
> >> Can you guys keep the ntop daemon up?
> >> I can't keep it running for more than 24 hours on either of
> >> the 2 systems I have running.
> >
> > Pretty common problem with ntop and FreeBSD. ntop has threading
> > bugs that don't occur in Linux but happen in FreeBSD, and the ntop
> > developers don't care to fix them.
>
> Never crashes for us running pfsense 1.0.1.
>
> Also, as a normal install process on FreeBSD 6.x, we install the
> following in our libmap.conf file to use the 1:1 threading library,
> which seems to make some apps work better (such as mysql when we're
> forced to use it).
>
> # use libthr instead of pthread lib
> libpthread.so.2 libthr.so.2
> libpthread.so libthr.so
>
>
> You should give that a shot. Edit /etc/libmap.conf to add these
> lines, then restart ntop and see what happens.
>
>
>
>
--
"Integrity is more important than perception management"
"There are two kinds of pain, the pain of change and the pain of never
changing"
--
"Integrity is more important than perception management"
"There are two kinds of pain, the pain of change and the pain of never
changing"