Discussion Feed
01-18-2018
11:50 AM
Use the following POST request to update node retention using the API.
Note: Requires root user credentials.
http://<Controller Host>:<PORT>/controller/rest/configuration?name=node.retention.period&value=<VALUE>
Example:
Set node.retention.period parameter to 50.
http://ec2-52-90-35-22.compute-1.amazonaws.com:8090/controller/rest/configuration?name=node.retention.period&value=50
POST request
... View more
- Find more articles tagged with:
- node
Labels:
01-18-2018
11:44 AM
Problem:
Controller startup fails with the following error message:
[#|2017-11-16T03:47:51.492-0600|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|Shutting down v3 due to startup exception : Permission denied: 80=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@5480b7cc|#]
This issue occurs when Controller services are started using a non-root user who doesn't have the access permissions to privileged ports (0-1024).
This is a security feature, to prevent normal user programs from squatting on well-known service ports, called privileged ports.
Solution:
Start the Controller services using the root user if using the ports 0-1024 for the Controller.
... View more
- Find more articles tagged with:
- troubleshooting
01-18-2018
09:19 AM
In AppDynamics version 4.3, users saw the following warning messages appearing many times in the Controller server logs:
2017-08-24T10:20:48.026+0200|WARNING|glassfish 4.1|com.singularity.ee.controller.beans.cache.UiMetricDataCacheManagerImpl|_ThreadID=1422;_ThreadName=http-listener-1(233);_TimeMillis=1503562848026;_LevelValue=900;|UiMetricDataCacheManagerImpl: UiCacheMaximumCountOfOneMinuteRecurringTasks limit is hit.|#]
[#|2017-08-24T10:20:48.030+0200|WARNING|glassfish 4.1|com.singularity.ee.controller.beans.cache.UiMetricDataCacheManagerImpl|_ThreadID=1420;_ThreadName=http-listener-1(231);_TimeMillis=1503562848030;_LevelValue=900;|UiMetricDataCacheManagerImpl: UiCacheMaximumCountOfOneMinuteRecurringTasks limit is hit.|#]
To avoid filling the logs with this error message, set the logger level to SEVERE in the glassfish logger settings.
Open the Glassfish UI in a browser using default port 4848.
http://localhost:4848/
Open the logger settings and add the following logger property set to SEVERE.
logger.com.singularity.ee.controller.beans.cache.UiMetricDataCacheManagerImpl
Save the new setting.
Note: This issue has been fixed in version 4.4.
... View more
11-06-2017
02:31 PM
1 Kudo
The "APM Any Language" license only works from Controller version 4.3 onwards, so upgrade the Controller to 4.3+ before using this feature.
The APM Any Language license units allow a user to utilize a single entitlement for any of the major APM monitoring solutions, so it is possible to adjust the license units across the components.
1. Follow the below link and use the instructions found there to convert the old license to an APM Any Language license:
https://portal.appdynamics.com/licenses/convertlicenses
License portal
2. Once the license has been converted, verify that all agents are reporting correctly. If no agents are reporting, edit the license rule and ensure the license units are allocated properly.
More information:
License Entitlements and Restrictions
Release Notes 4.4.3 - License Management
... View more
- Find more articles tagged with:
- APM
- entitlement
Labels:
09-06-2017
02:37 PM
5 Kudos
Users may see the following error message within the Controller's server.log file while starting the Controller services:
glassfish 4.1|javax.enterprise.system.core|_ThreadID=18;_ThreadName=RunLevelControllerThread-1494297696091;_TimeMillis=1494297835169;_LevelValue=1000;_MessageID=NCLS-CORE-00026;|Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: Error in linking security policy for controller -- Inconsistent Module State
at com.sun.enterprise.security.ee.SecurityUtil.linkPolicyFile(SecurityUtil.java:336)
at com.sun.enterprise.security.ee.SecurityDeployer.linkPolicies(SecurityDeployer.java:319)
at com.sun.enterprise.security.ee.SecurityDeployer.access$100(SecurityDeployer.java:87)
at com.sun.enterprise.security.ee.SecurityDeployer$AppDeployEventListener.event(SecurityDeployer.java:145)
To resolve this issue:
1. Stop the App Server
controller.sh/bat stop-appserver
2. Remove the content of the folder <controler-dir>/appserver /glassfish/domains/domain1/generated/
3. Remove the content of the folder <contoller-dir>/appserver/glassfish/domains/domain1/osgi-cache/
4. Start the App Server
controller.sh/bat start-appserver
... View more
- Find more articles tagged with:
- app server
- module
07-17-2017
07:50 AM
Installation has not completed successfully and there is no account created for the user, only system account is present in database. So please delete the complete controller directory and re-install the controller and see if it succeeds.
mysql> select * from account \G;
*************************** 1. row ***************************
id: 1
account_key: 10a4f4a2-5cfa-11e7-8039-005056863b50
version: 0
name: system
global_account_name: system_10a4f4a2-5cfa-11e7-8039-005056863b50
display_name: system
controller_url: NULL
notification_config_id: NULL
saml_authentication_config_id: NULL
ldap_configuration_id: NULL
security_provider_type: INTERNAL
access_key: -001-24-mykoN6eQJKVvbtzwvq2lqw==45omhEZkWhLRZqbXnDcYog==
expiration_date: 2145916800000
coradiant_integration_url: NULL
coradiant_integration_enabled: 0
edition: ENTERPRISE
start_date_of_trial: NULL
end_date_of_trial: NULL
original_email: NULL
original_first_name: NULL
original_last_name: NULL
original_company_name: NULL
timestamp: 1
deleted: 0
marked_for_purge: 0
eum_account_name: NULL
eum_cloud_license_key: NULL
eum_event_service_key: NULL
initialized_with_licenses: 0
require_strong_passwords: 0
encryption_scheme: scs
created_on: 1
1 row in set (0.00 sec)
.
... View more
07-16-2017
11:40 PM
Can you provide below details to assist you on this?
1) Controller/ install.log
2) Controller/.install4j/ installation.log
3) Controller/logs/server.log
4)Login to controller datbase and send below query details.
Controller/bin/controller.sh login-db
Mysql> select * from account \G;
... View more
06-30-2017
08:13 AM
1 Kudo
In order to change the owner of the Controller, complete the following steps.
Stop all running Controller services using the following command in the machine terminal.
./controller.sh stop
Change the username and user group of the Controller directory.
chown -R <New User>:<User Group> <Controller Folder>
Update the new user in the db.cnf file located at Controller/db/db.cnf .
user=<New User>
Start the Controller.
./controller.sh start
... View more
- Find more articles tagged with:
- controller
- Directory
- owner
Labels:
06-01-2017
04:45 AM
From the controller UI we don't have option to see who all logged in, but we can query the database to get the list of user logged in.
Please run below query to get the users list.
select from_unixtime(ts_ms/1000),account_name,user_name,action from controller_audit where action like '%login%' and user_name!='system';
... View more
05-31-2017
02:07 AM
There is no API to get the list of account with IDs, you can get account details only if you know the account ID. You can query the controller database to get the account IDs like below:
Get all the account with IDs:
select id as AccountID, name as AccountName from account;
Get specific account ID:
select id as AccountID, name as AccountName from account where name='<Account Name>';
... View more
Latest Activity
- Got a Kudo for Re: Encountered error during registration. Will retry in 60 seconds.. 06-01-2020 10:17 AM
- Got a Kudo for How do I convert an old license to an APM Any Language license?. 08-23-2019 05:18 AM
- Got a Kudo for How do I resolve an inconsistent module state while starting Controller services?. 07-08-2019 06:26 AM
- Got a Kudo for How do I resolve an inconsistent module state while starting Controller services?. 01-29-2019 07:41 PM
- Got a Kudo for How do I resolve an inconsistent module state while starting Controller services?. 05-04-2018 01:51 PM
- Got a Kudo for How do I resolve an inconsistent module state while starting Controller services?. 02-05-2018 11:44 AM
- Got a Kudo for How do I resolve an inconsistent module state while starting Controller services?. 01-25-2018 09:59 AM
- Posted How to set node retention using REST API on Knowledge Base. 01-18-2018 11:50 AM
- Posted Why does the Controller startup fail with the error message "Permission denied"? on Knowledge Base. 01-18-2018 11:44 AM
- Posted How do I resolve a Controller log full of error messages on v4.3? on Knowledge Base. 01-18-2018 09:19 AM
- Posted How do I convert an old license to an APM Any Language license? on Knowledge Base. 11-06-2017 02:31 PM
- Posted How do I resolve an inconsistent module state while starting Controller services? on Knowledge Base. 09-06-2017 02:37 PM
- Posted Re: AppD is not getting installed properly on Controller (SaaS, On Premise). 07-17-2017 07:50 AM
- Posted Re: AppD is not getting installed properly on Controller (SaaS, On Premise). 07-16-2017 11:40 PM
- Got a Kudo for How do I change the Controller owner?. 07-04-2017 10:45 PM
- Posted How do I change the Controller owner? on Knowledge Base. 06-30-2017 08:13 AM
- Posted Re: How can i check users logged into controller on Controller (SaaS, On Premise). 06-01-2017 04:45 AM
- Posted Re: Accounts API on Controller (SaaS, On Premise). 05-31-2017 02:07 AM
- Posted Re: Encountered error during registration. Will retry in 60 seconds. on Controller (SaaS, On Premise). 05-31-2017 01:53 AM
- Posted Re: Event on a Health rule widget on Dashboards. 05-31-2017 01:46 AM
Community Stats
Date Registered | 01-11-2016 02:57 AM |
Date Last Visited | 02-27-2021 04:49 AM |
Total Messages Posted | 14 |
Total Kudos Received | 8 |