LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-28-2002, 03:25 PM   #1
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
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
 
Old 10-28-2002, 03:55 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Original Poster
Rep: Reputation: 66
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

Last edited by jtshaw; 10-28-2002 at 04:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware current? priller Slackware 24 07-09-2005 10:15 AM
how do you keep up with slackware-current? elyk Slackware 33 05-07-2005 11:21 PM
slackware-current how to salahuddin_66 Slackware 9 02-17-2005 07:42 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
slackware 8.1 iso vs slackware current illtbagu Slackware 9 02-26-2003 07:10 PM


All times are GMT -5. The time now is 10:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration