Hi, I've got a problem. my Dovecot is not running ;) It immidiately exits when run with no output info I've figuret out that is something wrong with network but i can't find such option in conf any Ideas?? strace output : dup(3) = 5 fcntl64(5, F_GETFD) = 0 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6 setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 bind(6, {sa_family=AF_INET, sin_port=htons(995), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 getsockname(6, {sa_family=AF_INET, sin_port=htons(995), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 listen(6, 8) = 0 fcntl64(6, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(6, F_GETFD) = 0 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7 setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(7, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 bind(7, {sa_family=AF_INET, sin_port=htons(110), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 getsockname(7, {sa_family=AF_INET, sin_port=htons(110), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 listen(7, 8) = 0 fcntl64(7, F_GETFL) = 0x2 (flags O_RDWR) fcntl64(7, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl64(7, F_GETFD) = 0 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0 dup2(5, 0) = 0 dup2(5, 1) = 1 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e2b708) = 2692 --- SIGCHLD (Child exited) @ 0 (0) --- exit_group(0) = ? Process 2691 detached Regards -- Pozdrawiam Zbigniew Polito zbigniew_pol at airpost.net -- http://www.fastmail.fm - A fast, anti-spam email service.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 18 Sep 2008, Zbigniew Polito wrote:> It immidiately exits when run with no output infoDid you checked all log files, incl. syslog? You can try dovecot -F to run it in foreground, maybe something is written to stderr.> I've figuret out that is something wrong with network but i can't find > such option in confWhat option are you searching for? In which context? Why do you think, it's a network issue?> dup2(5, 1) = 1 > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0xb7e2b708) = 2692 > --- SIGCHLD (Child exited) @ 0 (0) --- > exit_group(0) = ?Did you made a strace -f following fork/exec? What's you dovecot -n output? And do you have SELinux enabled by any chance? Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI0f1lVJMDrex4hCIRAvK5AJ9h4cegeeAqUabhR6/wpHsH1KIAgACeOen0 S9ZExhTi58TGNBLFEs2/7r0=hCxF -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Sep 18, 2008 at 12:30:58AM +0200, Zbigniew Polito wrote:> Hi, > I've got a problem. > my Dovecot is not running ;) > It immidiately exits when run with no output info > I've figuret out that is something wrong with network but i can't find > such option in conf > any Ideas??No idea as to the cause, but it seems the real action is happening on the child:> strace output :[...]> clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0xb7e2b708) = 2692 > --- SIGCHLD (Child exited) @ 0 (0) --- > exit_group(0) = ? > Process 2691 detached...so you might want to let strace follow children too (option -f). HTH - -- tom?s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI0gCeBcgs9XrR2kYRAjPxAJ9InCaHETmLu+3Yd5toG7nMBUOkFQCeOUD3 swDWgjkHAvYKz44bxxatzgc=uUFF -----END PGP SIGNATURE-----
On Thu, 2008-09-18 at 00:30 +0200, Zbigniew Polito wrote:> Hi, > I've got a problem. > my Dovecot is not running ;) > It immidiately exits when run with no output infoDovecot rarely exits without logging an error. Make sure you're looking at the correct log file: http://wiki.dovecot.org/Logging -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080918/4e313c22/attachment-0002.bin>
Yates Ian Mr (ITCS)
2008-Sep-18 10:29 UTC
[Dovecot] Mailbox consistency with multiple clients
We're experiencing a problem with a shared account, where multiple users are accessing it at the same time there seems to be a problem where the view one user sees is not the same as the other users. This includes experiences such as deleted mail reappearing, moved mail not arriving at a destination. I'm running the latest release of dovecot (1.1.3) with the following settings. Any help would be appreciated. Cheers. # 1.1.3: /usr/local/dovecot-1.1.3/etc/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/error.log info_log_path: /var/log/dovecot/info.log protocols: imap imaps pop3 pop3s ssl_cert_file: /usr/share/ssl/certs/dovecot-cert.pem ssl_key_file: /usr/share/ssl/private/dovecot-key.pem disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login login_process_size: 16 login_processes_count: 20 login_max_processes_count: 1000 valid_chroot_dirs: /var/spool/mail:/home max_mail_processes: 1024 verbose_proctitle: yes mail_location: mbox:%h/Mail:INBOX=/mail/spool/%u:INDEX=/mail/cache/%u fsync_disable: yes maildir_copy_with_hardlinks: no mbox_min_index_size: 200 mbox_dirty_syncs: no mbox_lazy_writes: no mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/dovecot-1.1.3/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/dovecot-1.1.3/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/dovecot-1.1.3/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_uidl_format(default): %08Xu%08Xv pop3_uidl_format(imap): %08Xu%08Xv pop3_uidl_format(pop3): %08Xv%08Xu pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh namespace: type: private inbox: yes list: yes subscriptions: yes auth default: executable: /usr/local/dovecot/libexec/dovecot/dovecot-auth count: 50 worker_max_count: 100 passdb: driver: pam args: session=yes dovecot passdb: driver: passwd passdb: driver: shadow userdb: driver: passwd