Mukom TAMON wrote:
> I finally just put the line sudo ntop -d in /etc/rc.local. It seems to
> be working fine for now. If anyone else has other ideas, I'd love to
> hear, especially about some startup, restart, stop init scrips.
I wrote some time ago, for the nBox appliance, a very simple watchdog
program used to start/stop
and monitor ntop, nprobe and ndumper (if you don't know about nBox take
a look at:
http://www.nmon.net/nBox_nmon.html).
The program is very simple (just few lines of C code) and although it
doesn't have all the
functionalities one can expect from this type of program, I think it can
be useful outside the nBox too.
I've tested the program under debian (32 and 64 bits), no problem
encountered so far.
If you want to give it a try let me know, I can give the code to you.
Regards,
Massimo
> Thanks
>
> On Wed, Aug 20, 2008 at 5:05 PM, darko gavrilovic
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
> perhaps http://upstart.ubuntu.com/
>
>
>
> On Wed, Aug 20, 2008 at 11:49 AM, Mukom TAMON
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> > My system is Ubuntu Server 8.04
> >
> > On Wed, Aug 20, 2008 at 4:38 PM, darko gavrilovic
> > <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> >>
> >> what system are you using? if it's red hat based, you can use
> >> chkconfig ntopd on or something like that.
> >>
> >>
> >>
> >> On Wed, Aug 20, 2008 at 11:14 AM, Mukom TAMON
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> >> wrote:
> >> > Hello all,
> >> > I successfully configured ntop from sources and up till
> now I start
> >> > it
> >> > manually by typing sudo ntop -d.
> >> > I would however love to set it so that it automatically
> starts at boot.
> >> > I
> >> > tried inserting /usr/local/bin/ntop -d into /etc/rc.local
> file. When I
> >> > reboot my machine, ntop seems to start ok[no error message],
> tells me
> >> > "Bye
> >> > by: I am becoming a daemon" ... all normal behavior AFAIK.
> But then I am
> >> > unable to access the web interface. Even running netstat -l
> on the
> >> > machine
> >> > doesn't show anything listening on port 3000. What should I do?
> >> >
> >> > --
> >> >
> >> >
>
> ___________________________________________________________________________________________________________________
> >> > M.A. TAMON
> >> > B.Eng, CCNP, CCNA
> >> >
> >> > "A man owns nothing, not land or money, only his character,
> the loyalty
> >> > &
> >> > courage in his heart"
> >> > My BLOGs:
> >> > [ICT Business Integration] - http://ibiztech.wordpress.com
> >> > [Leadership Lessons from Movies] - http://thbs.wordpress.com
> >> > [In Search of Excellence & Perfection] -
> >> > http://perfexcellence.wordpress.com
> >> > [Technical How Tos & Stuff-at-a-Glance] -
> http://techowto.wordpress.com
> >> >
> >> >
> >> > _______________________________________________
> >> > Ntop mailing list
> >> > [email protected] <mailto:[email protected]>
> >> > http://listgateway.unipi.it/mailman/listinfo/ntop
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> with kind regards,
> >> dg
> >>
> >>
> >> "You can always go back, but you can't go back all the way" -- Bob
> >> Dylan, Mississippi
> >> _______________________________________________
> >> Ntop mailing list
> >> [email protected] <mailto:[email protected]>
> >> http://listgateway.unipi.it/mailman/listinfo/ntop
> >
> >
> >
> > --
> >
>
> ___________________________________________________________________________________________________________________
> > M.A. TAMON
> > B.Eng, CCNP, CCNA
> >
> > "A man owns nothing, not land or money, only his character, the
> loyalty &
> > courage in his heart"
> > My BLOGs:
> > [ICT Business Integration] - http://ibiztech.wordpress.com
> > [Leadership Lessons from Movies] - http://thbs.wordpress.com
> > [In Search of Excellence & Perfection] -
> http://perfexcellence.wordpress.com
> > [Technical How Tos & Stuff-at-a-Glance] -
> http://techowto.wordpress.com
> >
> >
> > _______________________________________________
> > Ntop mailing list
> > [email protected] <mailto:[email protected]>
> > http://listgateway.unipi.it/mailman/listinfo/ntop
> >
> >
>
>
>
> --
> with kind regards,
> dg
>
>
> "You can always go back, but you can't go back all the way" -- Bob
> Dylan, Mississippi
> _______________________________________________
> Ntop mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
>
>
>
> --
> ___________________________________________________________________________________________________________________
> M.A. TAMON
> B.Eng, CCNP, CCNA
>
> "A man owns nothing, not land or money, only his character, the
> loyalty & courage in his heart"
> My BLOGs:
> [ICT Business Integration] - http://ibiztech.wordpress.com
> [Leadership Lessons from Movies] - http://thbs.wordpress.com
> [In Search of Excellence & Perfection] -
> http://perfexcellence.wordpress.com
> [Technical How Tos & Stuff-at-a-Glance] - http://techowto.wordpress.com
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop