I'm receiving an error when trying to configure pmm-admin on Rockey Linux 9.2

When i run below command “pmm-admin config–server-insecure-tls --server-url=https://admin:*********@IPADDRESS/ --debug”

I’m receiving below error:

Host: IPADDRESS
User-Agent: Go-http-client/1.1
Content-Length: 198
Accept: application/json
Authorization: Basic YWRtaW46em9sYm9vY2VudG9z
Content-Type: application/json
Accept-Encoding: gzip

{“node_type”:“GENERIC_NODE”,“node_name”:“pgnes”,“address”:“IPADDRESS”,“machine_id”:“/machine_id/5a9de61f6c834ebc9e603bda3d71a31a”,“distro”:“linux”,“metrics_mode”:“AUTO”,“disable_collectors”:null}

DEBUG 2023-05-18 09:28:44.310561024Z: HTTP/1.1 500 Internal Server Error
Content-Length: 92
Connection: keep-alive
Content-Type: application/json
Date: Thu, 18 May 2023 09:26:41 GMT
Server: nginx
Strict-Transport-Security: max-age=63072000; includeSubdomains;

{
“error”: “Internal server error.”,
“code”: 13,
“message”: “Internal server error.”
}
DEBUG 2023-05-18 09:28:44.310720096Z: Result:
DEBUG 2023-05-18 09:28:44.310744833Z: Error: &node.RegisterNodeDefault{_statusCode:500, Payload:(*node.RegisterNodeDefaultBody)(0xc0005dc0c0)}
Internal server error.

Hi, can you inspect the logs on the server side? e.g. docker logs pmm-server

Hi,

Here’s the logs on the server side:

2023-05-19 02:07:46,454 INFO spawned: ‘pmm-agent’ with pid 10573
2023-05-19 02:07:46,554 INFO exited: pmm-agent (exit status 2; not expected)
2023-05-19 02:12:40,560 INFO spawned: ‘pmm-agent’ with pid 12506
2023-05-19 02:12:40,665 INFO exited: pmm-agent (exit status 2; not expected)
2023-05-19 02:17:35,668 INFO spawned: ‘pmm-agent’ with pid 14465
2023-05-19 02:17:35,896 INFO exited: pmm-agent (exit status 2; not expected)
2023-05-19 02:22:31,961 INFO spawned: ‘pmm-agent’ with pid 16448
2023-05-19 02:22:32,057 INFO exited: pmm-agent (exit status 2; not expected)
2023-05-19 02:27:29,128 INFO spawned: ‘pmm-agent’ with pid 18431
2023-05-19 02:27:29,232 INFO exited: pmm-agent (exit status 2; not expected)
2023-05-19 02:32:27,294 INFO spawned: ‘pmm-agent’ with pid 20391
2023-05-19 02:32:27,415 INFO exited: pmm-agent (exit status 2; not expected)

Hi, there is not enough information to understand exactly what’s wrong. I suggest you open a ticket in jira.percona.com so the dev team can take a more detailed look. Please provide as much info as possible about your environment.