Urgent: Cyrus troube after upgrade

Patrick Boutilier boutilpj at ednet.ns.ca
Tue Feb 16 11:13:50 EST 2010


On 02/16/2010 12:03 PM, Matthias Wulkow wrote:
> Hello Patrick,
>
> I didn't try yet to remove the deliver file (and stop/start cyrus) as
> users are using it and I would like to test as few as possible...
>
> Regaring these errors, isn't maybe better to use lmtp instead of
> lmtpunix which requires this socket?
>
>   From the cyrus.conf:
> # at least one LMTP is required for delivery
> # lmtp		cmd="lmtpd" listen="lmtp" prefork=0
> lmtpunix	cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
>
> The socket file is there (I checked).
>
> Here is the cyrus-imapd file:
>
<snip>


Ok, running as user cyrus, which appears to be set to /sbin/nologin in 
/etc/passwd. Check in /etc/passwd and make sure the cyrus user has a 
shell of /bin/bash






> start() {
>     if is_running; then
>       echo -n $"$BASENAME already running."
>       false
>       echo
>     else
>       if [ $QUICK -eq 0 ]; then
>         echo -n $"Importing $BASENAME databases: "
>         cd $CONFIGDIRECTORY
>         $RUNUSER - cyrus -c "umask 166 ; INSTANCE=$INSTANCE
> /usr/lib/cyrus-imapd/cvt_cyrusdb_all>
> ${CONFIGDIRECTORY}/rpm/db_import.log 2>&1"<  /dev/null
>         RETVAL=$?
>         if [ $RETVAL -eq 0 ]; then
>           success $"$BASENAME importing databases"
>         else
>           failure $"$BASENAME error importing databases, check
> ${CONFIGDIRECTORY}/rpm/db_import.log"
>         fi
>         echo
>       fi
>       if [ $RETVAL -eq 0 ]; then
>         echo -n $"Starting ${BASENAME}: "
>         $CYRUSMASTER -C $IMAPDCONF -M $CYRUSCONF -p $PIDFILE -d
> $CYRUSOPTIONS 2>/dev/null 1>&2
>         RETVAL=$?
>         [ $RETVAL -eq 0 ]&&  success $"$BASENAME startup" || failure
> $"$BASENAME startup"
>         echo
>       fi
>     fi
>     [ $RETVAL -eq 0 ]&&  touch $LOCKFILE
>     return $RETVAL
> }
><snip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100216/4ef2f920/attachment.vcf 


More information about the Info-cyrus mailing list