Dwann,
I believe what's missing is the python rrdtool module.
Try this:
artemis:~ alexs$ python -c 'import rrdtool'
If you get something like:
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named rrdtool
Then you need to find the 'python-rrdtool' RPM (it appears to be on
RPMFind) or build the source from http://sourceforge.net/projects/py-
rrdtool/
HTH,
alex
On Apr 6, 2007, at 5:49 AM, Dwann Hall wrote:
I am new to flow tools and Linux for that matter. I was able to
stumble through getting flow-tools configured. I am able to get
flow-report to work as well. But when I try to run flow-rpt2rrd, I
get an error when python tries to "import rrdtool". I thought is
was a profile error, so inserted the path to librrd.so.2 into my
path but to no avail. I am poised to blow away my CentOS box and
start all over again but I would like to get over this last hurdle
before resorting to rebuilding my box.
[EMAIL PROTECTED] ~]# flow-cat /var/netflow/ft/ft-
v05.2007-04-03.164001-0400 | flow-report -s/usr/local/netflow/var/
cfg/IP-Port.cfg -Stest | flow-rpt2rrd -kpercent -p rrds
Traceback (most recent call last):
File "/usr/local/netflow/bin/flow-rpt2rrd", line 5, in ?
import rrdtool
ImportError: librrd.so.2: cannot open shared object file: No such
file or directory
[EMAIL PROTECTED] ~]# locate librrd.so.2
/usr/local/rrdtool/lib/librrd.so.2
/usr/local/rrdtool/lib/librrd.so.2.0.9
/usr/local/rrdtool-1.2.19/lib/librrd.so.2
/usr/local/rrdtool-1.2.19/lib/librrd.so.2.0.9
/var/netflow/installs/rrdtool-1.2.19/src/.libs/librrd.so.2
/var/netflow/installs/rrdtool-1.2.19/src/.libs/librrd.so.2.0.9
[EMAIL PROTECTED] ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/rrdtool/lib:/usr/
local/rrdtool-1.2.19/lib:/usr/local/RRDTool/bin:/usr/local/flow-
tools/bin:/usr/local/netflow/bin:/usr/local/rrdtool-1.2.19:/usr/
local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/
bin:/root/bin
~Dwann
Dwann A. Hall
Information Technology Services
Kennesaw State University
[EMAIL PROTECTED]
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools