Posts Tagged ‘qmail x86_64 gentoo’

Qmail on x86_84 softlimit error

Friday, August 22nd, 2008

I recently installed qmail (mail-mta/netqmail in Portage) on an Intel based server under x86_64 Gentoo. Everything seemed fine, but when qmail-smtpd tried to receive remote email, it would die with the following error:

2008-08-22 10:51:38.328444500 tcpserver: status: 1/40
2008-08-22 10:51:38 tcpserver: pid 5004 from 192.168.0.33
2008-08-22 10:51:38 tcpserver: ok 5004 franklin:192.168.0.4:25 newyork:192.168.0.33::4878
2008-08-22 10:51:38 /var/qmail/bin/qmail-smtpd: error while loading shared libraries: \
   libcom_err.so.2: failed to map segment from shared object: Cannot allocate memory
2008-08-22 10:51:38 tcpserver: end 5004 status 32512
2008-08-22 10:51:38 tcpserver: status: 0/40

Google didn’t show any association between libcom_err and qmail, but “failed to map segment” turned up other problems associated with softlimit.
(more…)