FS#50584 - [netdata] First time startup failed

Attached to Project: Community Packages
Opened by t27049215 (t27049215) - Tuesday, 30 August 2016, 07:56 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 07 October 2016, 09:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I just installed netdata 1.3.0-1 and ran `netdata` as root.
Nothing was printed on the console and netdata process wasn't running.

This is what I found in /var/log/netdata/error.log:

16-08-30 15:39:21: INFO: netdata: Adjusted my Out-Of-Memory score to 1000.
16-08-30 15:39:21: INFO: netdata: Adjusted my scheduling priority to IDLE.
16-08-30 15:39:21: INFO: netdata: Successfully became user 'netdata'.
16-08-30 15:39:21: INFO: netdata: NetData started on pid 16623
16-08-30 15:39:21: FATAL: netdata: Cannot create unique machine id file '/var/lib/netdata/registry/netdata.public.unique.id'. Please fix this. # : Permission denied
16-08-30 15:39:21: INFO: netdata: Called: netdata_cleanup_and_exit()
16-08-30 15:39:21: INFO: netdata: Saving database...
16-08-30 15:39:21: INFO: netdata: NetData exiting. Bye bye...

after running `chown -R netdata:netdata /var/lib/netdata` fixes the issue.

This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 07 October 2016, 09:13 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Tuesday, 30 August 2016, 14:24 GMT
Please, don't do this in the install scriptlet, though. All of that needs moved to the package function.
Comment by ben copeland (bcc) - Friday, 16 September 2016, 09:35 GMT
affected by this too on fresh install
Comment by Marco Corte (marcoc) - Tuesday, 04 October 2016, 14:21 GMT
Same issue with netdata 1.4.0-1
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 05 October 2016, 19:22 GMT
Please test rel -2.
Comment by Marco Corte (marcoc) - Friday, 07 October 2016, 05:36 GMT
Rel 1.4.0-2 seems to start properly after installation.

Goood!

Loading...