Cyrus fails to load

Thomas Spuhler thomas.spuhler at btspuhler.com
Fri Apr 10 20:30:36 CEST 2015


On Friday, April 10, 2015 01:51:16 PM Hector Tapia wrote:
> Thomas,
> 
> Thanks for the response!  As you suspected, it was a sieve extension
> issue.  I ran the command "systemctl -l status cyrus-imapd" and discovered
> a problem with the "date" sieve extension.  I removed the "date" element
> from the line you referenced in imap.conf.  I also had to remove  "index"
> in the next round of testing.  Cyrus now loads and is active.
> 
> Unfortunately, I now have a new problem.  I don't know if I should start a
> new thread, but I'll just mention the issue here.  I can't log into
> roundcube now.  I tried changing passwords and creating new users, but
> they all fail.
> 
> This is what I see in cat /var/log/roundcubemail/errors:
> 
> [10-Apr-2015 13:40:44,000000 -0400]: <cukd2rcp> IMAP Error: Login failed
> for test.user at example.com from ###.###.###.###. LOGIN: Login only
> available under a layer in
> /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 198
> (POST /roundcubemail/?_task=login?_task=login&_action=login)
> 
> I used "kolab lm" to see if the mailbox had been created, but the command
> just hangs until I press control-c at which point I get this:
> 
> 2015-04-10 13:44:15,274 pykolab.imap WARNING Could not connect to Cyrus
> IMAP server 'imaps://localhost:993'

Maybe systemctl -l status cyrus-imapd will provide some info?

> 
> I used the command, "nmap -sT -O localhost" to confirm that 993/tcp is
> open.
> 
> I currently have cyrus-imapd-2.4.17-8.el7_1.x86_64 installed.
> 
> Thanks!
> 
> Hector
> 
> 
> 
> From:   Thomas Spuhler <thomas.spuhler at btspuhler.com>
> To:     users at lists.kolab.org
> Date:   04/09/2015 07:37 PM
> Subject:        Re: Cyrus fails to load
> Sent by:        users-bounces at lists.kolab.org
> 
> On Thursday, April 09, 2015 05:53:34 PM Hector Tapia wrote:
> > All,
> > 
> > I've been testing out Kolab 3.4 for the last week or two with a lot of
> > success.  I then decided to scrub and reinstall Centos 7 and Kolab and
> 
> in
> 
> > order to build a fresh demo for my managers.  I created a new user in
> 
> the
> 
> > Web Admin site and then tried to log in with it on the regular site and
> 
> I
> 
> > got "Connection to storage server failed."  I checked
> > /var/log/roundcubemail/errors and see that the connection is being
> 
> refused
> 
> > on localhost:143.  I disabled the firewall (firewalld) and tried again.
> > Same error.  I then checked systemctl and see that cyrus-imapd is
> 
> failing
> 
> > to load. I tried to manually start it, but it fails again.  I have the
> > following in my /var/log/messages:
> > 
> > Apr  9 17:48:42 c2 systemd: Starting Cyrus-imapd IMAP/POP3 email
> 
> server...
> 
> > Apr  9 17:48:42 c2 systemd: Created slice user-76.slice.
> > Apr  9 17:48:42 c2 systemd: Starting Session c5 of user cyrus.
> > Apr  9 17:48:42 c2 systemd: Started Session c5 of user cyrus.
> > Apr  9 17:48:44 c2 systemd: Started Cyrus-imapd IMAP/POP3 email server.
> > Apr  9 17:48:44 c2 systemd: cyrus-imapd.service: main process exited,
> > code=exited, status=75/n/a
> > Apr  9 17:48:44 c2 systemd: Created slice user-76.slice.
> > Apr  9 17:48:44 c2 systemd: Starting Session c6 of user cyrus.
> > Apr  9 17:48:44 c2 systemd: Started Session c6 of user cyrus.
> > Apr  9 17:48:46 c2 systemd: Unit cyrus-imapd.service entered failed
> 
> state.
> 
> > Other than the newest roundcube updates to the Kolab repo, everything is
> > 
> > exactly the same as my previous install.  Can someone help me get Cyrus
> > running?
> > 
> > Hector
> 
> It seems you have systemd. Maybe the command "systemctl -l status
> cyrus-imapd"
> would provide more info.
> 
> What version of cyrus-imap are you using?
> 
> you may want to look at this line in /etc/imap.conf
> sieve_extensions: fileinto reject envelope body vacation imapflags notify
> include regex subaddress
> relational copy
> 
> start deleting what you have in addition to what I have here, and try to
> restart it after each
> delete.

Are you by chance using php-5.6?

-- 
Best regards
Thomas Spuhler

All of my e-mails have a valid digital signature
ID 60114E63
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20150410/da14b0ea/attachment-0001.sig>


More information about the users mailing list