Did you get anywhere Tim? I'm stuck in a few places as well and no one here 
seems to care. I found a blog post that furthered my setup further, but I found 
a couple errors that you have below and all I found was your post. 




----- 
Mike Hammett 
Intelligent Computing Solutions 
http://www.ics-il.com 

----- Original Message -----

From: "Tim Bernhardson" <[email protected]> 
To: [email protected] 
Sent: Tuesday, July 30, 2013 5:36:36 PM 
Subject: [Ntop] ntopng config file issue 



I am having a problem where ntopng appears to be not reading the config file ( 
I have tried both the short and long form for the Parameters ).. 
Any idea what I am doing wrong? 
CentOS 6.4 64Bit, ntopng installed from Repo, Version 1.0.1_6637 

cat ntopng.conf 
# ntopng Configuration File 

# run as user ntop 
#--user ntop 
-U ntop 

# run as daemon 
--daemon 

# for testing use different http port 
#--http-port 3050 
-w 3050 

# Set the Default Data Directory 
--data-dir /etc/ntopng/data 

# Set the HTTP Documents Directory 
--httpdocs-dir /usr/local/share/ntopng/httpdocs 

# Set the Scripts Directory 
--scripts-dir /usr/local/share/ntopng/scripts 

# Set the Callbacks Directory 
--callbacks-dir /usr/local/share/ntopng/scripts/callbacks 

# Set the redis Info 
--redis localhost:6379 

# Interfaces to Monitor 
#--interface eth1,eth2,eth3,eth4 
#-i eth3 
--interface 6 

# Set PID File 
#--pid /var/run/ntopng/ntopng.pid 
-G=/var/run/ntopng/ntopng.pid 

# Use our Protocol List 
#--protocols /usr/local/ntop/etc/ntop/protocol.list 

# Since the Interfaces we capture from don't have an IP Address 
# We need to set the LocalHostNetworks 
#--local-subnets 
"192.168.40.0/24,192.168.42.0/24,192.168.43.0/24,192.168.45.0/24" 
-m "192.168.40.0/24,192.168.42.0/24,192.168.43.0/24,192.168.45.0/24" 

# Enable some debugging 
--verbose 

/usr/local/bin/ntopng /etc/ntopng/ntopng.conf 
30/Jul/2013 15:27:14 [Redis.cpp:54] Succesfully connected to Redis 64 bit 
v.2.4.10 
30/Jul/2013 15:27:14 [Ntop.cpp:402] Setting local networks to 192.168.1.0/24 
30/Jul/2013 15:27:14 [AddressResolution.cpp:129] Rule '192.168.1.0'/'24' 
30/Jul/2013 15:27:14 [Ntop.cpp:402] Setting local networks to 
0.0.0.0/32,192.168.0.0/16,172.16.0.0/16,224.0.0.0/8,239.0.0.0/8 
30/Jul/2013 15:27:14 [AddressResolution.cpp:129] Rule '0.0.0.0'/'32' 
30/Jul/2013 15:27:14 [AddressResolution.cpp:129] Rule '192.168.0.0'/'16' 
30/Jul/2013 15:27:14 [AddressResolution.cpp:129] Rule '172.16.0.0'/'16' 
30/Jul/2013 15:27:14 [AddressResolution.cpp:129] Rule '224.0.0.0'/'8' 
30/Jul/2013 15:27:14 [AddressResolution.cpp:129] Rule '239.0.0.0'/'8' 
30/Jul/2013 15:27:14 [Prefs.cpp:476] WARNING: Config file 
/var/tmp/ntopng-users.conf not found (it will be created) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:70] WARNING: No capture interface 
specified 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:872] Available interfaces (-i 
<interface index>): 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 1. (eth0) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 2. (eth1) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 3. USB bus number 1 (usbmon1) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 4. (eth2) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 5. USB bus number 2 (usbmon2) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 6. (eth3) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 7. USB bus number 3 (usbmon3) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 8. (eth4) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 9. USB bus number 4 (usbmon4) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 10. USB bus number 5 (usbmon5) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 11. Pseudo-device that captures 
on all interfaces (any) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 12. (lo) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:70] WARNING: No capture interface 
specified 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:872] Available interfaces (-i 
<interface index>): 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 1. (eth0) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 2. (eth1) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 3. USB bus number 1 (usbmon1) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 4. (eth2) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 5. USB bus number 2 (usbmon2) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 6. (eth3) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 7. USB bus number 3 (usbmon3) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 8. (eth4) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 9. USB bus number 4 (usbmon4) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 10. USB bus number 5 (usbmon5) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 11. Pseudo-device that captures 
on all interfaces (any) 
30/Jul/2013 15:27:14 [NetworkInterface.cpp:893] 12. (lo) 
30/Jul/2013 15:27:15 [PcapInterface.cpp:53] Reading packets from interface 
eth0... 
30/Jul/2013 15:27:15 [NetworkInterface.cpp:786] User changed to nobody 
30/Jul/2013 15:27:15 [main.cpp:143] ERROR: Unable to store PID in file 
/var/run/ntopng/ntopng.pid 



Tim Bernhardson 
Technical Services Manager 
Sun-Maid Growers of California 
7273 Murray Drive, Ste 18 
Stockton, CA 95210 

Direct Telephone: 1-209-472-8547 
Facsimile: 1-209-482-8448 
E-Mail: [email protected] 
Web: www.sunmaid.com 

_______________________________________________ 
Ntop mailing list 
[email protected] 
http://listgateway.unipi.it/mailman/listinfo/ntop 
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to