woo hoo ... found it.  somehow, /var/run got chmod'd to 700, so cyrus
couldn't read the ld.so.hints file to figure out where libdb3 was located,
and wasn't starting as a result.  fix the permissions, and cyrus imapd
works in a jail environment ...

am sooooo impressed.

On Sun, 29 Oct 2000, The Hermit Hacker wrote:

> 
> FreeBSD has a nifty "feature" that allows you to relatively easily create
> a jail environment ... pretty much a virtual machine in a machine ...
> 
> I'm working with this to create a virtual mail server, where each domain
> has its own virtual machine to work inside of ... theory looks really
> great, in practice, I'm hitting some problems ...
> 
> I have /usr/cyrus/bin/master on Env1, i can read mail the whole works
> ... works like a charm.
> 
> Setup Env2 ... can SSH in, telnet, ftp, etc ... run a sendmail server
> ... but as soon as I try and start up /usr/cyrus/bin/master in that env,
> it generates errors:
> 
> mail# cat imapd.log 
> Oct 29 22:46:32 mail master[55085]: process started
> Oct 29 22:46:32 mail master[55086]: about to exec /usr/cyrus/bin/ctl_mboxlist
> Oct 29 22:46:33 mail master[55085]: process 55086 exited, status 1 
> Oct 29 22:46:33 mail master[55087]: about to exec /usr/cyrus/bin/ctl_deliver
> Oct 29 22:46:33 mail master[55085]: process 55087 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: ready for work
> Oct 29 22:46:33 mail master[55088]: about to exec /usr/cyrus/bin/ctl_mboxlist
> Oct 29 22:46:33 mail master[55089]: about to exec /usr/cyrus/bin/ctl_deliver
> Oct 29 22:46:33 mail master[55090]: about to exec /usr/cyrus/bin/imapd
> Oct 29 22:46:33 mail master[55085]: process 55088 exited, status 1 
> Oct 29 22:46:33 mail master[55091]: about to exec /usr/cyrus/bin/pop3d
> Oct 29 22:46:33 mail master[55092]: about to exec /usr/cyrus/bin/lmtpd
> Oct 29 22:46:33 mail master[55093]: about to exec /usr/cyrus/bin/imapd
> Oct 29 22:46:33 mail master[55094]: about to exec /usr/cyrus/bin/pop3d
> Oct 29 22:46:33 mail master[55085]: process 55089 exited, status 1 
> Oct 29 22:46:33 mail master[55095]: about to exec /usr/cyrus/bin/imapd
> Oct 29 22:46:33 mail master[55096]: about to exec /usr/cyrus/bin/pop3d
> Oct 29 22:46:33 mail master[55085]: process 55091 exited, status 1 
> Oct 29 22:46:33 mail master[55097]: about to exec /usr/cyrus/bin/imapd
> Oct 29 22:46:33 mail master[55098]: about to exec /usr/cyrus/bin/imapd
> Oct 29 22:46:33 mail master[55085]: process 55097 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: process 55098 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: process 55096 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: process 55095 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: process 55094 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: process 55093 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: process 55092 exited, status 1 
> Oct 29 22:46:33 mail master[55085]: process 55090 exited, status 1 
> 
> now, according to an 'ifconfig -a' of both environments, each only sees
> their own IP ... from what little I know of sendmail, when it starts, it
> 'bind' to the smtp port on those IPs that it can probe ... what does the
> above do in a circumstance like this, and how can/would I debug it?
> 
> thanks ...
> 
> 
> Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
> Systems Administrator @ hub.org 
> primary: [EMAIL PROTECTED]           secondary: scrappy@{freebsd|postgresql}.org 
> 
> 
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: [EMAIL PROTECTED]           secondary: scrappy@{freebsd|postgresql}.org 

Reply via email to