hi , i was install my appdynamics on linux X86_64, I have a problem
appdyn@server1 ~]$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
[appdyn@server1 ~]$ uname -a
Linux server1 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
the image link is http://photo.blog.sina.com.cn/photo/65905827t7c6930c1ea6c#pic
next i click [ok],it show like this
the image link ishttp://photo.blog.sina.com.cn/photo/65905827tdc1be7973b22
could anyone help me?
Hi ,
i had sent email with logs, can you try with server host name as "localhost" in new controller installation and if it still does not work , i request to file new query with logs either under http://appsphere.appdynamics.com/t5/AppDynamics-Pro/ct-p/AppDPro section or to file ticket at help.appdynamics.com
also make sure that you have the following entry in you windows hosts file at(C:\Windows\System32\drivers\etc):
127.0.0.1 localhost
Thanks,
Arun
Hi :
the problem is solved. Thanks for you help.
1. /etc/hosts
127.0.0.1 localhost
192.168.0.21 server1
2. look as the image
http://photo.blog.sina.com.cn/photo/65905827tdc44e0affdfb
3. then restart the controller , it's ok.
Early , I change the OS IP ,until then , the hosts file context is :
127.0.0.1 localhost
192.168.1.21 server1
and the OS IP is 192.168.1.1
now i change the OS ip to 192.168.0.1 ,but i foget to change the hosts context it still 192.168.1.21
Yesterday i change the hosts context to 192.168.0.21 ,the problem is Solution。
Hi,
Right click on controller installer and select "properties" option and in the popup select "unblock" option and save changes and run the installer as admininstrator, we suspect that controller glassfish server is getting blocked or the pre-requisites for controller installation might not have met.
Can you please confirm whether you have followed the docs:
http://docs.appdynamics.com/display/PRO12S/Install+the+Controller+on+Windows#InstalltheControlleronW...
If you still see the issue, send the logs under <Controller_install_dir>/.install4j/installation.log and install.log under <controller_install_dir> and <controller_install_dir>/logs to debug further
also we request you to post pro related queries under section http://appsphere.appdynamics.com/t5/AppDynamics-Pro/ct-p/AppDPro, as posting under different section might not get noticed by the support team
Thanks,
Arun
Hi. thanks for you help,but my OS is Linux x86_64 , i install the Appdynamics as follow
1. add user and group
#groupadd weblogic
#useradd appdyn -g weblogic
#passwd appdyn
#su - appdyn
[appdyn@server1 ~]$ id
uid=503(appdyn) gid=500(weblogic) groups=500(weblogic)
2. the .bash_profile
# PATH=$PATH:$HOME/bin
PATH=/home/weblogic/jdk1.6.0_24/bin:$PATH:$HOME/bin
export JAVA_HOME=/home/weblogic/jdk1.6.0_24
export PATH
ulimit -n 65535
3. modify limits.conf add the parameter lilke this:
[appdyn@server1 ~]$ cat /etc/security/limits.conf
appdyn soft nofile 65535
appdyn hard nofile 65535
4. run controller_64bit_linux.sh
[appdyn@server1 ~]$ sh controller_64bit_linux.sh
5. before finish , it have a problem, like that as i say .
6. i change the license
7. after finish the AppDynamics contorller can starting ,but when i login , it say faild login ,i user the username is testusr, password is testuser that when i install appdynamics set the username and password.
Hi ,
Glad to hear that the controller installation succeeded, we understood you are able to access controller but failed to login in UI.
Can you please provide the following logs:
- screenshot with contoller UI error message
- logs under <Controller_install_dir>/.install4j/installation.log
- logs under <Controller_install_dir>/.install4j/response.varfile
- and install.log under <controller_install_dir> and <controller_install_dir>/logs to debug further
Thanks,
Arun
Hi , i put the log file ,the name is all_log.rar
Hi,
Can you send the logs and screenshot with error message to akumar@appdynamics.com as i could not locate logs you attached
Thanks,
Arun
Hi thanks for you help, i didn't how to put the attachments, so i send the email to akumar@appdynamics.com. thank you .
Hi,
Thanks for the logs, i had gone through the logs that you sent in email, and found that that the username you are trying in login screen is "testuser" but we see that user name is "appadmin" from response.varfile:
#install4j response file for AppDynamics Controller 3.6.3
#Tue May 07 14:57:56 CST 2013
....
databasePort=3388
userName=appadmin
sslPort=8181
controllerConfig=demo
Can you please try to login with the user name and password you have provided during controller installation for fields [user], [password] and [re-enter password] fields, so the username is "appadmin"
Please let us know how it geos.
Thanks,
Arun
Hi, i use the usrname [appadmin] and password [appadmin] to login the controller ui, but it say 【login faild】. Then i reset the password , it say 【unable to find account(usermanagerAnonymous.passwordReset】.
can you tell me what's the password?
I'll send the email to you that the Error Image.
呵呵
Hi,
If you forgot the password/re-password provided during controller installation for user appadmin,
Please find below the steps provided below to reset the password
1. Use following commands to connect to the Controller's bin directory from command line. This directory is located here: <Controller_Install_Directory>/bin.
cd <controller-install-dir>/bin
2. Use following script to access the login database of the Controller;
For Windows: controller.bat login-db
For Linux: sh controller.sh login-db
You should now see a MySQL prompt.
3. Use following SQL command on the MySQL prompt to get user details:
select * from user \G;
check the list of username listed in the query output and provide the user id for the user listed in query output for the username you provided during controller installation.
4. Find the column "Name". This columns contains user credentials.
Given below is the sample output:
account_id: 2
id: 4
version: 47
name: appadmin
modified_on: 1301964505856
created_on: 1301935604565
created_by: 1
modified_by: 4
display_name: user1
encrypted_password: c0b137fe2d792459f26ff763cce44574a5b5ab03
email: admin@changeme.com
5. Find the user's id associated with the user's name. For the above sample output, to change the password for "appadmin", you require the user's id, which is "4".
6. Use the following SQL command to change the password:
update user set encrypted_password = sha1('mynewpass') where id = 4;
You should now be able to log into the Controller UI with the new password.
Thanks,
Arun
I Think when i install appdynamics the username and password didn't insert to the database, Then i login to mysql and insert testuser.i didn't insert the user [testuser]
mysql> create user testuser identified by 'testuser';
Query OK, 0 rows affected (0.00 sec)
mysql> grant all privileges on *.* to testuser;
Query OK, 0 rows affected (0.00 sec)
mysql> select * from user \G;
*************************** 1. row ***************************
account_id: 1
id: 1
version: 0
name: system
modified_on: 1362523642000
created_on: 1362523642000
created_by: 1
modified_by: 1
display_name: system
encrypted_password: ffafa5001e0c909eca24b2432cd17c30b858693d
email: NULL
security_provider_type: INTERNAL
provider_unique_name: system
provider_unique_name_hash: system
preferences: NULL
deleted: 0
*************************** 2. row ***************************
account_id: 1
id: 2
version: 0
name: singularity-agent
modified_on: 1362523642000
created_on: 1362523642000
created_by: 1
modified_by: 1
display_name: singularity-agent
encrypted_password: 8480fe668cd143f1723693d9fe06d7476b5e65d6
email: NULL
security_provider_type: INTERNAL
provider_unique_name: singularity-agent
provider_unique_name_hash: singularity-agent
preferences: NULL
deleted: 0
2 rows in set (0.00 sec)
ERROR:
No query specified
mysql>
Hi,
Thanks for the update. creating user from controller database is not the right approach and hence it will not help, user must be either created during controller installation or from controller UI,
please try to reinstall and let us know how it goes. make sure there are no errors related to user creation while installation
Thanks,A
Arun
Hi ,
i had sent email with logs, can you try with server host name as "localhost" in new controller installation and if it still does not work , i request to file new query with logs either under http://appsphere.appdynamics.com/t5/AppDynamics-Pro/ct-p/AppDPro section or to file ticket at help.appdynamics.com
also make sure that you have the following entry in you windows hosts file at(C:\Windows\System32\drivers\etc):
127.0.0.1 localhost
Thanks,
Arun
Hi :
the problem is solved. Thanks for you help.
1. /etc/hosts
127.0.0.1 localhost
192.168.0.21 server1
2. look as the image
http://photo.blog.sina.com.cn/photo/65905827tdc44e0affdfb
3. then restart the controller , it's ok.
Early , I change the OS IP ,until then , the hosts file context is :
127.0.0.1 localhost
192.168.1.21 server1
and the OS IP is 192.168.1.1
now i change the OS ip to 192.168.0.1 ,but i foget to change the hosts context it still 192.168.1.21
Yesterday i change the hosts context to 192.168.0.21 ,the problem is Solution。
Hi:
mysql> select * from user \G;
*************************** 1. row ***************************
account_id: 1
id: 1
version: 0
name: system
modified_on: 1362523642000
created_on: 1362523642000
created_by: 1
modified_by: 1
display_name: system
encrypted_password: ffafa5001e0c909eca24b2432cd17c30b858693d
email: NULL
security_provider_type: INTERNAL
provider_unique_name: system
provider_unique_name_hash: system
preferences: NULL
deleted: 0
*************************** 2. row ***************************
account_id: 1
id: 2
version: 0
name: singularity-agent
modified_on: 1362523642000
created_on: 1362523642000
created_by: 1
modified_by: 1
display_name: singularity-agent
encrypted_password: 8480fe668cd143f1723693d9fe06d7476b5e65d6
email: NULL
security_provider_type: INTERNAL
provider_unique_name: singularity-agent
provider_unique_name_hash: singularity-agent
preferences: NULL
deleted: 0
2 rows in set (0.00 sec)
ERROR:
No query specified
I think when i install the appdynamic, the user didn't insert into the database.
when i install the username and password are testusre.
mysql> select * from user;
+------------+----+---------+-------------------+---------------+---------------+------------+-------------+-------------------+------------------------------------------+-------+------------------------+----------------------+---------------------------+-------------+---------+
| account_id | id | version | name | modified_on | created_on | created_by | modified_by | display_name | encrypted_password | email | security_provider_type | provider_unique_name | provider_unique_name_hash | preferences | deleted |
+------------+----+---------+-------------------+---------------+---------------+------------+-------------+-------------------+------------------------------------------+-------+------------------------+----------------------+---------------------------+-------------+---------+
| 1 | 1 | 0 | system | 1362523642000 | 1362523642000 | 1 | 1 | system | ffafa5001e0c909eca24b2432cd17c30b858693d | NULL | INTERNAL | system | system | NULL | 0 |
| 1 | 2 | 0 | singularity-agent | 1362523642000 | 1362523642000 | 1 | 1 | singularity-agent | 8480fe668cd143f1723693d9fe06d7476b5e65d6 | NULL | INTERNAL | singularity-agent | singularity-agent | NULL | 0 |
+------------+----+---------+-------------------+---------------+---------------+------------+-------------+-------------------+------------------------------------------+-------+------------------------+----------------------+---------------------------+-------------+---------+
2 rows in set (0.00 sec)
mysql>
Hi ,
Thanks for the query output. we suspect that the user creation failed somehow, as we could appadmin user is missing in user table output. which should have been there.
also can you access controller at http://server1:8090/controller and try with username and password for appadmin user.
as we see from server.log: -Dappdynamics.controller.hostName=server1
If you still see the issue, reinstall controller and do note the username and password provided during installation and check if installation succeeds and try to login, let us know how it goes
Thanks,
Arun