Problem Note 52200: The SAS® 9.4 Environment Manager agent services fail to start
When you try to start the SAS 9.4 Environment Manager agent services, the services fail and the errors that follow below are generated in the SAS 9.4 Environment Manager Agent wrapper.log and agent.log files. Log files are located in the folder SAS-configuration-directory\Lev1\Web\SASEnvironmentManager\agent-5.8.0-EE\log\. The wrapper.log file also indicates that the SAS Environment Manager agent stops abruptly during start-up.
In wrapper.log file, the following error appears:
***************
STATUS | wrapper | 2014/01/17 13:21:48 | Launching a JVM...
INFO | jvm 1 | 2014/01/17 13:21:50 | WrapperManager: Initializing...
INFO | jvm 1 | 2014/01/17 13:21:54 | - Invoking agent
INFO | jvm 1 | 2014/01/17 13:21:54 | - Agent thread running
INFO | jvm 1 | 2014/01/17 13:21:54 | - Verifying if agent is running...
INFO | jvm 1 | 2014/01/17 13:21:59 | Error invoking agent: Agent reported an error while starting up
INFO | jvm 1 | 2014/01/17 13:22:00 | Stopping agent ...
INFO | jvm 1 | 2014/01/17 13:22:12 | Success -- agent is stopped!
STATUS | wrapper | 2014/01/17 13:22:13 | <-- Wrapper Stopped
In the EVAgent.log file, this error appears:
****************
17-01-2014 13:21:59,162 EST ERROR [AgentDaemonMain] [AgentDListProvider@287] Error flushing data
java.io.UTFDataFormatException: encoded string too long: 75761 bytes
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:364)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323)
at org.hyperic.hq.agent.server.AgentDListProvider.flush(AgentDListProvider.java:278)
at org.hyperic.hq.agent.server.AgentDaemon.configure(AgentDaemon.java:503)
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)
17-01-2014 13:21:59,184 EST ERROR [AgentDaemonMain] [AgentDaemon@1016] Agent configuration failed:
org.hyperic.hq.agent.AgentConfigException: Error storing certdn in agent storage: org.hyperic.hq.agent.server.AgentStorageException: Error flushing data: encoded string too long: 75761 bytes
at org.hyperic.hq.agent.server.AgentDaemon.configure(AgentDaemon.java:505)
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 solve this problem, follow these steps:
- Stop the SAS Environment Manager agent services.
- Navigate to the SAS-configuration-directory\Lev1\Web\SASEnvironmentManager\agent-5.0.0-EE\data\ folder and make a backup of the keyvals file.
- Delete the keyvals file from the folder.
- Start SAS Environment Manager agent services.
- Check the status of SAS services to see whether SAS Environment Manager agent services start successfully with other services. If the services start successfully, you should see the status as shown below:
bash-4.1$ ./sas.servers status
SAS servers status:
SAS JMS Broker is UP
SAS Cache Locator Service ins_41415 is UP
SAS Web App Server SASServer1_1 is UP
SAS Web Server is UP
SAS Environment Manager is UP
SAS Environment Manager Agent is UP
Operating System and Release Information
SAS System | SAS Enterprise BI Server | Microsoft® Windows® for x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8 Enterprise x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8 Pro x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 R2 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Std | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 9.4 | | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 9.4 | | 9.4 TS1M0 | |
Windows 7 Professional x64 | 9.4 | | 9.4 TS1M0 | |
64-bit Enabled AIX | 9.4 | | 9.4 TS1M0 | |
64-bit Enabled Solaris | 9.4 | | 9.4 TS1M0 | |
HP-UX IPF | 9.4 | | 9.4 TS1M0 | |
Linux for x64 | 9.4 | | 9.4 TS1M0 | |
Solaris for x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 | | 9.4 TS1M1 | |
Microsoft Windows 8 Pro 32-bit | 9.4 | | 9.4 TS1M1 | |
Microsoft Windows Server 2008 | 9.4 | | 9.4 TS1M1 | |
Windows 7 Enterprise 32 bit | 9.4 | | 9.4 TS1M1 | |
Windows 7 Home Premium 32 bit | 9.4 | | 9.4 TS1M1 | |
Windows 7 Home Premium x64 | 9.4 | | 9.4 TS1M1 | |
Windows 7 Professional 32 bit | 9.4 | | 9.4 TS1M1 | |
Windows 7 Ultimate 32 bit | 9.4 | | 9.4 TS1M1 | |
Windows 7 Ultimate x64 | 9.4 | | 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.
The SAS 9.4 Environment Manager agent services fail to start, generating the error "encoded string too long".
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-02-10 13:35:30 |
Date Created: | 2014-01-29 15:58:36 |