Have a look at the original post.
This has already been covered.

----- Original Message ----
From: Gary Gatten <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, February 16, 2007 10:49:25 AM
Subject: RE: [Ntop] Plugins not loaded if run as a daemon

What about permissions?  When it runs as daemon is it denied access to
the plugin location?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Sandra Bonus
Sent: Thursday, February 15, 2007 5:45 PM
To: [email protected]
Subject: Re: [Ntop] Plugins not loaded if run as a daemon

I had already tried --daemon in the config file. I've now tried -d in
the config file but the same result (as expected). It is whenever the
service runs as a daemon the plugins are not loaded.

----- Original Message ----
From: Gary Gatten <[EMAIL PROTECTED]>
To: [email protected]; [EMAIL PROTECTED]
Sent: Friday, February 16, 2007 2:29:08 AM
Subject: RE: [Ntop] Plugins not loaded if run as a daemon

Try the -d in the .conf file.  Works fine for me.

Gary

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Rivalino Matias Jr.
Sent: Wednesday, February 14, 2007 9:37 PM
To: [email protected]
Subject: RES: [Ntop] Plugins not loaded if run as a daemon

I know it will not solve your problem, but I run ntop using -d and the
plugins are loaded. Then, it looks a path problem.

Could you send your /etc/ntop.conf ?

Who knows someone could figure out about the problem.

Rivalino.


-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de
Sandra Bonus
Enviada em: quarta-feira, 14 de fevereiro de 2007 23:18
Para: [email protected]
Assunto: [Ntop] Plugins not loaded if run as a daemon



I'm running the ntop package ntop-3.2-1.2.fc6.rf on Fedora Core 6.
It all works good if I run it from the command line

ntop @/etc/ntop.conf

But as soon as I run it as a daemon, it will not load the plugins.

ntop -d @/etc/ntop.conf

A non-daemon run loads plugins and you see the messages:

Loading Plugins
Searching for plugins in /usr/lib/ntop/plugins
LASTSEEN: Welcome to Host Last Seen. (C) 1999 by Andrea Marangoni

etc

but when you run it -d you only get:

Loading Plugins
Feb  9 12:57:08 gw ntop[13536]:   Searching for plugins in ./plugins
(NOTICE THE DIFFERENT SEARCH DIRECTORY)
Feb  9 12:57:08 gw ntop[13536]:   Calling plugin start functions (if
any)

And the web interface confirms that there is no plugins available.

I've even
cd /usr/lib/ntop
ntop -d @/etc/ntop.conf
so that ./plugins will be /usr/lib/ntop/plugins, but it still does not
work

The process runs as user ntop when running both ways and
/usr/lib/ntop/plugins is owned by ntop so it does not seem to be a
security
issue.

Any ideas?







________________________________________________________________________
____
________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com






________________________________________________________________________
____
________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/






________________________________________________________________________
____
________
Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop


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

========================================================================
===





"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





 
________________________________________________________________________
____________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

===========================================================================





"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





 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to