BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
vamsinuthalapat
Obsidian | Level 7

Hi Everyone,

 

Getting below message while starting hq-agent, did below pre-checks. still getting same error.

i. cleared data folder ad started the service.

ii. Compared agent.properties file with another host(Which is working as expected) agent.properties file, all properties are same.

 

[gsas@utsasg2com02 bin]$ ./hq-agent.sh status
HQ Agent is running (PID:388847).
Exception in thread "main" java.lang.NoClassDefFoundError: org/jasypt/encryption/StringEncryptor
at org.hyperic.util.PropertyEncryptionUtil.isAlreadyEncrypted(PropertyEncryptionUtil.java:268)
at org.hyperic.util.PropertyEncryptionUtil.ensurePropertiesEncryption(PropertyEncryptionUtil.java:142)
at org.hyperic.hq.agent.AgentConfig.ensurePropertiesEncryption(AgentConfig.java:270)
at org.hyperic.hq.bizapp.agent.client.AgentClient.ensurePropertiesEncryption(AgentClient.java:1494)
at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1207)
at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1429)
Caused by: java.lang.ClassNotFoundException: org.jasypt.encryption.StringEncryptor
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:365)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
... 6 more

 

 

 

 

[gsas@utsasg2com02 log]$ grep -i 'ERROR' agent.log
17-06-2024 03:10:22,309 CDT ERROR [autoinventory-scanner] [AutoinventoryCommandsServer@280] Unable to send autoinventory platform data to server, sleeping for 3600 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
17-06-2024 04:10:22,309 CDT ERROR [autoinventory-scanner] [AutoinventoryCommandsServer@280] Unable to send autoinventory platform data to server, sleeping for 3600 secs before retrying. Error: Unable to communicate with server -- provider not yet setup

 

Guide me on steps to debug the issue.

1 ACCEPTED SOLUTION

Accepted Solutions
smopati
SAS Employee

Hi @vamsinuthalapat ,

Please complete these steps below and see if this resolves the issue: 

1. Stop the EV Agent using the command ./hq-agent.sh stop

2. Rename the file jasypt.jar to jasypt-1.8.jar in the location <SAS Config>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bundles/agent-5.8.0/pdk/lib

3. Rename the file httpmime.jar to httpmime-4.5.6.jar in the location <SAS Config>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bundles/agent-5.8.0/pdk/lib

4. Rename the file httpclient.jar to httpclient-4.5.6.b.jar in the location <SAS Config>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bundles/agent-5.8.0/pdk/lib

5. Delete agent the data directory:  <SASConfig>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/data

6. Start the EV Agent using the command ./hq-agent.sh start

View solution in original post

2 REPLIES 2
smopati
SAS Employee

Hi @vamsinuthalapat ,

Please complete these steps below and see if this resolves the issue: 

1. Stop the EV Agent using the command ./hq-agent.sh stop

2. Rename the file jasypt.jar to jasypt-1.8.jar in the location <SAS Config>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bundles/agent-5.8.0/pdk/lib

3. Rename the file httpmime.jar to httpmime-4.5.6.jar in the location <SAS Config>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bundles/agent-5.8.0/pdk/lib

4. Rename the file httpclient.jar to httpclient-4.5.6.b.jar in the location <SAS Config>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/bundles/agent-5.8.0/pdk/lib

5. Delete agent the data directory:  <SASConfig>/Lev1/Web/SASEnvironmentManager/agent-5.8.0-EE/data

6. Start the EV Agent using the command ./hq-agent.sh start

vamsinuthalapat
Obsidian | Level 7
Hi @smopati,

These steps resolved the issue, Thanks for your help!

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 151 views
  • 0 likes
  • 2 in conversation