Cyrus Failed [CLOSED]

All questions about cyrus-imap used by artica

Cyrus Failed [CLOSED]

New postby lpasantos » Thu Feb 26, 2009 5:26 pm

Sorry, I posted this in bad place before.
Urgent, need help, after updating to the latest version of the Arctic, it stopped working.
I can not send or receive mail for IMAP, POP3 and SMTP
after execute /etc/init.d/artica-postfix start imap --verbose
Code: Select all
Starting......: saslauthd already running using PID 20009...
Starting......: saslauthd already running using PID 20009...
Error while read /var/run/cyrmaster.pid
Starting......: configdirectory=/var/lib/cyrus
Starting......: configdirectory=/var/lib/cyrus
Error while read /var/run/cyrmaster.pid
/bin/chown -R cyrus:mail /var/lib/cyrus/db >/tmp/artica-install-d3da0601f8aad1f095fb5d2af792068a 2>&1
TCyrus.Configure():: Configure start...
Configure -> ETC_DEFAULT_SASLAUTHD()
Configure -> CYRUS_ETC_DEFAULT_CYRUS22()
Starting......: cyrus-imapd success writing /etc/default/cyrus2.2
Starting......: cyrus-imapd success writing /etc/default/cyrus2.2
Configure -> SASLAUTHD_CONFIGURE()
SASLAUTHD_CONFIGURE:: -> Saving /etc/saslauthd.conf
Configure -> CYRUS_CERTIFICATE()
starting certificate.........: writing /etc/artica-postfix/ssl.certificate.conf
/etc/ssl/certs/cyrus.pem OK... finish
Configure -> IMPAD_CONF()
IMPAD_CONF:: adding postfix user into mail group
Tsystem.AddUserToGroup()::postfixexists...
Starting......: cyrus-imapd change imapd.conf done..
Starting......: cyrus-imapd change imapd.conf done..
TCyrus.Configure():: Configure end...
/etc/init.d/cyrus2.2 start & >/tmp/artica-install-ab8f38a62ada0e965f9c910d8a17ebc3 2>&1
Error while read /var/run/cyrmaster.pid
Starting Cyrus IMAPd: .Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
(failed).
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid
.Error while read /var/run/cyrmaster.pid

Starting......: cyrus-imapd (timeout!!!)
Starting......: cyrus-imapd (timeout!!!)

Error while read /var/run/cyrmaster.pid
Starting......: cyrus-imapd failed, try to repair
Starting......: cyrus-imapd failed, try to repair
su cyrus -c "/usr/sbin/ctl_cyrusdb -r"
Aborted
/etc/init.d/cyrus2.2 start >/tmp/artica-install-62962da86c6cb3e3a933999669f2b9a8 2>&1
Starting Cyrus IMAPd: (failed).

Starting Cyrus IMAPd: (failed).

Error while read /var/run/cyrmaster.pid


any idea?

thanks,
Luis
lpasantos
 
Posts: 104
Joined: Wed Jan 14, 2009 11:48 am

Re: Cyrus Failed

New postby admin » Thu Feb 26, 2009 6:01 pm

Give me a piece of log of /var/logs/syslog when starting cyrus
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Cyrus Failed

New postby admin » Thu Feb 26, 2009 6:43 pm

User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Cyrus Failed

New postby lpasantos » Thu Feb 26, 2009 11:18 pm

hi,
after execution of the command
Code: Select all
/usr/share/artica-postfix/bin/artica-install --recover-cyrus

appears the following error message:
Code: Select all
Your command line "--recover-cyrus " is not understood


thanks,

Luis Santos
lpasantos
 
Posts: 104
Joined: Wed Jan 14, 2009 11:48 am

Re: Cyrus Failed

New postby admin » Thu Feb 26, 2009 11:34 pm

This is a new one

retry after replace the binary

Code: Select all
/usr/share/artica-postfix/bin/artica-install --recover-cyrus
Attachments
artica-install.tar.gz
(2.47 MiB) Downloaded 389 times
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Cyrus Failed

New postby admin » Thu Feb 26, 2009 11:37 pm

You can do it also manually by

Code: Select all
touch /etc/artica-postfix/cyrus-stop
/etc/init.d/artica-postfix stop cyrus
su cyrus -c "/usr/sbin/ctl_cyrusdb -r"
rm -rf /etc/artica-postfix/cyrus-stop
/etc/init.d/artica-postfix start cyrus
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Cyrus Failed

New postby lpasantos » Fri Feb 27, 2009 12:27 am

Now have access to webmail, but I can not send or receive messages, as well as via Outlook stopped working to.

Now not work!!!

"... (ISP). O servidor respondeu: 451 4.5.0 Error in processing, id=20392, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 99) line 325.' "

Luis Santos
lpasantos
 
Posts: 104
Joined: Wed Jan 14, 2009 11:48 am

Re: Cyrus Failed

New postby admin » Fri Feb 27, 2009 1:37 am

Amavis try to talk to /var/run/clamav/clamd.ctl socket but with the last patch clamav listen /var/run/clamav/clamav.sock, you just have to save amavis configuration by click on Save & Apply settings on the web interface, this will replace the amavis configuration with the right path


To test if config is right
Code: Select all
cat /usr/local/etc/amavisd.conf |grep ClamAV-clamd

should be the same of
Code: Select all
cat /etc/clamav/clamd.conf |grep LocalSocket
User avatar
admin
Site Admin
 
Posts: 11941
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Cyrus Failed

New postby lpasantos » Fri Feb 27, 2009 3:35 pm

Hi,
ok, I do not understand what happened with this update of artica system?
Now have access to webmail, I send a mail to external epc.pt (eg. lpasantos@gmail.com, santos.lp @ sapo.pt, etc ...), but I can not get send or recive from the outside (lpasantos@gmail.com to lpasantos@epc.pt failed) and when sending via webmail from lpasantos@epc.pt to mailadmin@epc.pt, tells me that the message was sent successfully, but to go with the webmail lpasantos the system tell me that there are no messages receiving, or not enough nothing to the mailbox of lpasantos@epc.pt.
when I click in "save & apply your policies" appear in the report an error in postfix, is this the cause of the problems?

see:
apply-settings.jpg
apply-settings.jpg (30.44 KiB) Viewed 8383 times


thanks,

Luis Santos
lpasantos
 
Posts: 104
Joined: Wed Jan 14, 2009 11:48 am

Re: Cyrus Failed

New postby lpasantos » Fri Feb 27, 2009 3:50 pm

see output of command "tail -f /var/log/mail.log" when try to send a mail to a external user an internal user
Code: Select all
Feb 27 15:25:08 mail cyrus/ctl_cyrusdb[21404]: archiving database file: /var/lib                                                                                                                     /cyrus/mailboxes.db
Feb 27 15:25:08 mail cyrus/ctl_cyrusdb[21404]: archiving log file: /var/lib/cyru                                                                                                                     s/db/log.0000000001
Feb 27 15:25:08 mail cyrus/ctl_cyrusdb[21404]: archiving log file: /var/lib/cyru                                                                                                                     s/db/log.0000000001
Feb 27 15:25:08 mail cyrus/ctl_cyrusdb[21404]: done checkpointing cyrus database                                                                                                                     s
Feb 27 15:25:08 mail cyrus/master[5039]: process 21404 exited, status 0
Feb 27 15:34:23 mail cyrus/master[26267]: about to exec /usr/lib/cyrus/bin/pop3d
Feb 27 15:34:23 mail cyrus/pop3[26267]: executed
Feb 27 15:34:23 mail cyrus/pop3[26267]: accepted connection
Feb 27 15:34:31 mail cyrus/pop3[26267]: login: bl6-222-143.dsl.telepac.pt [82.15                                                                                                                     5.222.143] direccao plaintext User logged in
Feb 27 15:35:31 mail cyrus/master[5039]: process 26267 exited, status 0
Feb 27 15:39:19 mail cyrus/master[29155]: about to exec /usr/lib/cyrus/bin/imapd
Feb 27 15:39:19 mail cyrus/imap[29155]: executed
Feb 27 15:39:19 mail cyrus/imap[29155]: accepted connection
Feb 27 15:39:19 mail cyrus/imap[29155]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:39:19 mail cyrus/imap[29155]: accepted connection
Feb 27 15:39:19 mail cyrus/imap[29155]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:39:19 mail cyrus/imap[29155]: skiplist: recovered /var/lib/cyrus/user/m/mailadmin.seen (2 records, 7036 bytes) in 0 seconds
Feb 27 15:39:19 mail cyrus/imap[29155]: seen_db: user mailadmin opened /var/lib/cyrus/user/m/mailadmin.seen
Feb 27 15:39:19 mail cyrus/imap[29155]: open: user mailadmin opened INBOX
Feb 27 15:39:20 mail cyrus/imap[29155]: accepted connection
Feb 27 15:39:20 mail cyrus/imap[29155]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:39:27 mail cyrus/imap[29155]: accepted connection
Feb 27 15:39:27 mail cyrus/imap[29155]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:39:27 mail cyrus/imap[29155]: accepted connection
Feb 27 15:39:27 mail cyrus/imap[29155]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:40:27 mail cyrus/master[5039]: process 29155 exited, status 0
Feb 27 15:40:41 mail cyrus/master[29884]: about to exec /usr/lib/cyrus/bin/imapd
Feb 27 15:40:41 mail cyrus/imap[29884]: executed
Feb 27 15:40:41 mail cyrus/imap[29884]: accepted connection
Feb 27 15:40:41 mail cyrus/imap[29884]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:40:42 mail postfix/smtpd[29885]: connect from localhost.localdomain[127.0.0.1]
Feb 27 15:40:42 mail milter-greylist: smfi_getsymval failed for {i}
Feb 27 15:40:42 mail milter-greylist: Sender IP 127.0.0.1 and address <mailadmin@epc.pt> are SPF-compliant, bypassing greylist
Feb 27 15:40:42 mail postfix/smtpd[29885]: 341FD78394: client=localhost.localdomain[127.0.0.1]
Feb 27 15:40:42 mail postfix/cleanup[29889]: 341FD78394: message-id=<0011dbd0aedad2e8cefc759b6dd2334b@mail>
Feb 27 15:40:42 mail milter-greylist: smfi_getsymval failed for {if_addr}
Feb 27 15:41:10 mail postfix/qmgr[1879]: 341FD78394: from=<mailadmin@epc.pt>, size=744, nrcpt=2 (queue active)
Feb 27 15:41:11 mail cyrus/imap[29884]: seen_db: user mailadmin opened /var/lib/cyrus/user/m/mailadmin.seen
Feb 27 15:41:11 mail postfix/smtpd[29885]: disconnect from localhost.localdomain[127.0.0.1]
Feb 27 15:41:11 mail cyrus/imap[29884]: accepted connection
Feb 27 15:41:11 mail cyrus/imap[29884]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:41:11 mail cyrus/imap[29884]: open: user mailadmin opened INBOX
Feb 27 15:41:12 mail cyrus/imap[29884]: accepted connection
Feb 27 15:41:12 mail cyrus/imap[29884]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:41:34 mail cyrus/imap[29884]: accepted connection
Feb 27 15:41:34 mail cyrus/imap[29884]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:41:34 mail cyrus/imap[29884]: open: user mailadmin opened INBOX/Drafts
Feb 27 15:41:35 mail cyrus/imap[29884]: accepted connection
Feb 27 15:41:35 mail cyrus/imap[29884]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:41:35 mail cyrus/imap[29884]: open: user mailadmin opened INBOX
Feb 27 15:41:36 mail cyrus/imap[29884]: accepted connection
Feb 27 15:41:36 mail cyrus/imap[29884]: login: localhost.localdomain [127.0.0.1] mailadmin plaintext User logged in
Feb 27 15:41:36 mail cyrus/imap[29884]: open: user mailadmin opened INBOX/Sent
Feb 27 15:41:36 mail cyrus/imap[29884]: SQUAT failed to open index file
Feb 27 15:41:36 mail cyrus/imap[29884]: SQUAT failed
Feb 27 15:41:37 mail cyrus/imap[29884]: SQUAT failed to open index file
Feb 27 15:41:37 mail cyrus/imap[29884]: SQUAT failed
Feb 27 15:42:00 mail postfix/smtp[30000]: 341FD78394: to=<lpasantos@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.219.31]:25, delay=78, delays=29/0.02/48/1, dsn=2.0.0, status=sent (250 2.0.0 OK 1235749319 7si13370036ewy.82)
Feb 27 15:42:04 mail postfix/smtp[29999]: connect to mail.epc.pt[81.193.115.22]:25: Connection timed out
Feb 27 15:42:13 mail postfix/smtp[29999]: connect to relay1.telepac.pt[194.65.79.73]:25: No route to host
Feb 27 15:42:13 mail postfix/smtp[29999]: connect to relay1.telepac.pt[194.65.79.79]:25: No route to host
Feb 27 15:42:14 mail postfix/smtp[29999]: 341FD78394: to=<lpasantos@epc.pt>, relay=none, delay=92, delays=29/0.02/63/0, dsn=4.4.1, status=deferred (connect to relay1.telepac.pt[194.65.79.79]:25: No route to host)


thanks again
Luis Santos
lpasantos
 
Posts: 104
Joined: Wed Jan 14, 2009 11:48 am

Next

Return to Cyrus-imap

Who is online

Users browsing this forum: No registered users and 1 guest

cron