MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Infact when I type ntop on the commandline as root it
gives the following :
Mon Feb 14 20:44:27 2005 ntop will be started as user nobody
Mon Feb 14 20:44:27 2005 ntop v.3.0 SourceForge .tgz MT (SSL)
Mon Feb 14 20:44:27 2005 Configured on Aug 10 2004 22:29:48, built on Aug 10 2004 22:30:24.
Mon Feb 14 20:44:27 2005 Copyright 1998-2004 by Luca Deri <deri@ntop.org>
Mon Feb 14 20:44:27 2005 Get the freshest ntop from http://www.ntop.org/
Mon Feb 14 20:44:27 2005 Initializing ntop
Mon Feb 14 20:44:27 2005 Checking eth0 for additional devices
Mon Feb 14 20:44:27 2005 Resetting traffic statistics for device eth0
Mon Feb 14 20:44:27 2005 DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Mon Feb 14 20:44:27 2005 Initializing gdbm databases
Mon Feb 14 20:44:27 2005 Now running as requested user 'nobody' (65534:65534)
Mon Feb 14 20:44:27 2005 **FATAL_ERROR** ....open of /var/lib/ntop/prefsCache.db failed: File open error
Mon Feb 14 20:44:27 2005 1. Is another instance of ntop running?
Mon Feb 14 20:44:27 2005 2. Make sure that the use you specified can write in the target directory
Mon Feb 14 20:44:27 2005 **FATAL_ERROR** ....open of /var/lib/ntop/prefsCache.db failed: File open error
Mon Feb 14 20:44:27 2005 1. Is another instance of ntop running?
Mon Feb 14 20:44:27 2005 2. Make sure that the use you specified can write in the target directory
Originally posted by bunnadik "service ntop start" won't start the web interface AFAIKT.
Try 'ntop -u ntop -w 3000' or add "-w 3000" to /etc/sysconfig/ntop
Distribution: Red Hat and Novell OES (formerly SUSE), LPI 101 and Net+
Posts: 25
Rep:
NTOP help
I am 8 mos. new to Linux so be gentle. I am running RedHat Enterprise (current upgrades to date).
Very similar error...
I had it running and then something happened.
Attempted to start ntop...
Processing file /etc/ntop.conf for parameters...
Initializing gdbm databases
**FATAL_ERROR** ....open of /var/ntop/prefsCache.db failed: Can't be writer
Possible solution: please use '-P <directory>
[FAILED]
Even stanger, somewhere along the line I read to attempt to start ntop more than once. On one of my servers after 3 attempts to start and this error; it's now running on one of 15 machines. The other 14 won't start. I have checked the -P option, the defaults, and the ownership and permissions and all is well.
Any help is appreciated. If I need to, I can send a copy of the config file.
Also, on one machine it will not install because it's already there and when I attempt a remove (rpm). It doesn't exist. I have also tried the force option but to no avail.
Any ideas?
Distribution: Red Hat and Novell OES (formerly SUSE), LPI 101 and Net+
Posts: 25
Rep:
NTOP working, but are there bugs?
Finally after about 8 hours over 2 days. I have it working. First, my boss changed the ports on me.
I stopped the non-running service, edited the config file (--http-server 30XX = XX representing the new # port), then restarted the service 3 times , confirmed it was running and then opened up the stats up a browser. Yeah and there they were!!! Is there a bug that requires more than one attempt to start the ntop service properly? If so, I guess I should e-mail NTOP, right? Anyone else experience this 3 start issue?
As for not being able to uninstall, reinstall, and force install on the one server... it helps if var is not full. I cleaned it out and now it's up and running there, too.
I have install ntop, earlier it was working fine but now m getting this problem please help me out
Mon Dec 7 15:43:43 2009 NOTE: Interface merge enabled by default
Mon Dec 7 15:43:43 2009 Initializing gdbm databases
Mon Dec 7 15:43:43 2009 **ERROR** ....open of /var/lib/ntop/prefsCache.db failed: Can't be writer
Mon Dec 7 15:43:43 2009 Possible solution: please use '-P <directory>'
Mon Dec 7 15:43:43 2009 **FATAL_ERROR** GDBM open failed, ntop shutting down...
Mon Dec 7 15:43:43 2009 CLEANUP[t3086468816]: ntop caught signal 2 [state=2]
Mon Dec 7 15:43:43 2009 ntop is now quitting...
I am facing this problems please let me know how can i solve it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.