Discussion:
[Maia-users] Getting signal 11 httpd segmentation fault when attempting to send mail
Bob
2015-05-06 23:58:52 UTC
Permalink
I am using the PHO freebsd instructions. I followed them to the letter.
My client is thunderbird and I only support imap with TLS or SSL. When I
attempt to send an email, thunderbird tells me that

Sending of message failed.
The message could not be sent because the connection to SMTP server
cagedlion.net was lost in the middle of the transaction. Try again
or contact your network administrator.

There is no maillog data, syslog gives me:

pid 19448 (httpd), uid 65534: exited on signal 11

The apache error log entry is:

Wed May 06 16:46:28.393338 2015] [core:notice] [pid 19464] AH00052:
child pid 19482 exit signal Segmentation fault (11)

I spent the afternoon reading google with nothing at all suggesting what
to do.

When I restarted, there was a warning from the Apache error log that may
or may not be relevant:

[ssl:warn] [pid 18092] AH01873: Init: Session Cache is not
configured [hint: SSLSessionCache]

The entries below were a few lines above the entry above.

[mpm_prefork:notice] [pid 18092] AH00163: Apache/2.4.12 (FreeBSD)
PHP/5.4.40 OpenSSL/1.0.2a configured -- resuming normal operations
[Wed May 06 13:42:18.774770 2015] [core:notice] [pid 18092] AH00094:
Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Wed May 06 13:42:39.303195 2015] [core:notice] [pid 18092] AH00052:
child pid 18093 exit signal Segmentation fault (11)

The php error log was empty. Dovecot logs had nothing either.

Any thoughts? I'm pulling my hair out!

Thanks,
Bob
Lawrence R. Mulder
2015-05-07 00:04:04 UTC
Permalink
Bob,

You realize that SMTP with TLS is what you want here which has nothing to do with apache/php/IMAP TLS at all, so nothing would be logged there. The only log that will capture information regarding SMTP TLS transactions from thunderbird would be your MTA’s (usually postfix on this mailing list) log. On linux, this is usually /var/log/maillog or /var/log/mail/whatever. You need to make sure your MTA is configured with TLS support to match what you are using in thunderbird. What do you have in your postfix main.cf (assuming that is your MTA) for TLS configuration entries and do you have an SMTP daemon listening on the correct ports in the postfix master.cf?

Thanks,
-Larry

From: Maia-users [mailto:maia-users-***@renaissoft.com] On Behalf Of Bob
Sent: Wednesday, May 06, 2015 6:59 PM
To: maia-***@renaissoft.com
Subject: [Maia-users] Getting signal 11 httpd segmentation fault when attempting to send mail

I am using the PHO freebsd instructions. I followed them to the letter. My client is thunderbird and I only support imap with TLS or SSL. When I attempt to send an email, thunderbird tells me that
Sending of message failed.
The message could not be sent because the connection to SMTP server cagedlion.net was lost in the middle of the transaction. Try again or contact your network administrator.
There is no maillog data, syslog gives me:
pid 19448 (httpd), uid 65534: exited on signal 11
The apache error log entry is:
Wed May 06 16:46:28.393338 2015] [core:notice] [pid 19464] AH00052: child pid 19482 exit signal Segmentation fault (11)
I spent the afternoon reading google with nothing at all suggesting what to do.

When I restarted, there was a warning from the Apache error log that may or may not be relevant:
[ssl:warn] [pid 18092] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
The entries below were a few lines above the entry above.
[mpm_prefork:notice] [pid 18092] AH00163: Apache/2.4.12 (FreeBSD) PHP/5.4.40 OpenSSL/1.0.2a configured -- resuming normal operations
[Wed May 06 13:42:18.774770 2015] [core:notice] [pid 18092] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Wed May 06 13:42:39.303195 2015] [core:notice] [pid 18092] AH00052: child pid 18093 exit signal Segmentation fault (11)
The php error log was empty. Dovecot logs had nothing either.

Any thoughts? I'm pulling my hair out!

Thanks,
Bob
David Sims
2015-05-07 02:55:06 UTC
Permalink
Hi,

Your httpd is not well and crashing... The message about:
/usr/local/sbin/httpd -D NOHTTPACCEPT may be a clue... You can try issuing
that command at the command line and see what happens... Look at the man
page and see if there is a switch to provide more verbose error reporting
(usually -v which can be repeated -vvvvv).....

Dave
Post by Bob
I am using the PHO freebsd instructions. I followed them to the letter.
My client is thunderbird and I only support imap with TLS or SSL. When I
attempt to send an email, thunderbird tells me that
Sending of message failed.
The message could not be sent because the connection to SMTP server
cagedlion.net was lost in the middle of the transaction. Try again
or contact your network administrator.
pid 19448 (httpd), uid 65534: exited on signal 11
child pid 19482 exit signal Segmentation fault (11)
I spent the afternoon reading google with nothing at all suggesting what
to do.
When I restarted, there was a warning from the Apache error log that may
[ssl:warn] [pid 18092] AH01873: Init: Session Cache is not
configured [hint: SSLSessionCache]
The entries below were a few lines above the entry above.
[mpm_prefork:notice] [pid 18092] AH00163: Apache/2.4.12 (FreeBSD)
PHP/5.4.40 OpenSSL/1.0.2a configured -- resuming normal operations
Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
child pid 18093 exit signal Segmentation fault (11)
The php error log was empty. Dovecot logs had nothing either.
Any thoughts? I'm pulling my hair out!
Thanks,
Bob
Loading...