Netdata Community

Not starting - error

This is freshly installed NetData… I run systemctl start netdata
and then systemctl status netdata

And got this:
● netdata.service - Real time performance monitoring
Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2021-04-06 10:14:33 CDT; 10s ag
Process: 22883 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
Process: 22884 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
Process: 22885 ExecStartPre=/bin/mkdir -p /var/run/netdata (code=exited, status=0/SUCCESS)
Process: 22886 ExecStartPre=/bin/chown -R netdata:netdata /var/run/netdata (code=exited, status=0/SUCCESS)
Process: 22887 ExecStart=/usr/sbin/netdata -P /var/run/netdata/netdata.pid -D (code=exited, status=1/FAILURE)
Process: 22888 ExecStopPost=/usr/libexec/netdata/plugins.d/reset_netdata_trace.sh (code=exited, status=0/SUCCESS)
Main PID: 22887 (code=exited, status=1/FAILURE)

Hi @DEPSTRCZ

How did you install netdata?

@ilyam8 why i cant type here?

@ilyam8 i reinstalled… For previus installation i used one line bash.

now i got this:_

root@Admin:~# systemctl start netdata                                                                                                                                                                                                        root@Admin:~# systemctl status netdata                                                                                                                                                                                                       ● netdata.service - Real time performance monitoring                                                                                                                                                                                            Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)                                                                                                                                                        Active: active (running) since Wed 2021-04-07 01:15:44 CDT; 1min 16s ago                                                                                                                                                                   Main PID: 29242 (netdata)                                                                                                                                                                                                                       Tasks: 47 (limit: 4915)                                                                                                                                                                                                                     Memory: 92.3M                                                                                                                                                                                                                                CGroup: /system.slice/netdata.service                                                                                                                                                                                                                ├─29242 /usr/sbin/netdata -P /var/run/netdata/netdata.pid -D                                                                                                                                                                                 ├─29260 /usr/sbin/netdata --special-spawn-server                                                                                                                                                                                             ├─29465 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1                                                                                                                                                                               ├─29470 /usr/libexec/netdata/plugins.d/apps.plugin 1                                                                                                                                                                                         ├─29473 /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1                                                                                                                                                                     ├─29474 /usr/libexec/netdata/plugins.d/go.d.plugin 1                                                                                                                                                                                         └─29475 /usr/libexec/netdata/plugins.d/ebpf.plugin 1      
Apr 07 01:15:44 Admin netdata[29242]: CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.  
Apr 07 01:15:44 Admin netdata[29242]: 2021-04-07 01:15:44: netdata INFO  : MAIN : CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.    
Apr 07 01:15:44 Admin netdata[29242]: SIGNAL: Not enabling reaper 
Apr 07 01:15:44 Admin systemd[1]: /lib/systemd/system/netdata.service:10: PIDFile= references path below legacy directory /var/run/, updating /var/run/netdata/netdata.pid → /run/netdata/netdata.pid; please update the unit file accordingl
Apr 07 01:15:45 Admin ebpf.plugin[29475]: Does not have a configuration file inside `/etc/netdata/ebpf.conf. It will try to load stock file.  
Apr 07 01:15:45 Admin ebpf.plugin[29475]: Name resolution is disabled, collector will not parser "hostnames" list.  
Apr 07 01:15:45 Admin ebpf.plugin[29475]: The network value of CIDR 127.0.0.1/8 was updated for 127.0.0.0 .  
Apr 07 01:15:45 Admin ebpf.plugin[29475]: PROCFILE: Cannot open file '/etc/netdata/apps_groups.conf'  
Apr 07 01:15:45 Admin ebpf.plugin[29475]: Cannot read process groups configuration file '/etc/netdata/apps_groups.conf'. Will try '/usr/lib/netdata/conf.d/apps_groups.conf'                                                                  ESCOC

Still cant acces page through mechine ip.

HEy @DEPSTRCZ,

Quick tim, try to wrap your terminal output around three backticks(```). It will create a code effect:

like this one 

I went ahead and edited your post. This change makes it more readable.

@OdysLam it is even more broken now :grinning_face_with_smiling_eyes: (try to swipe the output to the right)


@DEPSTRCZ i see that netdata service is active

Active: active (running) since Wed 2021-04-07 01:15:44 CDT; 1min 16s ago

Still cant acces page through mechine ip.

Is that a remote server? Perhaps a firewall?

You can check netdata listen address executing on the server where netdata is running

[ilyam@pc ~]$ sudo ss -ntlp | grep netdata
[sudo] password for ilyam:
LISTEN 0      4096       127.0.0.1:8125       0.0.0.0:*    users:(("apps.plugin",pid=17155,fd=42),("netdata",pid=17029,fd=42))
LISTEN 0      4096         0.0.0.0:19999      0.0.0.0:*    users:(("netdata",pid=17029,fd=4))
LISTEN 0      4096           [::1]:8125          [::]:*    users:(("netdata",pid=17029,fd=41))
LISTEN 0      4096            [::]:19999         [::]:*    users:(("netdata",pid=17029,fd=5))

I dont get what yo uwant me to do… Its my server in my house. Its portforwarded.
I dont knwo why is it happening… I cant acces the page through my server ip

Try to use the arrows :stuck_out_tongue:

Try to ssh into the machine that you are running the Netdata Agent and then type the following commands:
sudo ss -ntlp | grep netdata.

perhaps there is a firewall on the server that is blocking you from accessing the dashboard.

im ssh…

root@Admin:~# sudo ss -ntlp | grep netdata LISTEN 0 4096 127.0.0.1:8125 0.0.0.0:* users:(("netdata",pid=29242,fd=38)) LISTEN 0 4096 0.0.0.0:19999 0.0.0.0:* users:(("netdata",pid=29242,fd=4)) LISTEN 0 4096 [::1]:8125 [::]:* users:(("netdata",pid=29242,fd=37)) LISTEN 0 4096 [::]:19999 [::]:* users:(("netdata",pid=29242,fd=5))

Oh my god im so sorry. FireWall for some reason enable it self… I disable and now its working osrry guys!

1 Like

No worries @DEPSTRCZ , we all have those days :v:

Is there a way to see rpms of fans and temps?

It will be very usefull.

Install lm_sensors and restart netdata service, after it you should see Sensors section on the dashboard.

how to install? @ilyam8

Using you system packaging tool, if you are on debian/ubuntu

apt-get install lm-sensors

thats all?
if yes thank you so much. @ilyam8

I believe yes. This package is needed by python sensors collector.

its only for temps? Like i mean does it show like rpm or something more? @ilyam8

See my screenshot: temperature, fan, voltage, power