<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Never mind -- realized I need to list sync_server under SERVICES and
    not START.<br>
    <br>
    Cheers,<br>
    &nbsp;&nbsp;&nbsp; -nic<br>
    <br>
    <div class="moz-cite-prefix">On 10/23/2012 02:24 PM, Nic Bernstein
      wrote:<br>
    </div>
    <blockquote cite="mid:5086EF03.4030102@onlight.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Folks,<br>
      I have been building and using Cyrus IMAP since 1995, but I've
      just run into an issue I've never encountered before.&nbsp; I've had
      the same issue with 2.4.16 and 2.5, both built from sources
      retrieved via Git.&nbsp; This is on Ubuntu 12.04.01 LTS, in LXC
      containers on an Ubuntu 12.04.01 LTS host.<br>
      <br>
      When I start cyrus I see this in syslog:<br>
      <blockquote>
        <pre>Oct 23 19:08:26 mailbox master[1323]: about to exec /usr/lib/cyrus/bin/sync_server
Oct 23 19:08:26 mailbox sync_server: could not getenv(CYRUS_SERVICE); exiting
Oct 23 19:08:26 mailbox master[1313]: process 1323 exited, status 70
Oct 23 19:08:26 mailbox master[1313]: unable to setsocketopt(IP_TOS): Operation not supported
</pre>
      </blockquote>
      I don't think the getenv problem is related to the IP_TOS issue,
      is it?&nbsp; I've checked all around for what can cause the
      getenv(CYRUS_SERVICE) issue, which was typically (in the old days)
      interference from inetd, but that can't be the problem here, since
      there is no inetd running on the container or the parent host.<br>
      <br>
      /etc/cyrus.conf looks like this:<br>
      <blockquote>
        <pre>START {
        recover                cmd="/usr/sbin/cyrus ctl_cyrusdb -r"
        idled                cmd="idled"
        tlsprune        cmd="/usr/sbin/cyrus tls_prune"
        syncserver      cmd="/usr/lib/cyrus/bin/sync_server" listen="csync"
}

SERVICES {
        imap                cmd="imapd -U 30" listen="imap" prefork=0
        pop3                cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
          lmtp                cmd="lmtpd" listen="lmtp" prefork=1
          sieve                cmd="timsieved" listen="sieve" prefork=0
        notify                cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
}

EVENTS {
        checkpoint        cmd="/usr/sbin/cyrus ctl_cyrusdb -c" period=30
        delprune        cmd="/usr/sbin/cyrus expire -E 3 -D 60 -X 60" at=0401
        tlsprune        cmd="/usr/sbin/cyrus tls_prune" at=0401
        squatter_1        cmd="/usr/bin/nice -n 19 /usr/sbin/cyrus squatter -s" period=180
        squatter_a        cmd="/usr/sbin/cyrus squatter" at=0117
}
</pre>
      </blockquote>
      and /etc/services contains this:<br>
      <blockquote>
        <pre># Local services
lmtp                24/tcp                                # Cyrus IMAP LMTP transport
csync                2005/tcp                        # Cyrus IMAP replication
</pre>
      </blockquote>
      Any thoughts?<br>
      <br>
      Cheers,<br>
      &nbsp;&nbsp;&nbsp; -nic<br>
      <pre class="moz-signature" cols="72">-- 
Nic Bernstein                             <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight, Inc.                             <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
219 N. Milwaukee St., Suite 2a            v. 414.272.4477
Milwaukee, Wisconsin  53202
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Nic Bernstein                             <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight, Inc.                             <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
219 N. Milwaukee St., Suite 2a            v. 414.272.4477
Milwaukee, Wisconsin  53202
</pre>
  </body>
</html>