Go to advanced search

by castletonroad
Mon Aug 17, 2015 11:54 am
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

Re: How to set ntopng to run as a daemon

jojopi

That's not it.

I've been running a backup image of Raspbian this evening, with that same ntopng.conf file, and ntopng works fine...
by castletonroad
Sun Aug 16, 2015 11:13 pm
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

Re: How to set ntopng to run as a daemon

Also, /var/log/ntopg/ntopng.log: 17/Aug/2015 07:12:24 [src/Prefs.cpp:676] Using ElasticSearch for data dump [flows][ntopng-%Y.%m.%d][http://192.168.1.19:9200/_bulk] 17/Aug/2015 07:12:24 [src/Prefs.cpp:460] ERROR: Unknown value for -S 17/Aug/2015 07:12:24 [src/Prefs.cpp:813] Logging into /var/tmp/nto...
by castletonroad
Sun Aug 16, 2015 11:08 pm
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

Re: How to set ntopng to run as a daemon

ntopg.conf -U=ntopng -F=es;flows;ntopng-%Y.%m.%d;http://192.168.1.19:9200/_bulk # /etc/ntopng/ntopng.conf # # The configuration file is similar to the command line, with the exception that an equal # sign '=' must be used between key and value. Example: -i=p1p2 or --interface=p1p2 For # options with...
by castletonroad
Sun Aug 16, 2015 9:09 pm
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

Re: How to set ntopng to run as a daemon

Thank you jojopi, I'm not clear what changes you're suggesting I make.

Note, this file was previously working just fine...
by castletonroad
Sun Aug 16, 2015 11:15 am
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

Re: How to set ntopng to run as a daemon

Thanks for the fast response. I haven't touched the init.d file since the day of installation. The offending portion of code is here: get_ntopng_pid() { if [ -f "/etc/ntopng/ntopng.conf" ]; then PID_FILE=$(cat /etc/ntopng/ntopng.conf | grep -E '\-G=|--pid'|cut -d '=' -f 2) else PID_FILE="/var/tmp/nt...
by castletonroad
Sun Aug 16, 2015 9:44 am
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

Re: How to set ntopng to run as a daemon

Groan, now I have another problem. For some reason, ntopng now refuses to start as daemon, with the following error message: [....] Starting ntopng:/etc/init.d/ntopng: line 64: [: too many arguments /etc/init.d/ntopng: line 64: [: too many arguments /etc/init.d/ntopng: line 64: [: too many arguments...
by castletonroad
Tue Aug 11, 2015 9:17 pm
Forum: Media centres
Topic: Raspberry and nas Synology
Replies: 4
Views: 10687

Re: Raspberry and nas Synology

If you want to be able to use the NAS and the phone, but also control the RPi with the phone, then why not install Kodi? You can then share the NAS to Kodi. And Kodi can be controlled with phone apps (similar to a remote control) or the webpage (again, using your phone and its browser) that it broa...
by castletonroad
Sun Jul 26, 2015 10:55 am
Forum: Beginners
Topic: Headless Shutdown
Replies: 7
Views: 2221

Re: Headless Shutdown

I was under the impression that you need a 'clean' shutdown (e.g. from the ssh terminal) or else run the risk of a damaged SD card...
by castletonroad
Sun Jul 26, 2015 2:46 am
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

[SOLVED] Re: How to set ntopng to run as a daemon

It seems that when you install ntopng, ntopng and redis-servers get added into the start-up process (rc.d) at the same level of priority, and ntopng requires redis-server to start first.

This post fixed it for me: http://serverfault.com/questions/340408 ... f-services
by castletonroad
Sat Jul 25, 2015 11:34 pm
Forum: Troubleshooting
Topic: How to set ntopng to run as a daemon
Replies: 13
Views: 11706

How to set ntopng to run as a daemon

Hi there, I have recently got my first Raspberry Pi and am enjoying the world of budget computing! I'm sure that in due course I'll find some interesting projects to try out, but for now, my RPi is satisfying my need for a Linux-based system to tinker around with. I have so far successfully set up m...

Go to advanced search