I recently started using net-analyzer/netdata-1.4.0, but it took me some time to figure how to start it. On a fresh install this is what gets in the error.log: 16-10-18 03:00:13: INFO: netdata: NetData started on pid 10204 16-10-18 03:00:13: FATAL: netdata: Cannot create unique machine id file '/var/lib/netdata/registry/netdata.public.unique.id'. Please fix this. # : Permission denied 16-10-18 03:00:13: INFO: netdata: Called: netdata_cleanup_and_exit() Apparently, wrong permissions: # ls -lasd /var/lib/netdata/registry/ 4 drwxr-xr-x 2 root root 4096 Oct 18 02:59 /var/lib/netdata/registry/ A quick dab at the ebuild couldn't find a good solution :-| BTW, when I manually ran `sudo chown netdata:netdata /var/lib/netdata -R` all was fine. Additionally the following QA notice appears: * QA Notice: Unrecognized configure options: * * --enable-sse * --enable-sse * QA Notice: This ebuild installs into paths that should be created at runtime. * To fix, simply do not install into these directories. Instead, your package * should create dirs on the fly at runtime as needed via init scripts/etc... * * var/cache * var/cache/netdata * var/cache/netdata/.keep
Thanks for the information! I've submitted a PR at https://github.com/gentoo/gentoo/pull/2733 which I believe addresses all your issues except for the /var/cache QA noticed because that one requires work by upstream, see https://github.com/firehol/netdata/issues/1204