Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntop failed to start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Sun Jul 05, 2009 11:30 pm    Post subject: ntop failed to start Reply with quote

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
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Thu Jul 16, 2009 12:25 pm    Post subject: Reply with quote

anyone has any opinions about why this is happening?
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Thu Aug 13, 2009 5:24 pm    Post subject: Reply with quote

Try this:
Code:
chown -R ntop:ntop /var/lib/ntop
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Thu Aug 13, 2009 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Sat Aug 15, 2009 4:46 am    Post subject: Reply with quote

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
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Sun Aug 16, 2009 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Sun Apr 11, 2010 2:25 pm    Post subject: Re: ntop failed to start Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum