General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Conflict of running 2 cron tasks every minute


Chronological Thread 
  • From: Zhang Huangbin < >
  • To:
  • Subject: [SOGo] Conflict of running 2 cron tasks every minute
  • Date: Thu, 24 Sep 2015 00:25:42 +0800
  • Authentication-results: mail.iredmail.org (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=iredmail.org

Dear developers,

I always have issue with running 2 cron tasks every minute, hope you guys can
help me out.

According to SOGo installation guide, we need 2 cron jobs:

1) Session cleanup - runs every minute

* * * * * /usr/sbin/sogo-tool expire-sessions 60

2) Email alarms - runs every minutes

* * * * * /usr/sbin/sogo-ealarms-notify

The issues are:

1) Failed to create lock directory

2015-07-01 10:58:02.534 sogo-tool[27443] Failed to create lock directory
'/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck' -
/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck
and

2015-07-01 10:56:01.468 sogo-ealarms-notify[27401] Failed to create lock
directory '/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck'

2) broken lock file

2015-09-23 05:51:01.450 sogo-ealarms-notify[27790] Warning ... someone broke
our lock (/var/lib/sogo/GNUstep/Defaults/.lck/.GNUstepDefaults.lck) ... and
may have interfered with updating defaults data in file.

Did i setup the cron jobs improperly? Any idea? Any help is greatly
appreciated. :)

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).




Archive powered by MHonArc 2.6.18.

Top of page