IBM Security SOAR

Expand all | Collapse all

resilient-email fails to start

  • 1.  resilient-email fails to start

    Posted Thu February 04, 2021 03:50 PM
    Running resilient Version: 39.0.6328 of redhat

    3.10.0-1160.11.1.el7.x86_64 #1 SMP Mon Nov 30 13:05:31 EST 2020 x86_64 x86_64 x86_64 GNU/Linux


    I configured the smtp server using resutil smtpedit and the following is the config

    Successfully edited the SMTP configuration

    SMTP Host: localhost

    SMTP Port: 25

    SMTP User: empty

    SMTP Password: hidden

    SMTP From Email: someuser@us.ibm.com

    SMTP From Name: IRT CISRT

    SMTP StartTLS Enabled: false

    SMTP Whitelist Hostnames: 

    SMTP Timeout: 120000

    contents of the email-server.properties is 

    MaxBatchSize=10

    resConsumerDelay=10000

    trying to start resilient-email fails. The following error is inresilient-email.err

    java.lang.NumberFormatException: For input string: ""

    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:76)

    at java.lang.Integer.parseInt(Integer.java:604)

    at java.lang.Integer.parseInt(Integer.java:627)

    at com.resilient.email.EmailServerConfig.getConfig(EmailServerConfig.java:200)

    at com.resilient.email.EmailServerDaemon.init(EmailServerDaemon.java:57)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

    at java.lang.reflect.Method.invoke(Method.java:508)

    at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:207)

    Cannot load daemon

    Service exit with a return value of 3

    It is clear that there is some config value that is set to empty string and the code is trying to convert it to int. Can somebody from the development team help figure out what that config name is ?

     



    ------------------------------
    Yaser Doleh
    ------------------------------


  • 2.  RE: resilient-email fails to start

    Posted Fri February 05, 2021 04:59 AM
    Hi Yaser,

    I responded to a case a colleague of yours created with Resilient support. If that is indeed the contents of the file then the values are wrong. The values are below. You should run sudo systemctl restart resilient-messaging afterwards.

    # sudo cat /usr/share/co3/conf/email-server.properties
    resMaxBatchSize=10
    resConsumerDelay=10000

    ------------------------------
    BEN WILLIAMS
    ------------------------------