1 (edited by torsten 2017-03-17 16:56:23)

Topic: [SOLVED]ActiveSync Outlook didnt Sync anymore

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
IREDMAIL Version 0.9.5-1
Distributor ID: Debian
Description:    Debian GNU/Linux 8.7 (jessie)
Release:        8.7
Codename:       jessie
MYSQL
APACHE
IREDMAILADMIN

Hello,

my outlook and android is not sync anymore. I have some errors in apache error.log. Can you take a lock
and help me? Thank you.

greetings
torsten

ApacheLOG

[Wed Mar 15 12:07:03.675336 2017] [proxy:error] [pid 1055] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:20000 (127.0.0.1) failed
[Wed Mar 15 12:07:03.675367 2017] [proxy:error] [pid 1055] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 0s
[Wed Mar 15 12:07:03.675376 2017] [proxy_http:error] [pid 1055] [client 193.109.238.134:51460] AH01114: HTTP: failed to make connection to backend: 127.0.0.1, referer: https://mail.xxxxx.de/SOG$
[Wed Mar 15 12:17:47.606786 2017] [proxy_http:error] [pid 1055] (70007)The timeout specified has expired: [client 89.204.154.66:38106] AH01102: error reading status line from remote server 127.0.0$
[Wed Mar 15 12:17:47.606833 2017] [proxy:error] [pid 1055] [client 89.204.154.66:38106] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync
[Wed Mar 15 12:22:47.441623 2017] [proxy_http:error] [pid 1717] (70007)The timeout specified has expired: [client 109.47.1.161:53698] AH01102: error reading status line from remote server 127.0.0.$
[Wed Mar 15 12:22:47.441670 2017] [proxy:error] [pid 1717] [client 109.47.1.161:53698] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync
[Wed Mar 15 12:28:09.106648 2017] [proxy_http:error] [pid 1953] (70007)The timeout specified has expired: [client 89.204.154.66:35799] AH01102: error reading status line from remote server 127.0.0$
[Wed Mar 15 12:28:09.106687 2017] [proxy:error] [pid 1953] [client 89.204.154.66:35799] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync


Edit:
after Reboot Outlook syncs for a minute an then i found this in the sogo.log

Mar 15 14:48:28 sogod [1012]: [WARN] <0x0x7f339d4c40c0[WOWatchDogChild]> pid 1092 has been hanging in the same request for 1 minutes
Mar 15 14:48:29 sogod [1092]: <0x0x7f339d3c97d0[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:49:02 sogod [1012]: [WARN] <0x0x7f339d4cdb30[WOWatchDogChild]> pid 1093 has been hanging in the same request for 1 minutes
Mar 15 14:49:02 sogod [1093]: <0x0x7f339d5b9550[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:49:15 sogod [1012]: [WARN] <0x0x7f339d4c3b90[WOWatchDogChild]> pid 1090 has been hanging in the same request for 12 minutes
Mar 15 14:49:18 sogod [1090]: <0x0x7f339d396de0[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:49:20 sogod [1012]: [WARN] <0x0x7f339d49dea0[WOWatchDogChild]> pid 1084 has been hanging in the same request for 5 minutes
Mar 15 14:49:22 sogod [1084]: <0x0x7f339d603010[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:49:28 sogod [1012]: [WARN] <0x0x7f339d4c40c0[WOWatchDogChild]> pid 1092 has been hanging in the same request for 2 minutes
Mar 15 14:49:29 sogod [1092]: <0x0x7f339d3c97d0[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:50:02 sogod [1012]: [WARN] <0x0x7f339d4cdb30[WOWatchDogChild]> pid 1093 has been hanging in the same request for 2 minutes
Mar 15 14:50:02 sogod [1093]: <0x0x7f339d5b9550[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:50:15 sogod [1012]: [WARN] <0x0x7f339d4c3b90[WOWatchDogChild]> pid 1090 has been hanging in the same request for 13 minutes
Mar 15 14:50:18 sogod [1090]: <0x0x7f339d396de0[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:50:20 sogod [1012]: [WARN] <0x0x7f339d49dea0[WOWatchDogChild]> pid 1084 has been hanging in the same request for 6 minutes
Mar 15 14:50:22 sogod [1084]: <0x0x7f339d603010[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:50:28 sogod [1012]: [WARN] <0x0x7f339d4c40c0[WOWatchDogChild]> pid 1092 has been hanging in the same request for 3 minutes
Mar 15 14:50:29 sogod [1092]: <0x0x7f339d3c97d0[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:51:02 sogod [1012]: [WARN] <0x0x7f339d4cdb30[WOWatchDogChild]> pid 1093 has been hanging in the same request for 3 minutes
Mar 15 14:51:03 sogod [1093]: <0x0x7f339d5b9550[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:51:15 sogod [1012]: [WARN] <0x0x7f339d4c3b90[WOWatchDogChild]> pid 1090 has been hanging in the same request for 14 minutes
Mar 15 14:51:18 sogod [1090]: <0x0x7f339d396de0[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:51:20 sogod [1012]: [WARN] <0x0x7f339d49dea0[WOWatchDogChild]> pid 1084 has been hanging in the same request for 7 minutes
Mar 15 14:51:23 sogod [1084]: <0x0x7f339d603010[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...
Mar 15 14:51:28 sogod [1012]: [WARN] <0x0x7f339d4c40c0[WOWatchDogChild]> pid 1092 has been hanging in the same request for 4 minutes
Mar 15 14:51:29 sogod [1092]: <0x0x7f339d3c97d0[SOGoActiveSyncDispatcher]> Sleeping 60 seconds while detecting changes in Ping...

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [SOLVED]ActiveSync Outlook didnt Sync anymore

torsten wrote:

[Wed Mar 15 12:07:03.675336 2017] [proxy:error] [pid 1055] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:20000 (127.0.0.1) failed

Port 20000 is SOGo service, please make sure it's running.

The log in sogo.log is normal.

3

Re: [SOLVED]ActiveSync Outlook didnt Sync anymore

its runnig:

sogo      1012  0.1  0.8 251348 17160 ?        S    14:35   0:04 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1084  0.0  1.0 265444 22036 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1085  0.0  2.0 284336 42080 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1086  0.0  1.0 264416 21008 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1087  0.0  1.8 281432 39560 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1088  0.0  1.0 265560 22816 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1089  0.0  0.8 260760 17248 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1090  0.0  1.8 281152 39196 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1091  0.0  1.8 281640 39408 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1092  0.0  1.8 281592 39612 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo      1093  0.0  1.8 281472 39512 ?        Ss   14:35   0:00 /usr/sbin/sogod -WOWorkersCount 10 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log

i can login to sogo webmail, only outlook and android sync didnt work.

4

Re: [SOLVED]ActiveSync Outlook didnt Sync anymore

How many mobile devices and ActiveSync clients are connecting to your server? You have only 10 SOGo workers, if you have more devices/clients, you may need to increase the workers to serve them.

Try to use more workers in /etc/default/sogo, then restart sogo service and try again.

5

Re: [SOLVED]ActiveSync Outlook didnt Sync anymore

ZhangHuangbin wrote:

How many mobile devices and ActiveSync clients are connecting to your server? You have only 10 SOGo workers, if you have more devices/clients, you may need to increase the workers to serve them.

Try to use more workers in /etc/default/sogo, then restart sogo service and try again.


Thanks!!

Sorry for the late response :-/

It works after increase the value to 80.