Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP Service constant restart

We have problem with our XG125 after upgrade to MR3...

SMTPD Service is constantly restarted automaticly:

Same thing is visible in log file awarrensmtp.log:

 MESSAGE   Jun 17 08:40:54 [3941759808]: file: cert_trie.c:157, Assertion 'ch != '\0'' failed

cert_trie.c:157, Assertion 'ch != '\0'' failed

MESSAGE   Jun 17 08:41:10 [4145710848]: Starting awarrensmtp-1.0.6.4 with glibc: 2.19

MESSAGE   Jun 17 08:41:10 [4145710848]: Parsing config file /static/proxy/smtp/smtp.conf

MESSAGE   Jun 17 08:41:10 [4145710848]: is spx enable -> 1

MESSAGE   Jun 17 08:41:10 [4145710848]: Setting Bind-address to 0.0.0.0

MESSAGE   Jun 17 08:41:10 [4145710848]: Initilizing Protocol "SMTP" port: 24

....................................MESSAGE   Jun 17 08:41:10 [4145710848]: Trusted CA certificate directory path: '/conf/certificate/cacerts/'

MESSAGE   Jun 17 08:41:10 [4145710848]: SSL CAPTIVE Context initialized

MESSAGE   Jun 17 08:41:10 [4145710848]: New SMTP configuration. id = 0

MESSAGE   Jun 17 08:41:10 [4145710848]: SPX Registration Portal Listener set-up completed.

MESSAGE   Jun 17 08:41:10 [4145710848]: init_commtouch: ipaddress: '127.0.0.1' port: '8088'

MESSAGE   Jun 17 08:41:10 [4145710848]: init_commtouch: ipaddress: '127.0.0.1' port: '8089'

MESSAGE   Jun 17 08:41:10 [4145710848]: Initilizing Protocol "SMTPS" port: 464

MESSAGE   Jun 17 08:41:10 [4145710848]: HA Disabled..remove remote db's

MESSAGE   Jun 17 08:41:10 [4145710848]: [[[[MAIL Subscription is active.]]]]

ERROR     Jun 17 08:41:10 [4145710848]: gr_init failed

ERROR     Jun 17 08:41:10 [4145710848]: init_storage: storage max size='24960931840',failure='10'

MESSAGE   Jun 17 08:41:10 [4145710848]: awarrensmtp is running as root. This can be dangerous.Please provide valid 'User' and 'Group' in config file

MESSAGE   Jun 17 08:41:10 [4145710848]: Daemon initialization complete

svc_init: key=/svc0x0001 comm=awarrensmtp

shared memory size = 1244

svc_init: number of services: 62

svc_init: service[0]='lcdd'

svc_init: service[1]='postgres'

svc_init: service[2]='sigdb'

svc_init: service[3]='reportdb'

svc_init: service[4]='crreport'

svc_init: service[5]='awarrensmtp'

svc_set_status: change status from 2 to 3

Any idea what can be wrong? Some BUG?



This thread was automatically locked due to age.
Parents
  • Hi Dejan,

    There seems to be a configuration which is triggering these restarts, it would be very helpful if you could share the snap of your SMTP configurations like the SPX and Scanning Settings page screenshot.

    Meanwhile we'll look into the code and find out in which condition this assertion could trigger.

    Regards,

    Prateek Singh

  • Thanks for reply.

    Here are screenshots. Im just replace some names with different ones...

  • Hi Dejan,

    Thanks for cooperating.

    We require full logs to determine what caused the assertion.

    You can enable full debug by following command:

    kill -40 `pidof -s awarrensmtp`

    (Don't panic the signal is to trigger debug not kill the service )

    And then you can put the whole awarrensmtp.log file to some ftp and share it with us.

    ( Or you could share the access of your XG with me in a private message and I can do this )

    Regards,

    Prateek Singh

  • Im enable full debug and also enable outcome email scanning policy rule(has been disabled over weekend)... But right now service work normaly....

    I know that it start restarting when Im send to my private email one email with doc atachment. And I didn't receive email until I didn't stop SMTP&SMTPS Scanning.

    Now I can send same email without problem...

    How can I disable full debug or enable normal debug(I will enable full when I will have problem again)?

Reply
  • Im enable full debug and also enable outcome email scanning policy rule(has been disabled over weekend)... But right now service work normaly....

    I know that it start restarting when Im send to my private email one email with doc atachment. And I didn't receive email until I didn't stop SMTP&SMTPS Scanning.

    Now I can send same email without problem...

    How can I disable full debug or enable normal debug(I will enable full when I will have problem again)?

Children