Hi All,

I am trying to reset the  ACS UI login password as described in the links
below.

URL :-
https://svn.apache.org/repos/asf/cloudstack/docsite/html/docs/ko-KR/Apache_CloudStack/4.1.0/html/Admin_Guide/change-database-password.html
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/management.html#changing-the-database-password

I am using ACS version 4.13 and MariaDB 10.3

I just wanted to change the login password and followed the
above instructions. I am able to change the password in MariDB .
When tried the next step, I am getting this below error

java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.3.jar \
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \
input="newpassword123" password="`cat /etc/cloudstack/management/key`" \
verbose=false

Error: Could not find or load main class
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI

Caused by: java.lang.ClassNotFoundException:
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI


Tried this below also same issue,

java -classpath /usr/share/java/cloud-jasypt-1.8.jar \
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI encrypt.sh \
input="newpassword123" password="management_server_secret_key" \
verbose=false

Error: Could not find or load main class
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI

Caused by: java.lang.ClassNotFoundException:
org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI


I can see this file exists at this path "/etc/cloudstack/management/key"


Can someone help me fix the issue.


Thankyou,

Mark.

Reply via email to