Archive for the ‘qmail’ Category

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
2008-08-22 10:51:38 tcpserver: ok 5004 franklin: newyork:
2008-08-22 10:51:38 /var/qmail/bin/qmail-smtpd: error while loading shared libraries: \ 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.