View previous topic :: View next topic |
Author |
Message |
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Sun Jul 05, 2009 11:30 pm Post subject: ntop failed to start |
|
|
hello there i try to start the service "/etc/init.d/ntop start" but i get the following Code: | root@ ~ > /etc/init.d/ntop start
* Service ntop starting
Mon Jul 6 02:26:29 2009 NOTE: Interface merge enabled by default
Mon Jul 6 02:26:29 2009 Initializing gdbm databases [ !! ]
* ERROR: ntop failed to start
| whereas if i start it using "ntop -u root -i eth0" it starts just fine...what is wrong with that?? my /etc/conf.d/ntop looks like Code: | # Set preferred options here
NTOP_OPTS="--http-server 3000 --https-server 0 --interface eth0"
# suggestions from bug #136983 (use it in case you experience ntop hangs)
#NTOP_OPTS="u ntop -P /var/lib/ntop --disable-schedyield --http-server 3000 --https-server 3001"
NTOP_OPTS="-u root -P /var/lib/ntop"
| the thing is that it used to start just fine until a couple of months ago and now that i needed to start it again i came confronting this problem...any help would be greatly appreciated...thanks in advance... |
|
Back to top |
|
|
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Thu Jul 16, 2009 12:25 pm Post subject: |
|
|
anyone has any opinions about why this is happening? |
|
Back to top |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Thu Aug 13, 2009 5:24 pm Post subject: |
|
|
Try this:
Code: | chown -R ntop:ntop /var/lib/ntop
|
|
|
Back to top |
|
|
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Thu Aug 13, 2009 6:04 pm Post subject: |
|
|
Code: | root@ ~ > /etc/init.d/ntop start
* Caching service dependencies ...
* Can't find service 'mount-ro' needed by 'apcupsd.powerfail'; continuing... [ ok ]
* Service ntop starting
Thu Aug 13 21:08:58 2009 NOTE: Interface merge enabled by default
Thu Aug 13 21:08:58 2009 Initializing gdbm databases [ !! ]
* ERROR: ntop failed to start
| this is what i get after doing what you suggested... |
|
Back to top |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Sat Aug 15, 2009 4:46 am Post subject: |
|
|
Hmm, no ideas sorry. Try strace -ing the startup and look for strange errors:
Code: |
strace -fo/tmp/strace.out /etc/init.d/ntop restart
less /tmp/strace.out |
|
|
Back to top |
|
|
dpetka2001 l33t
Joined: 04 Mar 2005 Posts: 804
|
Posted: Sun Aug 16, 2009 3:13 pm Post subject: |
|
|
because i don't know how to interpret such files coming from strace i would
appreciate it if you could help me...do you know of some place where i could
upload the file because it is too big to just paste it here...thanks in advance... |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Sun Apr 11, 2010 2:25 pm Post subject: Re: ntop failed to start |
|
|
dpetka2001 wrote: | hello there i try to start the service "/etc/init.d/ntop start" but i get the following Code: | root@ ~ > /etc/init.d/ntop start
* Service ntop starting
Mon Jul 6 02:26:29 2009 NOTE: Interface merge enabled by default
Mon Jul 6 02:26:29 2009 Initializing gdbm databases [ !! ]
* ERROR: ntop failed to start
|
|
Dpetka2001, have you been able to solve your problem? I have had similar issues and I have been able to address the issue by looking at /var/log/messages.
Cheers! |
|
Back to top |
|
|
|