[Dovecot] dovecot 1.0.10 inet_addr(0.0.0.0)
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@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 info
Did 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 conf
What 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 info
Dovecot rarely exits without logging an error. Make sure you're looking at the correct log file: http://wiki.dovecot.org/Logging
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
On Thu, 2008-09-18 at 11:29 +0100, Yates Ian Mr (ITCS) wrote:
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.
What client? I'd guess this is a client issue. Some are worse than others at noticing changes done by other clients.
There's a mix of the following: Outlook Outlook express Thunderbird Squirrelmail (webmail)
But we tried getting the users sharing the account to use just one client (squirrelmail) and they were still reporting the problem?!
I forgot to say that they were working this way with no problems on dovecot 1.0.2 but since the migration to 1.1.3 we've had this problem.
In an effort to help the situation I changed the following settings from the original, from enabling lazy writes to disabling: mbox_dirty_syncs: no mbox_lazy_writes: no
-----Original Message----- From: dovecot-bounces+i.yates=uea.ac.uk@dovecot.org [mailto:dovecot-bounces+i.yates=uea.ac.uk@dovecot.org] On Behalf Of Timo Sirainen Sent: Thursday, September 18, 2008 11:39 AM To: Dovecot Mailing List Subject: Re: [Dovecot] Mailbox consistency with multiple clients
On Thu, 2008-09-18 at 11:29 +0100, Yates Ian Mr (ITCS) wrote:
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.
What client? I'd guess this is a client issue. Some are worse than others at noticing changes done by other clients.
Sorry I got the previous version wrong, we had no problems with multiple clients when using dovecot 1.0.8
I.
-----Original Message----- From: dovecot-bounces+i.yates=uea.ac.uk@dovecot.org [mailto:dovecot-bounces+i.yates=uea.ac.uk@dovecot.org] On Behalf Of Yates Ian Mr (ITCS) Sent: Thursday, September 18, 2008 12:07 PM To: Dovecot Mailing List Subject: Re: [Dovecot] Mailbox consistency with multiple clients
There's a mix of the following: Outlook Outlook express Thunderbird Squirrelmail (webmail)
But we tried getting the users sharing the account to use just one client (squirrelmail) and they were still reporting the problem?!
I forgot to say that they were working this way with no problems on dovecot 1.0.2 but since the migration to 1.1.3 we've had this problem.
In an effort to help the situation I changed the following settings from the original, from enabling lazy writes to disabling: mbox_dirty_syncs: no mbox_lazy_writes: no
-----Original Message----- From: dovecot-bounces+i.yates=uea.ac.uk@dovecot.org [mailto:dovecot-bounces+i.yates=uea.ac.uk@dovecot.org] On Behalf Of Timo Sirainen Sent: Thursday, September 18, 2008 11:39 AM To: Dovecot Mailing List Subject: Re: [Dovecot] Mailbox consistency with multiple clients
On Thu, 2008-09-18 at 11:29 +0100, Yates Ian Mr (ITCS) wrote:
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.
What client? I'd guess this is a client issue. Some are worse than others at noticing changes done by other clients.
On Thu, 2008-09-18 at 12:06 +0100, Yates Ian Mr (ITCS) wrote:
There's a mix of the following: Outlook Outlook express Thunderbird Squirrelmail (webmail)
But we tried getting the users sharing the account to use just one client (squirrelmail) and they were still reporting the problem?!
I forgot to say that they were working this way with no problems on dovecot 1.0.2 but since the migration to 1.1.3 we've had this problem.
In an effort to help the situation I changed the following settings from the original, from enabling lazy writes to disabling: mbox_dirty_syncs: no mbox_lazy_writes: no
As long as you're using Dovecot's index files, these should make no difference. Do they?
I find this problem really weird. If you're using a shared account, it's exactly the same as if there were just a single user using multiple clients. Or in Squirrelmail case the same as if the same user was logged in multiple times with different web browsers. And in Squirrelmail case it connects, does something for a short time and disconnects. Dovecot doesn't even know if there are different users using it. So if it shows different views for different users, then the exact same thing should be happening also randomly to the same user even if s/he's the only one logged in.
Are you using any kind of an IMAP proxy?
I'm confused by this as well.
Additionally with 1.1.3 we were getting lots of reports of people deleting/moving items from their inbox and the items remaining in the inbox?! Also read items not being marked as read. Both of these are from squirrelmail, which as you say should be impossible as squirrelmail logs in, performs the operation and logs out.
We aren't using any kind of IMAP proxy.
We are using the dovecot index files.
As I said before, this was not a problem when we were using dovecot 1.0.8. In an effort to resolve this I will be downgrading to 1.0.8 this morning, I'll let you know if this sorts out the problems!
I.
-----Original Message----- From: dovecot-bounces+i.yates=uea.ac.uk@dovecot.org [mailto:dovecot-bounces+i.yates=uea.ac.uk@dovecot.org] On Behalf Of Timo Sirainen Sent: Monday, September 22, 2008 9:02 PM To: Dovecot Mailing List Subject: Re: [Dovecot] Mailbox consistency with multiple clients
There's a mix of the following: Outlook Outlook express Thunderbird Squirrelmail (webmail)
But we tried getting the users sharing the account to use just one client (squirrelmail) and they were still reporting the problem?!
I forgot to say that they were working this way with no problems on dovecot 1.0.2 but since the migration to 1.1.3 we've had
On Thu, 2008-09-18 at 12:06 +0100, Yates Ian Mr (ITCS) wrote: this problem.
In an effort to help the situation I changed the following settings from the original, from enabling lazy writes to disabling: mbox_dirty_syncs: no mbox_lazy_writes: no
As long as you're using Dovecot's index files, these should make no difference. Do they?
I find this problem really weird. If you're using a shared account, it's exactly the same as if there were just a single user using multiple clients. Or in Squirrelmail case the same as if the same user was logged in multiple times with different web browsers. And in Squirrelmail case it connects, does something for a short time and disconnects. Dovecot doesn't even know if there are different users using it. So if it shows different views for different users, then the exact same thing should be happening also randomly to the same user even if s/he's the only one logged in.
Are you using any kind of an IMAP proxy?
Did downgrading help? I've still no ideas why it would have been doing that with v1.1..
On Tue, 2008-09-23 at 08:24 +0100, Yates Ian Mr (ITCS) wrote:
I'm confused by this as well.
Additionally with 1.1.3 we were getting lots of reports of people deleting/moving items from their inbox and the items remaining in the inbox?! Also read items not being marked as read. Both of these are from squirrelmail, which as you say should be impossible as squirrelmail logs in, performs the operation and logs out.
We aren't using any kind of IMAP proxy.
We are using the dovecot index files.
As I said before, this was not a problem when we were using dovecot 1.0.8. In an effort to resolve this I will be downgrading to 1.0.8 this morning, I'll let you know if this sorts out the problems!
I.
-----Original Message----- From: dovecot-bounces+i.yates=uea.ac.uk@dovecot.org [mailto:dovecot-bounces+i.yates=uea.ac.uk@dovecot.org] On Behalf Of Timo Sirainen Sent: Monday, September 22, 2008 9:02 PM To: Dovecot Mailing List Subject: Re: [Dovecot] Mailbox consistency with multiple clients
There's a mix of the following: Outlook Outlook express Thunderbird Squirrelmail (webmail)
But we tried getting the users sharing the account to use just one client (squirrelmail) and they were still reporting the problem?!
I forgot to say that they were working this way with no problems on dovecot 1.0.2 but since the migration to 1.1.3 we've had
On Thu, 2008-09-18 at 12:06 +0100, Yates Ian Mr (ITCS) wrote: this problem.
In an effort to help the situation I changed the following settings from the original, from enabling lazy writes to disabling: mbox_dirty_syncs: no mbox_lazy_writes: no
As long as you're using Dovecot's index files, these should make no difference. Do they?
I find this problem really weird. If you're using a shared account, it's exactly the same as if there were just a single user using multiple clients. Or in Squirrelmail case the same as if the same user was logged in multiple times with different web browsers. And in Squirrelmail case it connects, does something for a short time and disconnects. Dovecot doesn't even know if there are different users using it. So if it shows different views for different users, then the exact same thing should be happening also randomly to the same user even if s/he's the only one logged in.
Are you using any kind of an IMAP proxy?
participants (5)
-
Steffen Kaiser
-
Timo Sirainen
-
tomas@tuxteam.de
-
Yates Ian Mr (ITCS)
-
Zbigniew Polito