Problem Note 54803: An encryption-operation exception occurs when you start the SAS® 9.4 Environment Manager agent
In the first maintenance release for SAS® 9.4 (TS1M1), the SAS Environment Manager 2.1 agent fails to start. When this happens, the following, repetitive errors are generated:
24-11-2014 15:04:25,036 CST INFO [AgentDaemonMain] [Agen...
24-11-2014 15:04:25,036 CST INFO [AgentDaemonMain] [AgentDaemon@1062] Attempting to rollback agent bundle
24-11-2014 15:04:25,038 CST INFO [AgentDaemonMain] [AgentDaemon@1071] Rollback of agent bundle was successful
24-11-2014 15:04:25,038 CST INFO [AgentDaemonMain] [AgentDaemon@1076] Restarting JVM...
24-11-2014 15:04:25,039 CST INFO [AgentDaemonMain] [AgentUpgradeManager@67] restart requested
24-11-2014 15:04:44,343 CST ERROR [AgentDaemonMain] [AgentDaemon@1016] Agent configuration failed:
org.jasypt.exceptions.EncryptionOperationNotPossibleException
at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:981)
at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:717)
at org.jasypt.encryption.pbe.PooledPBEStringEncryptor.decrypt(PooledPBEStringEncryptor.java:500)
at org.hyperic.util.security.SecurityUtil.decryptRecursiveUnmark(SecurityUtil.java:110)
at org.hyperic.hq.agent.server.AgentDListProvider.init(AgentDListProvider.java:385)
at org.hyperic.hq.agent.server.AgentDaemon.createStorageProvider(AgentDaemon.java:385)
at org.hyperic.hq.agent.server.AgentDaemon.configure(AgentDaemon.java:431)
at org.hyperic.hq.agent.server.AgentDaemon.newInstance(AgentDaemon.java:185)
at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:1013)
at java.lang.Thread.run(Thread.java:722)
To workaround this problem:
- Stop the SAS Environment Manager agent services.
- Delete or rename the data directory that resides in the SAS-configuration-directory\Levn\Web\SASEnvironmentManager\agent-5.0.0-EE directory.
- Delete or rename the agent.scu file that resides in the
SAS-configuration-directory\Levn\Web\SASEnvironmentManager\agent-5.0.0-EE\conf directory.
- Change encrypted properties in the agent.properties and auto-approve.properties files to plain-text values. The encrypted properties in these files are in the format ENC(XXXXXXXXXX), so you need to change them to plain-text values.
- In the agent.properties file that resides in SAS-configuration-directory/Lev2/Web/SASEnvironmentManager/agent-5.0.0-EE/conf/,
set the property agent.setup.camPword to a plain-text password value.
- In the auto-approve.properties file that resides in SAS-configuration-directory/Lev2/Web/SASEnvironmentManager/agent-5.0.0-EE/conf/, change all values in auto-approve.properties to true.
- Execute the following command from a command prompt:
\Lev1\Web\SASEnvironmentManager\agent-5.0.0-EE\bin\hq-agent.bat/sh
restart
Operating System and Release Information
SAS System | SAS Environment Manager | Microsoft® Windows® for x64 | 2.1_M1 | | 9.4 TS1M1 | |
Linux for x64 | 2.1_M1 | | 9.4 TS1M1 | |
Solaris for x64 | 2.1_M1 | | 9.4 TS1M1 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-12-11 11:13:14 |
Date Created: | 2014-12-08 15:13:05 |