tcpserver: fatal: unable to figure out port number for smtp
/usr/local/bin/tcpserver: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
I've got tons of that in /var/log/qmail/smtpd/current
I used Dave's Life with qmail to install.
======>
I ran this:
#!/usr/bin/perl -w
print +(getservbyname("smtp","tcp"))[2],"\n";
and it turned up 25.
======>
I'm pretty sure I got all the users set up:
qmaild:x:503:1338::/var/qmail:/bin/bash
qmaill:x:504:1338::/var/qmail:/bin/bash
qmailp:x:505:1338::/var/qmail:/bin/bash
qmailq:x:506:1339::/var/qmail:/bin/bash
qmailr:x:507:1339::/var/qmail:/bin/bash
qmails:x:508:1339::/var/qmail:/bin/bash
======>
I ran this by hand to see that it turned up right:
[root@jumpfrog skara]# QMAILDUID=`id -u qmaild`
[root@jumpfrog skara]# NOFILESGID=`id -g qmaild`
[root@jumpfrog skara]# echo $QMAILDUID
503
[root@jumpfrog skara]# echo $NOFILESGID
1338
======>
I changed this line in /var/qmail/supervise/qmail-smtpd/run:
exec /usr/local/bin/softlimit -m 2000000 \
to this:
exec /usr/local/bin/softlimit -m 20000000 \
==========
I can't figure out what the hell is wrong. :/ Any clues?
/usr/local/bin/tcpserver: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
I've got tons of that in /var/log/qmail/smtpd/current
I used Dave's Life with qmail to install.
======>
I ran this:
#!/usr/bin/perl -w
print +(getservbyname("smtp","tcp"))[2],"\n";
and it turned up 25.
======>
I'm pretty sure I got all the users set up:
qmaild:x:503:1338::/var/qmail:/bin/bash
qmaill:x:504:1338::/var/qmail:/bin/bash
qmailp:x:505:1338::/var/qmail:/bin/bash
qmailq:x:506:1339::/var/qmail:/bin/bash
qmailr:x:507:1339::/var/qmail:/bin/bash
qmails:x:508:1339::/var/qmail:/bin/bash
======>
I ran this by hand to see that it turned up right:
[root@jumpfrog skara]# QMAILDUID=`id -u qmaild`
[root@jumpfrog skara]# NOFILESGID=`id -g qmaild`
[root@jumpfrog skara]# echo $QMAILDUID
503
[root@jumpfrog skara]# echo $NOFILESGID
1338
======>
I changed this line in /var/qmail/supervise/qmail-smtpd/run:
exec /usr/local/bin/softlimit -m 2000000 \
to this:
exec /usr/local/bin/softlimit -m 20000000 \
==========
I can't figure out what the hell is wrong. :/ Any clues?