freebsd-questions at slightlystrange.org
Fri Sep 17 12:12:49 UTC 2010
On Fri, Sep 17, 2010 at 01:02:03PM +0200, n dhert wrote:
> There seems to be a problem with starting up the IMAP proxy server
> # /usr/local/etc/rc.d/imapproxyd start
> Starting imapproxyd.
> but doesn't return the # prompt ...
> # ps -jawx | grep imap
> root 21490 21426 21490 64248 1 S+ 3 0:00.01 /bin/sh
> /usr/local/etc/rc.d/imapproxyd start
> root 21496 21490 21490 64218 1 S+ 3 0:00.01 /usr/local/sbin/in.imapproxyd
> I would expect the /bin/sh line to disappear and the # prompt to come back.
And so it should. I have just installed and tested it, and it works fine.
The only way I can replicate the behaviour you report is if I misspell the
name of the backend IMAP server - so start checking there. If it's not a
typo, it is likely some other variety of DNS error.
> If (from another terminal window) I do
> # /usr/local/etc/rc.d/imapproxyd stop
> is says
> Stopping imapproxyd.
> # (returns the prompt)
> If the first window, it says:
> /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd
> 1. what is wrong here and how to correct it ?
> 2. also, although I do have a user nobody and a group nobody in FreeBSD 8
> and the config file /usr/local/etc/imapproxyd.conf specifies (default
> proc_username nobody
> proc_groupname nobody
> I wonder why the processes (ps -jawx) show root as the process owner ?
It will need to start as root in order to bind all the resources it needs,
before dropping privileges. Remember that only root can bind ports below
1024. It works fine here.
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100917/e97c3cc2/attachment.pgp
More information about the freebsd-questions