-
Ntop
I am running Backtrack 4 on a MacBook Pro with VMware by Fusion. Generally, runs quite well.
I have not been able to get ntop to work. The message I get is along the lines of:
**ERROR** RRD: Disabled - unable to create directory (err 13, /var/lib/ntop/rrd/graphics)
I have tried 'chmod -R 777 rrd'. No luck. Google shows that I am not the only one with this probem.
I also tried executing as a different user--no good.
I attempted to download the source and compile it. After getting all of the dependencies figured out, I still got similar error messages, all related to rrd.
Thanks,
Bryan
-
Member
hi bryan,
mkdir -p /var/lib/ntop/rrd
chmod 0777 /var/lib/ntop/rrd
works fine
/brtw2003
-
Ntop Fails to Start
Thanks for your suggestion. I've tried that in various permutations. Still the same result.
If this isn't a problem that others are having, I wonder if this is a result of running backtrack on VMware. Just to open up all the permissions, I first utilized:
root@bt: chmod -R 0777 /var/lib/ntop
I also have removed and reinstalled with apt-get.
Here is the listing of errors:
Sun 29 Mar 2009 05:53:00 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces][error=13/Permission denied]
Sun 29 Mar 2009 05:53:00 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth0][error=2/No such file or directory]
Sun 29 Mar 2009 05:53:00 PM CDT **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth0/), error 2 No such file or directory
Sun 29 Mar 2009 05:53:00 PM CDT **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:00 PM CDT **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:10 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces][error=13/Permission denied]
Sun 29 Mar 2009 05:53:10 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth0][error=2/No such file or directory]
Sun 29 Mar 2009 05:53:10 PM CDT **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth0/), error 2 No such file or directory
Sun 29 Mar 2009 05:53:10 PM CDT **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:10 PM CDT **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:14 PM CDT **WARNING** gzflush error -2(stream error)
Sun 29 Mar 2009 05:53:20 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces][error=13/Permission denied]
Sun 29 Mar 2009 05:53:20 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth0][error=2/No such file or directory]
Sun 29 Mar 2009 05:53:20 PM CDT **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth0/), error 2 No such file or directory
Sun 29 Mar 2009 05:53:20 PM CDT **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:20 PM CDT **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:30 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces][error=13/Permission denied]
Sun 29 Mar 2009 05:53:30 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth0][error=2/No such file or directory]
Sun 29 Mar 2009 05:53:30 PM CDT **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth0/), error 2 No such file or directory
Sun 29 Mar 2009 05:53:30 PM CDT **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:30 PM CDT **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:40 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces][error=13/Permission denied]
Sun 29 Mar 2009 05:53:40 PM CDT **WARNING** RRD: [path=/var/lib/ntop/interfaces/eth0][error=2/No such file or directory]
Sun 29 Mar 2009 05:53:40 PM CDT **WARNING** RRD: mkdir(/var/lib/ntop/interfaces/eth0/), error 2 No such file or directory
Sun 29 Mar 2009 05:53:40 PM CDT **WARNING** RRD: rrd_create(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: creating '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
Sun 29 Mar 2009 05:53:40 PM CDT **WARNING** RRD: rrd_update(/var/lib/ntop/interfaces/eth0/throughput.rrd) error: opening '/var/lib/ntop/interfaces/eth0/throughput.rrd': No such file or directory
-
Member
hi,
try this:
sudo rm -r /var/lib/ntop/*
sudo chown ntop:ntop /var/lib/ntop >>(ntop user/group already exists under BT4)
sudo ntop -i eth0 -u ntop
I'm using the included BT4 ntop version:
ii ntop 3:3.3-11 display network usage in web browser
Rgds
brtw2003
-
NTop Fails to Start
brtw2003,
Thanks for advice. Running it as ntop as user 'ntop' vs. root didn't make a difference--same error messages.
This may just be a problem running bt4 on Vmware on OS X rather than a problem with ntop running natively.
If anyone running bt4 under Vmware reads this post, I would be curious if they are able to run ntop.
Bryan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules