Mailing List Archive

qmail-smtpd segfault
I am getting this kernel error: qmail-smtpd[14321]: segfault at 9f37000
ip 08059428 sp bf919fec error 4 in qmail-smtpd[8048000+2a000]

This machine is a dual processor IBM Netfinity running CentOS 6.5 32bit,
4 gb ram, IBM serveRAID 5. Qmail is patched to the netqmail 1.06
level. vpopmail, mysql, dovecot, simscan.... I am not running clamd
yet as it is causing a 451 error...

This is a new installation to replace a server that was in a fire that
destroyed my business. It has about 100 email accounts set up now that
are functioning. Will have a total of about 350 accounts when complete.

THANKS in advance!
Re: qmail-smtpd segfault [ In reply to ]
Hi,

show us

a) the 'run' script

b) 'uname -a' and

c) 'gcc -v' the version of the C-compiler you used.

In addition, re-compile qmail while keeping the logs/warnings and post
those.

regards.
--eh.


--On 29. März 2014 08:52:01 -0500 Leon F Wiederholt <jaglists@jagtec.net>
wrote:

> I am getting this kernel error: qmail-smtpd[14321]: segfault at 9f37000
> ip 08059428 sp bf919fec error 4 in qmail-smtpd[8048000+2a000]
>
> This machine is a dual processor IBM Netfinity running CentOS 6.5 32bit,
> 4 gb ram, IBM serveRAID 5. Qmail is patched to the netqmail 1.06 level.
> vpopmail, mysql, dovecot, simscan.... I am not running clamd yet as it
> is causing a 451 error...
>
> This is a new installation to replace a server that was in a fire that
> destroyed my business. It has about 100 email accounts set up now that
> are functioning. Will have a total of about 350 accounts when complete.
>
> THANKS in advance!



--
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ | PGP-Key-Id: 7E4034BE
Re: qmail-smtpd segfault [ In reply to ]
hopefully here is the information you requested..

__________________________________________________________________________

# uname -a
Linux mail.jagtec.net 2.6.32-431.5.1.el6.i686 #1 SMP Tue Feb 11 21:56:33
UTC 2014 i686 i686 i386 GNU/Linux
__________________________________________________________________________

gcc -v
Using built-in specs.
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic
--with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)

___________________________________________________________________________
smtpd/run

#!/bin/sh
QMAILQUEUE="/var/qmail/bin/simscan"; export QMAILQUEUE
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SOFTLIMIT=`cat /var/qmail/control/softlimit`

# This enables greetdelay for qmail-smtpd. Put 0 if you decide to delay
rblsmtpd instead.
export SMTPD_GREETDELAY=5
export DROP_PRE_GREET=1

# This enables greetdelay for rblsmtpd
#export GREETDELAY=30
# This disables rblsmtpd reject
#export RBLSMTPD=""

# You MUST export this, otherwise you'd get a 30 sec timeout
export SMTPAUTH=""
export FORCETLS=0

# This enables chkuser
export CHKUSER_START=ALWAYS

# DKIM - SURBL configuration
# DKIMQUEUE and SURBLQUEUE are front-ends of qmail-queue
#export SURBL=1 # Comment out to enable SURBL filtering
#export QMAILQUEUE=/var/qmail/bin/surblqueue # executes surblfilter
#export SURBLQUEUE=/var/qmail/bin/qmail-dkim # executes qmail-dkim after
sublfilter
#export DKIMQUEUE=/var/qmail/bin/simscan # simscan is executed after
qmail-dkim
# DKIM verification. Use carefully
#export DKIMVERIFY="FGHKLMNOQRTVWjp"
# This is to avoid verification of outgoing messages
#export RELAYCLIENT_NODKIMVERIFY=1

# This enables simscan debug
#export SIMSCAN_DEBUG=2

exec /usr/local/bin/softlimit -m "$SOFTLIMIT" \
/usr/local/bin/tcpserver -v -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
~



On 03/29/2014 10:07 AM, Erwin Hoffmann wrote:
> Hi,
>
> show us
>
> a) the 'run' script
>
> b) 'uname -a' and
>
> c) 'gcc -v' the version of the C-compiler you used.
>
> In addition, re-compile qmail while keeping the logs/warnings and post
> those.
>
> regards.
> --eh.
>
>
> --On 29. März 2014 08:52:01 -0500 Leon F Wiederholt
> <jaglists@jagtec.net> wrote:
>
>> I am getting this kernel error: qmail-smtpd[14321]: segfault at 9f37000
>> ip 08059428 sp bf919fec error 4 in qmail-smtpd[8048000+2a000]
>>
>> This machine is a dual processor IBM Netfinity running CentOS 6.5 32bit,
>> 4 gb ram, IBM serveRAID 5. Qmail is patched to the netqmail 1.06 level.
>> vpopmail, mysql, dovecot, simscan.... I am not running clamd yet as it
>> is causing a 451 error...
>>
>> This is a new installation to replace a server that was in a fire that
>> destroyed my business. It has about 100 email accounts set up now that
>> are functioning. Will have a total of about 350 accounts when complete.
>>
>> THANKS in advance!
>
>
>
> --
> Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ | PGP-Key-Id:
> 7E4034BE
Re: qmail-smtpd segfault [ In reply to ]
Hi,

thanks for the information.

It seems to be a heavy patched qmail system, you are using.

Before going on: Check your "softlimit" settings. Maybe they are to small
on the new system. The memory footprint of qmail-smtpd is usually small,
but you load vchkpw, simscan, and the virus scanner in addition.

regards.
--eh.

--On 31. März 2014 09:58:36 -0500 Leon F Wiederholt <jaglists@jagtec.net>
wrote:

> hopefully here is the information you requested..
>
> __________________________________________________________________________
>
># uname -a
> Linux mail.jagtec.net 2.6.32-431.5.1.el6.i686 #1 SMP Tue Feb 11 21:56:33
> UTC 2014 i686 i686 i386 GNU/Linux
> __________________________________________________________________________
>
> gcc -v
> Using built-in specs.
> Target: i686-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info
> --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
> --enable-shared --enable-threads=posix --enable-checking=release
> --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
> --enable-gnu-unique-object
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
> --enable-java-awt=gtk --disable-dssi
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
> --enable-libgcj-multifile --enable-java-maintainer-mode
> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
> --with-ppl --with-cloog --with-tune=generic --with-arch=i686
> --build=i686-redhat-linux
> Thread model: posix
> gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
>
> _________________________________________________________________________
> __
> smtpd/run
>
># !/bin/sh
> QMAILQUEUE="/var/qmail/bin/simscan"; export QMAILQUEUE
> QMAILDUID=`id -u vpopmail`
> NOFILESGID=`id -g vpopmail`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> SOFTLIMIT=`cat /var/qmail/control/softlimit`
>
># This enables greetdelay for qmail-smtpd. Put 0 if you decide to delay
># rblsmtpd instead.
> export SMTPD_GREETDELAY=5
> export DROP_PRE_GREET=1
>
># This enables greetdelay for rblsmtpd
># export GREETDELAY=30
># This disables rblsmtpd reject
># export RBLSMTPD=""
>
># You MUST export this, otherwise you'd get a 30 sec timeout
> export SMTPAUTH=""
> export FORCETLS=0
>
># This enables chkuser
> export CHKUSER_START=ALWAYS
>
># DKIM - SURBL configuration
># DKIMQUEUE and SURBLQUEUE are front-ends of qmail-queue
># export SURBL=1 # Comment out to enable SURBL filtering
># export QMAILQUEUE=/var/qmail/bin/surblqueue # executes surblfilter
># export SURBLQUEUE=/var/qmail/bin/qmail-dkim # executes qmail-dkim after
># sublfilter export DKIMQUEUE=/var/qmail/bin/simscan # simscan is
># executed after qmail-dkim DKIM verification. Use carefully
># export DKIMVERIFY="FGHKLMNOQRTVWjp"
># This is to avoid verification of outgoing messages
># export RELAYCLIENT_NODKIMVERIFY=1
>
># This enables simscan debug
># export SIMSCAN_DEBUG=2
>
> exec /usr/local/bin/softlimit -m "$SOFTLIMIT" \
> /usr/local/bin/tcpserver -v -H -R -l 0 \
> -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
> /var/qmail/bin/qmail-smtpd \
> /home/vpopmail/bin/vchkpw /bin/true 2>&1
> ~
>
>
>
> On 03/29/2014 10:07 AM, Erwin Hoffmann wrote:
>> Hi,
>>
>> show us
>>
>> a) the 'run' script
>>
>> b) 'uname -a' and
>>
>> c) 'gcc -v' the version of the C-compiler you used.
>>
>> In addition, re-compile qmail while keeping the logs/warnings and post
>> those.
>>
>> regards.
>> --eh.
>>
>>
>> --On 29. März 2014 08:52:01 -0500 Leon F Wiederholt
>> <jaglists@jagtec.net> wrote:
>>
>>> I am getting this kernel error: qmail-smtpd[14321]: segfault at 9f37000
>>> ip 08059428 sp bf919fec error 4 in qmail-smtpd[8048000+2a000]
>>>
>>> This machine is a dual processor IBM Netfinity running CentOS 6.5 32bit,
>>> 4 gb ram, IBM serveRAID 5. Qmail is patched to the netqmail 1.06 level.
>>> vpopmail, mysql, dovecot, simscan.... I am not running clamd yet as it
>>> is causing a 451 error...
>>>
>>> This is a new installation to replace a server that was in a fire that
>>> destroyed my business. It has about 100 email accounts set up now that
>>> are functioning. Will have a total of about 350 accounts when complete.
>>>
>>> THANKS in advance!
>>
>>
>>
>> --
>> Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ | PGP-Key-Id:
>> 7E4034BE
>



--
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ | PGP-Key-Id: 7E4034BE