Subject: Re: [vserver] mailman on a host stopped working
From: Eugen Leitl <eugen@leitl.org>
Date: Fri, 12 Sep 2008 11:04:31 +0200

On Fri, Sep 12, 2008 at 05:06:58PM +1000, Jason Drage wrote:

> > No, the new host is tracking lenny, the old sarge(backported).
> >   
> Probably important, that..

Yes, I figured out it has something to do with the new environment.
I've had Exim4 issues with another guest, which were trackable to 127.0.0.1
issues. My postfix guests haven't given me trouble before.

> There's significant differences in both "VS-API" and "Available APIs"
> but I can tell if these would cause you problem. A quick search of the
> linux-vserver site didn't get me any hits.

Maybe lenny's vserver stuff is b0rked in places. Need to search some.

> From the symptoms you initially reported it seems as though localhost
> works fine in the guest on one host but not the other. You can confirm
> this by repeating your "telnet localhost 25" test on the other machine,
> if it works on one and not the other you've discovered the difference
> between the host that is giving you grief.

Exactly: I restarted the guest on the old host:

v67:/# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 v67.ativel.com ESMTP Postfix (Debian/GNU)
quit
221 2.0.0 Bye
Connection closed by foreign host.

(notice the host doesn't run any mailserver:
nitrogen:~# telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

whereas on the new host:

v67:/# telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
 
> Also the kernel names don't include the vserver patch used. On my
> servers the kernel version is "2.6.22.18-vs2.3.0.32" which tells me I'm
> running the development 2.3.0.32 patch (which solved all my localhost
> woes). Can you please tell us what the lenny and Sarge kernels are
> patched with?

Unfortunately, I don't know. There are the following kernels
available on lenny amd64:

lithium:~# apt-cache search vserver | grep image
linux-image-2.6-vserver-amd64 - Linux 2.6 image on AMD64
linux-image-2.6.26-1-vserver-amd64 - Linux 2.6.26 image on AMD64, Linux-VServer support
linux-image-vserver-amd64 - Linux image on AMD64
linux-image-2.6.22-3-vserver-amd64 - Linux 2.6.22 image on AMD64
linux-image-2.6.18-6-vserver-amd64 - Linux 2.6.18 image on AMD64

I'm running 2.6.26-1-vserver-amd64 on the new production box. Any lenny amd64
vserver users here? Any issues?

Thanks for all the help.

-- 
Eugen* Leitl <a href="leitlhttp://leitl.org">leitl</a> http://leitl.org
______________________________________________________________
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE