The issue is fixed now and it seems like I have enabled the sim and after I have disabled the sim field in controller.info and started the agent it’s working.
Agent license request denied. Agent type: Server Visibility; Host: localhost.localdomain; Reason: Not licensed for account
[root@localhost logs]# more machine-agent.log
localhost.localdomain==> [main] 30 May 2022 03:21:11,806 INFO FlexibleX509TrustManager - Using default keystore for SSL certi
ficate validation.
localhost.localdomain==> [main] 30 May 2022 03:21:12,301 INFO HostIdProvider - Default Host Identifier Resolver using host na
me for unique host identifier [localhost.localdomain]
localhost.localdomain==> [main] 30 May 2022 03:21:12,431 INFO MachineLicensePropertiesProvider - Detected Virtual CPU Count:
1
localhost.localdomain==> [main] 30 May 2022 03:21:12,431 INFO MachineLicensePropertiesProvider - Detected Logical CPU Count:
1
localhost.localdomain==> [main] 30 May 2022 03:21:12,431 INFO MachineLicensePropertiesProvider - Detected Physical CPU Count:
1
localhost.localdomain==> [system-thread-0] 30 May 2022 03:21:14,649 INFO SecondStageSystem - Starting main system with featur
es Features(features=[dmm], reason=Features.Reason(message=Unsuccessful leasing a Server Monitoring license, code=License Leas
e Failed))