Exim: crashed with signal 11 while delivering

hi,

im having the same problem and i tryed to recompile exim like explained on that link but, i have this error on make

Code:
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:529: error: expected specifier-qualifier-list before 'DB'
exim_dbmbuild.c: In function 'main':
exim_dbmbuild.c:150: error: 'DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: 'd' undeclared (first use in this function)
exim_dbmbuild.c:151: error: 'DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected ';' before 'key'
exim_dbmbuild.c:213: error: 'DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: 'content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/root/exim-4.69/build-Linux-i386'
make: *** [go] Error 2

can anyone help me solve it?

regards

We should read this post carefully: DirectAdmin Knowledge Base: How to compile exim from source

In content we can found:

For all OS's, you'll also need db4 dev, so type the following on debian
Code:
apt-get install libdb4.6-dev libperl-dev libsasl2-dev
or rpm systems:
Code:
yum install db4-devel cyrus-sasl-devel

After installation this components, exim installation finished successfully :)
 
can anyone point me in the right direction as i have the same issue. One of my clients is receiving the same email over and over.

DA 1.35.1
exim -bV
Exim version 4.69 #1 built 21-Jan-2008 17:54:51

Do i need to upgrade Exim ? with this custom build of DA i am not sure how todo this without messing it up. Box is a Debian 5.

I have the same errors;

2010-06-09 06:44:12 queue run: process 11550 crashed with signal 11 while delivering 1OF95v-0006H0-DQ
2010-06-09 06:44:12 queue run: process 11551 crashed with signal 11 while delivering 1OFEiR-0001H2-AE
2010-06-09 06:44:12 queue run: process 11552 crashed with signal 11 while delivering 1OFAy9-0007pD-7O
2010-06-09 06:44:12 queue run: process 11553 crashed with signal 11 while delivering 1OF7g1-00056b-GH
2010-06-09 06:44:12 queue run: process 11554 crashed with signal 11 while delivering 1OFMD4-000406-B9
2010-06-09 06:44:12 queue run: process 11555 crashed with signal 11 while delivering 1OFMD4-000407-Mt
2010-06-09 06:44:12 queue run: process 11556 crashed with signal 11 while delivering 1OF95w-0006H1-Tj
2010-06-09 06:44:12 queue run: process 11557 crashed with signal 11 while delivering 1OF89l-0005Uo-4d
2010-06-09 06:44:12 queue run: process 11558 crashed with signal 11 while delivering 1OFEiQ-0001H0-Jo
2010-06-09 06:44:12 queue run: process 11559 crashed with signal 11 while delivering 1OFEiQ-0001H1-Vk
2010-06-09 06:44:12 queue run: process 11560 crashed with signal 11 while delivering 1OF7g0-00056a-TB
2010-06-09 06:44:12 queue run: process 11561 crashed with signal 11 while delivering 1OF7g0-00056U-4i
 
Last edited:
If you using custombuild 1.2 you need just to do the following:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build exim

Maybe you need to edit options.conf for set exim=yes

If otherwise you using custombuild 1.1 im not sure but maybe is the following

Code:
cd /usr/local/directadmin/script
./exim.sh

Hope it help :)
 
It's a known issue. Execute the following commands to compile exim from the source:
Code:
apt-get install libdb4.6-dev libperl-dev libsasl2-dev
wget -O exim-4.72.tar.gz http://files.directadmin.com/services/custombuild/exim-4.72.tar.gz
tar xzf exim-4.72.tar.gz
cd exim-4.72/Local
wget http://www.directadmin.com/Makefile
perl -pi -e 's/^EXTRALIBS/#EXTRALIBS/' Makefile
perl -pi -e 's/HAVE_ICONV=yes/HAVE_ICONV=no/' Makefile
cd ..
make
make install
cp -f /usr/sbin/exim-4.72-1 /usr/sbin/exim
chmod 4755 /usr/sbin/exim
 
thanks to both of you for the quick replys!

which solution is correct ? "sellerone's" seems so simple.

thanks.
 
Code:
cd /usr/local/directadmin/custombuild
cat options.conf | grep '^custombuild=' | cut -d= -f2

If you want to switch to 1.2:
Code:
cd /usr/local/directadmin/custombuild
./build set custombuild 1.2
./build update
 
It's up to you :) If you need PHP4 functionality then I'd recommend you to stay with CB 1.1.
 
I updated to build 1.2 with success but upgrade to exim did not. Any ideas how to solve this ?

Code:
Trying to make exim...

>>> Creating links to source files...
Note (probably harmless): No library found for -lperl
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile
 
make[1]: Entering directory `/usr/local/directadmin/custombuild/exim-4.72/build-Linux-i386'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
gcc buildconfig.c
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.72/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.72/build-Linux-i386'
Building configuration file config.h
>>> config.h built

>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim.h:438,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:438,
                 from exim_dbmbuild.c:33:
dbstuff.h:540: error: expected specifier-qualifier-list before 'DB'
exim_dbmbuild.c: In function 'main':
exim_dbmbuild.c:150: error: 'DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: 'd' undeclared (first use in this function)
exim_dbmbuild.c:151: error: 'DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected ';' before 'key'
exim_dbmbuild.c:213: error: 'DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: 'content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.72/build-Linux-i386'
make: *** [all] Error 2

*** The make has failed, do you want to try to make again? (y,n): y
 
ok i figured it out.

needed these libraires. (smtalk thanks!)

Code:
apt-get install libdb4.6-dev libperl-dev libsasl2-dev

then ran again

Code:
./build exim
 
Hi

I have the same problem. But when I want to rebuild/upgrade my exim - I am getting fallowing error:
root@winter:/usr/local/directadmin/custombuild# ./build exim
File already exists: exim-4.72.tar.gz
File already exists: exim
File already exists: exim_freebsd
File already exists: exim_debian
Found /usr/local/directadmin/custombuild/exim-4.72.tar.gz
Extracting ...
Done.
--2010-10-07 08:37:09-- http://files.directadmin.com/services/custombuild/Makefile
Lahendan files.directadmin.com... 72.35.85.222
Loon ühendust serveriga files.directadmin.com|72.35.85.222|:80... ühendus loodud.
HTTP pƤring saadetud, ootan vastust... 200 OK
Pikkus: 48508 (47K) [text/plain]
Saving to: `Local/Makefile'

100%[======================================>] 48Ā*508 113K/s in 0,4s

2010-10-07 08:37:10 (113 KB/s) - `Local/Makefile' salvestatud [48508/48508]

Trying to make exim...

>>> Creating links to source files...

*** Sorry - operating system Lin is not supported
*** See OS/Makefile-* for supported systems

make: *** [configure] Error 1

*** The make has failed, do you want to try to make again? (y,n):


EDIT: No ideas?
I upgraded my Debian from 4 to 5. Even when I want to use /usr/local/directadmin/scripts/exim.sh file - then it installs old version as in files.sh is still old Debian information and packages folder has also old packages. How I can update them? Or I need to re-run DA install now as Debian version is changed?
 
Last edited:
You should NOT rerun the DirectAdmin install; it will break almost everything. You should contact DirectAdminSales and have them change the License for the correct Debian version.

Jeff
 
Same issue here

I guys I have the same issue.

I tried

PHP:
/build exim

But I have this kind of error:
PHP:
perl.c:(.text+0x14): undefined reference to `Perl_Gthr_key_ptr'

I found this as a possible solution:
http://help.directadmin.com/item.php?id=276

But I think I'm doing something wrong. Where do I find local/makefile?

Thank you in advance.
 
in the source folder of the program your installing
 
Back
Top