LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   qmail under slackware current (https://www.linuxquestions.org/questions/slackware-14/qmail-under-slackware-current-34036/)

jtshaw 10-28-2002 03:25 PM

qmail under slackware current
 
I am Slackware Current (current as of Oct. 27th anyway).

Anyway, I have installed qmail much like I had under Slack 8.1 but now I get the following error when a server connects to my smtp port:

tcpserver: status: 0/20
tcpserver: status: 1/20
tcpserver: pid 14877 from 128.61.104.78
tcpserver: ok 14877 0:128.61.104.78:25 fkt14.eastnet.gatech.edu:128.61.104.78::32838
/var/qmail/bin/qmail-smtpd: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
tcpserver: end 14877 status 32512
tcpserver: status: 0/20

Now tcpserver appears to run fine, and if I run qmail-smtpd alone I can pass it commands and it seams to work just fine, but together they don't, so nothing can connect to me. Any ideas what might be the issue here? I would hope it wouldn't be a gcc 3.2 issue but perhaps it is.

John

jtshaw 10-28-2002 03:55 PM

Ok.. I think I answered my own question, once my brain processed what the message was actually saying...

So a warning to you all, when you go from Slackware 8.1 to 9.0 for some reason you need to raise the softlimit on things like TCP server. I was using a limit of 2000000 before and I needed to up it to 5000000 to make it work under the new system. Why I really don't know, figure it has something to do with the new libc or gcc stuff, if anyone thinks they know a better reason why let me know.

For those of you who don't have a clue what I am talking about... when you run qmail-smtpd typically you run it through tcpserver which you run through softlimit so it can't eat up all your memory.

exec /usr/local/bin/softlimit -m 5000000 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd -r b1.spamcop.net -r "relays.ordb.org:Rejected - see http://ordb.org/" -r replays.osirusoft.com -r relays.visi.com -r ipwhois.rfc-ignorant.org /var/qmail/bin/qmail-smtpd 2>&1


All times are GMT -5. The time now is 07:09 PM.