I have installed version of ntop 4.0.3 by guide.
But I can't start ntop daemon/service. I didn't find a service file for starting.
During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required.
I followed as far as below. I was mistaken or guide is wrong.
I only run
./autogen.sh
Type the following commands to compile and install ntop:
# ./autogen.sh
Just type make to compile ntop:
# make
Just type make install to install ntop:
# make install
# make install-data-as
I installed ntop and it's running now. I accepted port 3000 from iptables.
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3000 -j ACCEPT
localhost is ok but I can't reach from outside to ntop webgui. http://ntop-machine-ip:3000 : can't display ntop page.
I tried to enter web users path from Admin+ Configure+Web users on Ntop webpage on ntopmachine but password is not concerned.
I have already two users which are ntop and root and passwords are same.
I hope you dont have any other iptables rule to block the IP or a subnet.
If you are suspecting the iptables, temporarily stop it and check whether you are able to access the page from the network so that we can identify the culprit.
Please post the iptables -L o/p or the contents of /etc/sysconfig/iptables file
I have installed ntop again but I give error messages like below.
What is the meaning of "open of /usr/local/var/ntop/prefsCache.db failed: Can't be writer"
What do I need to do for this problem. mysql or something like that. What did I do wrong? I can't reach admin panel because password isn't compatible. pictures are attached. All of the data is removing when I stop ntop. I think ntop can't write any data in own file. but why?
# ntop
Wed Jun 22 10:38:00 2011 NOTE: Interface merge enabled by default
Wed Jun 22 10:38:00 2011 Initializing gdbm databases
Wed Jun 22 10:38:00 2011 **ERROR** ....open of /usr/local/var/ntop/prefsCache.db failed: Can't be writer
Wed Jun 22 10:38:00 2011 Possible solution: please use '-P <directory>'
Wed Jun 22 10:38:00 2011 **FATAL_ERROR** GDBM open failed, ntop shutting down...
Wed Jun 22 10:38:00 2011 CLEANUP[t3086170640]: ntop caught signal 2 [state=2]
Wed Jun 22 10:38:00 2011 ntop is now quitting...
#
Thanks friend. I have controlled files and folders permissions go by /var/log/messages.
I can reach to configuration page of admin site.
*All of data is removed when service is stoped. Could you offer a suggestion about storing information.
*How can I limit to reach http://ntop:3000 page from LAN. I want that only 3 or 4 person can browse this page. Is iptables enough for limiting the users. or .....?