zhangsanfeng88 发表于 2019-1-26 11:59:33

ntop

今天看ntop-3.3.9版本决定试试,结果make 时出错,提示

gcc: /opt/soft/ntop-3.3.9/GeoIP-1.4.5/libGeoIP/.libs//.libs/libGeoIP.so: No such file or directory



解决方法为:



# cd /ntop-3.3.9/GeoIP-1.4.5/libGeoIP/.libs/

# ln -s . .libs

# make

成功

Install directories:

   Default prefix: /usr/local
Install into:   NONE (default or via --prefix request)
Data files are in   /usr/local/share/ntop
Config files are in   /usr/local/etc/ntop
Run directory is      /usr/local/var/ntop
Plugin files are in   /usr/local/lib/ntop/plugins
Database files are in /usr/local/var/ntop




不过我想以上的方法可能是错的,因为每次启动都会报错



Error Opening file ./GeoLiteCity.dat
Error Opening file ./GeoIPASNum.dat



看了好多文章,似乎是bug,期待解决。







页: [1]
查看完整版本: ntop