nohup.stderr :
Agent failed to initialize ...java.lang.IllegalStateException: cybermation.library.communications.CybConversationException: Native socket call [listen] failed with return code [98]
default_agent.log:
01/19/2024 15:58:30.015-0300 1 main.MainThread.CybAgentDriver.runApplication[:408] - cybermation.library.plugins.CybPluginException: java.lang.IllegalStateException: cybermation.library.communications.CybConversationException: Native socket call [listen] failed with return code [98]
at cybermation.agent.controller.CybControllerPluginManager.a(CybControllerPluginManager.java:473)
at cybermation.agent.controller.CybControllerPluginManager.a(CybControllerPluginManager.java:501)
at cybermation.agent.controller.CybControllerPluginManager.initialize(CybControllerPluginManager.java:425)
at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:301)
at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:510)
Caused by: java.lang.IllegalStateException: cybermation.library.communications.CybConversationException: Native socket call [listen] failed with return code [98]
at cybermation.commplugins.tcpip.CybTcpipControllerPlugin.initialize(CybTcpipControllerPlugin.java:315)
at cybermation.agent.controller.CybControllerPluginManager.a(CybControllerPluginManager.java:463)
at cybermation.agent.controller.CybControllerPluginManager.a(CybControllerPluginManager.java:501)
at cybermation.agent.controller.CybControllerPluginManager.initialize(CybControllerPluginManager.java:425)
at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:301)
at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:510)
EnablePMUX was not set to True for the Agent's inputport in CSAM.
1) Make sure agent is configured properly with SSA.
Example:
communication.inputport=9520
communication.receiver.socket.main=dylan
oscomponent.classpath=jars/.jar:jars/ext/:/opt/CA/SharedComponents/Csam/SockAdapter/lib/casocket.jar
2) the Unix user starting the agent should have read access to the casocket.jar
3) Ensure CSAM has EnablePMUX enabled for the inputport configured above
Example:
/opt/CA/SharedComponents/Csam/SockAdapter/bin/csamconfigedit port=9520 CertificateFile=/opt/CA/SharedComponents/Csam/SockAdapter/cfg/server-cert.pem PrivateKeyFile=/opt/CA/SharedComponents/Csam/SockAdapter/cfg/key.key CaFile=/opt/CA/SharedComponents/Csam/SockAdapter/cfg/server-cert.pem EnableSSL=True AuthenticateCipherSuite='ALL:!DH:!ADH:!LOW:!EXP:!MD5:@STRENGTH' AnonymousCipherSuite='ALL:ADH:!LOW:!EXP:!MD5:@STRENGTH' AuthenticateServer=True AuthenticateClient=True EnableSSLV3=False EnablePMUX=True
4) Restart CSAM after the above configuration change is done.
5) Ensure port 9520 is not used by any other application already
6) Restart the agent again now