DirectAdmin 1.61.0 RC1 netdata issues

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
Centos 6 (64 bit) i install with last custombuild 2.0 (rev 2494) but not work and if i restart service:

==============
[root@xxx ~]# service netdata restart
Stopping netdata... [FAILED]
Starting netdata...2020-05-15 16:59:01: netdata INFO : MAIN : CONFIG: cannot load cloud config '/opt/netdata/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.
2020-05-15 16:59:01: netdata INFO : MAIN : SIGNAL: Not enabling reaper
2020-05-15 16:59:01: netdata ERROR : MAIN : LISTENER: UNIX bind() on path '/var/run/netdata/netdata.sock' failed. (errno 2, No such file or directory)
2020-05-15 16:59:01: netdata ERROR : MAIN : LISTENER: Cannot create unix socket '/var/run/netdata/netdata.sock'
2020-05-15 16:59:01: netdata FATAL : MAIN :LISTENER: Cannot listen on any API socket. Exiting... # : Invalid argument

2020-05-15 16:59:01: netdata INFO : MAIN : EXIT: netdata prepares to exit with code 1...
2020-05-15 16:59:01: netdata INFO : MAIN : EXIT: cleaning up the database...
2020-05-15 16:59:01: netdata INFO : MAIN : Cleaning up database [0 hosts(s)]...
2020-05-15 16:59:01: netdata INFO : MAIN : EXIT: removing netdata PID file '/opt/netdata/var/run/netdata/netdata.pid'...
2020-05-15 16:59:01: netdata ERROR : MAIN : EXIT: cannot unlink pidfile '/opt/netdata/var/run/netdata/netdata.pid'. (errno 2, No such file or directory)
2020-05-15 16:59:01: netdata INFO : MAIN : EXIT: all done - netdata is now exiting - bye bye...
[FAILED]
==============
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
And... if i remove, i have this error:

Deleting netdata user from squid group ...
[/root]# gpasswd -d netdata squid
gpasswd: group 'squid' does not exist in /etc/group
FAILED
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,080
Location
LT, EU
Try:
Code:
mkdir -p /var/run/netdata/
chown netdata:netdata /var/run/netdata
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
ok good, but i have this message:
================
# service netdata restart
Stopping netdata... [ OK ]
Starting netdata...2020-05-15 17:34:42: netdata INFO : MAIN : CONFIG: cannot load cloud config '/opt/netdata/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.
2020-05-15 17:34:42: netdata INFO : MAIN : SIGNAL: Not enabling reaper
[ OK ]
================

and if i go on http://xxx.xxx.xxx.xxx:19999 ... not work
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
and when install netdata, i have this:

======================
--- Add user netdata to required user groups ---
Group 'docker' does not exist.
FAILED Failed to add netdata user to secondary groups

Group 'nginx' does not exist.
FAILED Failed to add netdata user to secondary groups

Group 'varnish' does not exist.
FAILED Failed to add netdata user to secondary groups

Group 'haproxy' does not exist.
FAILED Failed to add netdata user to secondary groups

Adding netdata user to the adm group ...
[/opt/netdata]# usermod -a -G adm netdata
OK

Group 'nsd' does not exist.
FAILED Failed to add netdata user to secondary groups

Group 'proxy' does not exist.
FAILED Failed to add netdata user to secondary groups

Group 'squid' does not exist.
FAILED Failed to add netdata user to secondary groups

Group 'ceph' does not exist.
FAILED Failed to add netdata user to secondary groups

Adding netdata user to the nobody group ...
[/opt/netdata]# usermod -a -G nobody netdata
OK

Group 'I2C' does not exist.
FAILED Failed to add netdata user to secondary groups
======================
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,080
Location
LT, EU
:19999 shouldn't work :) Try accessing it directly from DirectAdmin interface.
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
ok, netdata-updater run this night, and after netdata not work.
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
i remove and reinstall Netdata, and i run manually /etc/con.daily/netdata-updater ... and same problem.
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
and when remove netdata, it's not remove from DA panel.
/opt/netdata/usr/libexec/netdata/netdata-uninstaller.sh --yes
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,080
Location
LT, EU
Are you sure process isn't there anymore?
Code:
ps auxwf | grep netdata
 

pmjcreations

Verified User
Joined
Jul 3, 2019
Messages
70
Hi @smtalk,

I have uninstalled Netdata and reinstalled via CB.

cd /usr/local/directadmin/custombuild
./build netdata

Now, I don't see any Netdata icon in DA.

My DA version is 1.60.4, would this be the reason?
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
For the link in DA panel "Netdata server metrics" after remove, not remove in DA panel.

And netdata is not in Service Monitor.
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
i have this message on https://app.netdata.cloud/ account: (i see server in panel but not connect)

This node is unreachable
This can be a temporary problem of that specific node if this problem persists please contact your administrator.
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
i install with last DA version 1.61 and i have same error on 4 servers (test) and same problems
 

DRKT

Verified User
Joined
Oct 8, 2003
Messages
180
ok, but all Netdata crash each day for this /etc/con.daily/netdata-update
Why? i test retart this but not work... i remove nd reinstall each time
 
Top