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.