pmm-admin add client error

Hi,

I tried to add new client in centos

pmm-admin config --server serverip:4444
pmm-admin add linux:metrics
pmm-admin list

I got


SERVICE TYPE NAME LOCAL PORT RUNNING DATA SOURCE OPTIONS


linux:metrics server4.com 42000 NO -

In the error log:

time=“2018-10-10T11:33:26-05:00” level=info msg=“Starting HTTPS server for https://client ip address:42000/metrics …” source=“server.go:106”
time=“2018-10-10T11:33:26-05:00” level=fatal msg=“listen tcp client ip address:42000: bind: address already in use” source=“server.go:107”

donli Please, provide PMM version. Which CentOS do you use?

Sorry for the confusion. I’m using CentOS release 6.9 (Final), pmm-admin version is 1.15.0

Any resolution to this problem? I have similar issue running pmm-client on a mysql 5.7 docker image (on Mac)
I have similar issue adding mysql service.
Could you help please?

Here is my log
root@0fd3ddfaaf25:/# cat /var/log/pmm-linux-metrics-42000.log

time=“2019-07-28T21:08:43Z” level=info msg=“Starting node_exporter (version=, branch=, revision=)” source=“node_exporter.go:142”

time=“2019-07-28T21:08:43Z” level=info msg=“Build context (go=go1.10.1, user=, date=)” source=“node_exporter.go:143”

time=“2019-07-28T21:08:43Z” level=info msg=“Enabled collectors:” source=“node_exporter.go:162”

time=“2019-07-28T21:08:43Z” level=info msg=" - diskstats" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - filefd" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - filesystem" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - netstat" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - time" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - uname" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - vmstat" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - meminfo_numa" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - textfile" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - loadavg" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - meminfo" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - netdev" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=" - stat" source=“node_exporter.go:164”

time=“2019-07-28T21:08:43Z” level=info msg=“Starting HTTPS server for [url]https://172.17.0.3:42000/metrics[/url] …” source=“server.go:106”

time=“2019-07-28T21:08:43Z” level=fatal msg=“listen tcp 172.17.0.3:42000: bind: address already in use” source=“server.go:107”