[SOGo] Sogo freeze 100% CPU
HI, I'm using Sogo 2.0.3a with a prostgresql Database, a CAS identification for web pages and Caldav access. Since 4 days, some of our Sogo processes freeze every 30 minutes on specific CalDav requests. A PROPFIND command on specific calendars (5 URLS are concerned) freeze sogo processes. The caldav commands are emitted by lightning or icedove I try to make a backtrace, but it's a bit empty : #0 0x745a7831 in ?? () from /lib/libc.so.6 #1 0x745a9a30 in malloc () from /lib/libc.so.6 #2 0x76194af3 in -[NGByteBuffer la:] (self=0x78950330, _cmd=optimized out, _la=1023) at NGByteBuffer.m:254 #3 0x76685295 in _la (_la=optimized out, self=optimized out) at NGMimePartParser.m:1306 #4 -[NGMimePartParser readBodyUnknownLengthStream] (self=0x78889060, _cmd=optimized out) at NGMimePartParser.m:861 #5 0x76683e3b in -[NGMimePartParser readBody] (self=0x78889060, _cmd=optimized out) at NGMimePartParser.m:1041 #6 0x7668350a in -[NGMimePartParser parseBodyOfPart:] (self=0x78889060, _cmd=optimized out, _part=0x78912d10) at NGMimePartParser.m:1126 #7 0x76abbc24 in -[NGHttpMessageParser parseBodyOfPart:] (self=0x78889060, _cmd=0x7690d840, _part=0x78912d10) at NGHttpMessageParser.m:595 #8 0x766844b7 in -[NGMimePartParser parsePart] (self=0x78889060, _cmd=optimized out) at NGMimePartParser.m:1250 #9 0x7668389a in -[NGMimePartParser parsePartFromStream:] (self=0x78889060, _cmd=optimized out, _stream=optimized out) at NGMimePartParser.m:1267 #10 0x76abc146 in -[NGHttpMessageParser parseResponseFromStream:] (self=0x78889060, _cmd=0x76dba920, _stream=0x788c54b0) at NGHttpMessageParser.m:713 #11 0x76aa3f8c in -[WOHTTPConnection readResponse] (self=0x78978f10, _cmd=optimized out) at WOHTTPConnection.m:542 #12 0x77b7416a in -[SOGoCASSession _performCASRequestWithAction:andParameters:] (self=0x789a3e90, _cmd=0x77dc6690, casAction=0x77dc5ba0, parameters=0x788b4b30) at SOGoCASSession.m:357 #13 0x77b7448c in -[SOGoCASSession _fetchTicketData] (self=0x789a3e90, _cmd=0x77dc66c0) at SOGoCASSession.m:390 #14 0x77b745ab in -[SOGoCASSession login] (self=0x789a3e90, _cmd=0x77dc7200) at SOGoCASSession.m:405 #15 0x77b74ab7 in -[SOGoDAVAuthenticator checkLogin:password:] (self=0x788a93e0, _cmd=0x76e35e60, _login=0x78942e30, _pwd=0x78944d30) at SOGoDAVAuthenticator.m:82 #16 0x76b0ff34 in -[SoHTTPAuthenticator preprocessCredentialsInContext:] () from /usr/lib/libNGObjWeb.so.4.9 #17 0x76b166d3 in -[SoObjectRequestHandler handleRequest:inContext:session:application:] () from /usr/lib/libNGObjWeb.so.4.9 #18 0x76aaa1bb in -[WORequestHandler handleRequest:] (self=0x785b85f0, _cmd=optimized out, _request=0x78921af0) at WORequestHandler.m:237 #19 0x76a7198c in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x783380a0, _cmd=optimized out, _request=0x78921af0, handler=0x785b85f0) at WOCoreApplication.m:712 #20 0x77ff9a89 in -[SOGo dispatchRequest:] (self=0x783380a0, _cmd=0x76e226c0, _request=0x78921af0) at SOGo.m:453 #21 0x76b065d5 in -[WOHttpTransaction _run] (self=0x78940790, _cmd=optimized out) at WOHttpTransaction.m:578 #22 0x76b067c8 in -[WOHttpTransaction run] (self=0x78940790, _cmd=optimized out) at WOHttpTransaction.m:631 #23 0x76b02ba9 in -[WOHttpAdaptor runConnection:] (self=0x7885a1a0, _cmd=optimized out, _socket=0x7892de70) at WOHttpAdaptor.m:367 #24 0x76b02db6 in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0x7885a1a0, _cmd=optimized out, _connection=0x7892de70) at WOHttpAdaptor.m:401 #25 0x76b03232 in -[WOHttpAdaptor _handleConnection:] (self=0x7885a1a0, _cmd=optimized out, connection=0x7892de70) at WOHttpAdaptor.m:460 #26 0x76b0405d in -[WOHttpAdaptor acceptConnection:] (self=0x7885a1a0, _cmd=optimized out, _notification=optimized out) at WOHttpAdaptor.m:521 #27 0x75388c32 in -[NSNotificationCenter _postAndRelease:] (self=optimized out, _cmd=optimized out, notification=optimized out) at NSNotificationCenter.m:1161 #28 0x754756a1 in -[GSRunLoopCtxt pollUntil:within:] (self=0x7866dd40, _cmd=optimized out, milliseconds=optimized out, contexts=0x786ea670) at GSRunLoopCtxt.m:636 #29 0x753c8c01 in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x7869b640, _cmd=optimized out, mode=0x7576e600, limit_date=optimized out) at NSRunLoop.m:1197 #30 0x753c7ba0 in -[NSRunLoop runMode:beforeDate:] (self=0x7869b640, _cmd=optimized out, mode=0x7576e600, date=0x784eed70) at NSRunLoop.m:1265 #31 0x76a712ce in -[WOCoreApplication run] (self=0x783380a0, _cmd=optimized out) at WOCoreApplication.m:584 #32 0x77ff90fd in -[SOGo
[SOGo] Proper way to migrate and upgrade
We are moving our current 1.3.18a install to a new machine and upgrade to the most recent 2.0 branch of sogo at the same time. Our current setup has its mysql database on a separate machine as is the IMAP mail store. These machines are migrating as well if that matters. What I had thought would most likely be the best way to migrate is to use a sogo-tool backup on the current one, setup the new machine the way I want, then use the backup to import the data. Am I correct in assuming this? -- Donny B. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Proper way to migrate and upgrade
Bonjour, Le mercredi 16 janvier 2013, Donny Brooks a écrit... We are moving our current 1.3.18a install to a new machine and upgrade to the most recent 2.0 branch of sogo at the same time. Our current setup has its mysql database on a separate machine as is the IMAP mail store. These machines are migrating as well if that matters. What I had thought would most likely be the best way to migrate is to use a sogo-tool backup on the current one, setup the new machine the way I want, then use the backup to import the data. Am I correct in assuming this? Yes. We made it this way. -- jm -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Proper way to migrate and upgrade
On Wednesday, January 16, 2013 10:31 AM CST, Jean-Michel OLTRA jm.ol...@imereos.fr wrote: Bonjour, Le mercredi 16 janvier 2013, Donny Brooks a écrit... We are moving our current 1.3.18a install to a new machine and upgrade to the most recent 2.0 branch of sogo at the same time. Our current setup has its mysql database on a separate machine as is the IMAP mail store. These machines are migrating as well if that matters. What I had thought would most likely be the best way to migrate is to use a sogo-tool backup on the current one, setup the new machine the way I want, then use the backup to import the data. Am I correct in assuming this? Yes. We made it this way. -- jm -- users@sogo.nu https://inverse.ca/sogo/lists Thank you. I was thinking this was correct but always like to double check. -- Donny B. -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Thunderbird 17/Lightning 1.9 cache errors
Hello, For those who are using Thunderbird 17 and Lightning 1.9 and are having random cache issues (unable to delete/modify events, can't dismiss alarms, etc.). Please have a look at this ticket: http://www.sogo.nu/bugs/view.php?id=2182 There are two patches to apply if you want to try them out. If you want to leave feedback regarding these patches, please leave it directly in Mozilla's bug tracking system for this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=827078 Thanks, -- Ludovic Marcotte +1.514.755.3630 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Cannot login Sogo
Hi, I just installed Sogo 2.03a on Ubuntu Server 12.03 with this configuration NSGlobalDomain sogod OCSEMailAlarmsFolderURL mysql://sogo:sogo@localhost :3306/sogo/sogo_alarms_folder OCSFolderInfoURL mysql://sogo:sogo@localhost :3306/sogo/sogo_folder_info OCSSessionsFolderURL mysql://sogo:sogo@localhost :3306/sogo/sogo_sessions_folder SMTPServer localhost SOGoACLsSendEMailNotifications YES SOGoAppointmentSendEMailNotifications YES SOGoCalendarDefaultRoles PublicViewer ConfidentialDandTViewer SOGoContactsDefaultRoles ObjectViewer SOGoDraftsFolderName Drafts SOGoFolderInfoURL mysql://sogo:sogo@localhost :3306/sogo/sogo_folder_info SOGoFoldersSendEMailNotifications YES SOGoForwardEnabled YES SOGoIMAPAclConformsToIMAPExt YES SOGoIMAPServer localhost SOGoLanguage German SOGoMailAuxiliaryUserAccountsEnabled YES SOGoMailComposeMessageType html SOGoMailCustomFromEnabled YES SOGoMailDomain brinkhaus.org SOGoMailMessageCheck every_minute SOGoMailUseOutlookStyleReply YES SOGoMailingMechanism smtp SOGoMemcachedHost 127.0.0.1 SOGoProfileURL mysql://sogo:sogo@localhost :3306/sogo/sogo_user_profile SOGoSentFolderName Sent SOGoSieveScriptsEnabled YES SOGoSieveServer sieve://localhost SOGoSoftQuotaRatio 0.75 SOGoTimeZone Europe/Berlin SOGoTrashFolderName Trash SOGoUserSources CNFieldName displayName IDFieldName sAMAccountName baseDN cn=Users,dc=brinkhaus,dc=local bindDN cn=Administrator,cn=Users,dc=brinkhaus,dc=local bindFields sAMAccountName bindPassword X canAuthenticate YES displayName Shared Addresses hostname 127.0.0.1 id samba isAddressbook YES port 389 SOgoPageTitle Groupware von Familie Brinkhaus WOWorkersCount 3 the correct credentials are identified but with correct credentials I get the message: object not found. In Log for sogo-service startup and try to login Jan 17 00:00:12 sogod [32060]: version 2.0.3 (build @shiva 201212071049) -- starting Jan 17 00:00:12 sogod [32060]: vmem size check enabled: shutting down app when vmem 384 MB Jan 17 00:00:12 sogod [32060]: SOGo products loaded from '/usr/lib/GNUstep/SOGo': Jan 17 00:00:12 sogod [32060]: MainUI.SOGo, PreferencesUI.SOGo, Contacts.SOGo, MailPartViewers.SOGo, CommonUI.SOGo, AdministrationUI.SOGo, MailerUI.SOGo, Appointments.SOGo, SchedulerUI.SOGo, Mailer.SOGo, ContactsUI.SOGo Jan 17 00:00:12 sogod [32060]: listening on *:2 Jan 17 00:00:12 sogod [32060]: watchdog process pid: 32060 Jan 17 00:00:12 sogod [32060]: watchdog request timeout set to 10 minutes Jan 17 00:00:12 sogod [32060]: preparing 3 children Jan 17 00:00:12 sogod [32060]: child spawned with pid 32063 Jan 17 00:00:12 sogod [32060]: child spawned with pid 32064 Jan 17 00:00:12 sogod [32060]: child spawned with pid 32065 2013-01-17 00:00:28.067 sogod[32065] Note: Using UTF-8 as URL encoding in NGExtensions. Jan 17 00:00:28 sogod [32065]: Cache cleanup interval set every 300.00 seconds Jan 17 00:00:28 sogod [32065]: Using host(s) '127.0.0.1' as server(s) 2013-01-17 00:00:28.069 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector objectForKey: on NSNull ! 2013-01-17 00:00:28.135 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector setObject:forKey: on NSNull ! 2013-01-17 00:00:28.135 sogod[32065] didn't set return value for type 'v' 2013-01-17 00:00:28.136 sogod[32065] Note(SoObject): SoDebugKeyLookup is enabled! 2013-01-17 00:00:28.136 sogod[32065] Note(SoObject): SoDebugBaseURL is enabled! 2013-01-17 00:00:28.136 sogod[32065] Note(SoObject): relative base URLs are enabled. 2013-01-17 00:00:28.136 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector objectForKey: on NSNull ! 2013-01-17 00:00:28.152 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector setObject:forKey: on NSNull ! 2013-01-17 00:00:28.152 sogod[32065] didn't set return value for type 'v' 2013-01-17 00:00:28.156 sogod[32065] ERROR(-[NGBundleManager bundleWithPath:]): could not create bundle for path: '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.22/Resources/SSL.bundle' 2013-01-17 00:00:28.162 sogod[32065] WOxElemBuilder: could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder 2013-01-17 00:00:28.163 sogod[32065] WOCompoundElement: pool embedding is on. 2013-01-17 00:00:28.163 sogod[32065] WOCompoundElement: id logging is on. localhost - - [17/Jan/2013:00:00:28 GMT] GET /SOGo HTTP/1.1 302 0/0 0.099 - - 4M 2013-01-17 00:00:28.214 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector objectForKey: on NSNull ! 2013-01-17 00:00:28.235 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector setObject:forKey: on NSNull ! 2013-01-17 00:00:28.235 sogod[32065] didn't set return value for type 'v' 2013-01-17 00:00:28.236 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector objectForKey: on NSNull ! 2013-01-17 00:00:28.251 sogod[32065]
Re: [SOGo] Cannot login Sogo
Hello, Am 17.01.2013 00:24, schrieb Holger Brinkhaus: 2013-01-17 00:00:40.194 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector objectForKey: on NSNull ! 2013-01-17 00:00:40.219 sogod[32065] ERROR(-[NSNull(misc) forwardInvocation:]): called selector setObject:forKey: on NSNull ! 2013-01-17 00:00:40.219 sogod[32065] didn't set return value for type 'v' try the recommendation on https://inverse.ca/sogo/lists/arc/users/2012-12/msg00187.html Hope this helps Markus -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Fix Issue #1829: RTF crash in OpenChange backend
Hi, Find attached a patch that should fix the RTF crash. The 'diff of the diff' is quite ugly but given that it's the only file committed on the repository, I couldn't come with something easier to apply. Apply, Test and give feedback. Thanks, Julien. -- Julien Kerihuel j.kerih...@openchange.org OpenChange Project Founder GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79 -- users@sogo.nu https://inverse.ca/sogo/listsFrom 84d6a45249319db210a31c1f4305967950dbf1bb Mon Sep 17 00:00:00 2001 From: Julien Kerihuel j.kerih...@openchange.org Date: Thu, 17 Jan 2013 02:57:28 +0100 Subject: [PATCH] Issue #1829: Fix crash in unrtf library. Integer overflow in array index leading to unpredictable behavior. Using correct integer signess and casting fix the problem and turn negative value into 0. Expected fallback behavior then apply. Make use of uint8_t since the hash array is a static array of 255 elements. --- OpenChange/unrtf-0.21.2.diff | 1138 +++--- 1 file changed, 850 insertions(+), 288 deletions(-) diff --git a/OpenChange/unrtf-0.21.2.diff b/OpenChange/unrtf-0.21.2.diff index 339480a..c49b9cd 100644 --- a/OpenChange/unrtf-0.21.2.diff +++ b/OpenChange/unrtf-0.21.2.diff @@ -1,6 +1,18 @@ +diff -durpN unrtf-0.21.2.old/configure.ac unrtf-0.21.2/configure.ac +--- unrtf-0.21.2.old/configure.ac 2010-08-15 03:59:52.0 +0200 unrtf-0.21.2/configure.ac 2013-01-17 02:42:10.681861561 +0100 +@@ -33,7 +33,7 @@ AC_HEADER_STDC + + # following is not really necessary, since it is already done by preceding + # macro, but it shows how to extend HAVE_ macros to other headers. +-AC_CHECK_HEADERS([stdlib.h stdio.h ctype.h string.h]) ++AC_CHECK_HEADERS([stdlib.h stdio.h ctype.h string.h stdint.h]) + + # Checks for typedefs, structures, and compiler characteristics. + diff -durpN unrtf-0.21.2.old/outputs/html.conf unrtf-0.21.2/outputs/html.conf unrtf-0.21.2.old/outputs/html.conf 2010-08-15 08:44:09.0 -0400 -+++ unrtf-0.21.2/outputs/html.conf 2012-08-21 13:33:44.761682724 -0400 +--- unrtf-0.21.2.old/outputs/html.conf 2010-08-15 14:44:09.0 +0200 unrtf-0.21.2/outputs/html.conf 2013-01-17 02:41:09.681864239 +0100 @@ -5,7 +5,7 @@ comment_end -- @@ -20,8 +32,8 @@ diff -durpN unrtf-0.21.2.old/outputs/html.conf unrtf-0.21.2/outputs/html.conf br diff -durpN unrtf-0.21.2.old/src/attr.c unrtf-0.21.2/src/attr.c unrtf-0.21.2.old/src/attr.c 2010-07-03 22:30:58.0 -0400 -+++ unrtf-0.21.2/src/attr.c 2012-08-21 13:38:56.717688715 -0400 +--- unrtf-0.21.2.old/src/attr.c 2010-07-04 04:30:58.0 +0200 unrtf-0.21.2/src/attr.c 2013-01-17 02:41:09.681864239 +0100 @@ -1,23 +1,23 @@ /*= - GNU UnRTF, a command-line program to convert RTF documents to other formats. @@ -1273,8 +1285,8 @@ diff -durpN unrtf-0.21.2.old/src/attr.c unrtf-0.21.2/src/attr.c } - diff -durpN unrtf-0.21.2.old/src/attr.h unrtf-0.21.2/src/attr.h unrtf-0.21.2.old/src/attr.h 2010-07-03 22:30:58.0 -0400 -+++ unrtf-0.21.2/src/attr.h 2012-08-21 13:33:44.785682699 -0400 +--- unrtf-0.21.2.old/src/attr.h 2010-07-04 04:30:58.0 +0200 unrtf-0.21.2/src/attr.h 2013-01-17 02:41:09.681864239 +0100 @@ -1,23 +1,23 @@ /*= - GNU UnRTF, a command-line program to convert RTF documents to other formats. @@ -1423,8 +1435,8 @@ diff -durpN unrtf-0.21.2.old/src/attr.h unrtf-0.21.2/src/attr.h +#endif /* ATTR_H */ diff -durpN unrtf-0.21.2.old/src/convert.c unrtf-0.21.2/src/convert.c unrtf-0.21.2.old/src/convert.c 2011-06-07 08:00:23.0 -0400 -+++ unrtf-0.21.2/src/convert.c 2012-08-21 13:38:56.721688436 -0400 +--- unrtf-0.21.2.old/src/convert.c 2011-06-07 14:00:23.0 +0200 unrtf-0.21.2/src/convert.c 2013-01-17 02:41:09.685864239 +0100 @@ -1,24 +1,24 @@ /*=== @@ -7119,8 +7131,8 @@ diff -durpN unrtf-0.21.2.old/src/convert.c unrtf-0.21.2/src/convert.c + return rc; } diff -durpN unrtf-0.21.2.old/src/convert.h unrtf-0.21.2/src/convert.h unrtf-0.21.2.old/src/convert.h 2010-07-03 22:30:58.0 -0400 -+++ unrtf-0.21.2/src/convert.h 2012-08-21 13:33:44.793682720 -0400 +--- unrtf-0.21.2.old/src/convert.h 2010-07-04 04:30:58.0 +0200 unrtf-0.21.2/src/convert.h 2013-01-17 02:41:09.685864239 +0100 @@ -36,18 +36,135 @@ #ifndef _CONVERT @@ -7263,8 +7275,8 @@ diff -durpN unrtf-0.21.2.old/src/convert.h unrtf-0.21.2/src/convert.h #define FONT_SYMBOL SYMBOL diff -durpN unrtf-0.21.2.old/src/defs.h unrtf-0.21.2/src/defs.h unrtf-0.21.2.old/src/defs.h 2010-07-03 22:30:58.0 -0400 -+++ unrtf-0.21.2/src/defs.h 2012-08-21 13:33:44.817682703 -0400 +--- unrtf-0.21.2.old/src/defs.h 2010-07-04 04:30:58.0 +0200 unrtf-0.21.2/src/defs.h 2013-01-17
Re: Re: [SOGo] Wsgi exception when trying to connect with Outlook 2007
i had the same problem and i am working for weeks to get native outlook connection to work on a dedicated server. first of all i am no python developer so the code is very crapy and all in all it is not a good solution. i changed the function _get_cookies in /usr/lib/python2.7/dist-packages/openchange/web/auth/NTLMAuthHandler.py to: def _get_cookies(env): cookies = {} if HTTP_COOKIE in env: cookie_str = env[HTTP_COOKIE] pos = cookie_str.find(;) cookie_str = cookie_str.replace('\','') cookie_str = cookie_str.replace(';','') if pos != -1: print got ntlm + cookie_str for pair in cookie_str.split( ): (key, value) = pair.strip().split(=) print in ntlm case: + key + : + value cookies[key] = value else: print no ntlm for pair in cookie_str.split( ): (key, value) = pair.strip().split(=) print no ntlm case: + key + : + value cookies[key] = value #print output end return cookies you can remove print lines. the problem is...sometimes there is a oc-ntlm-auth cookie name in the string and sometimes there isn't. i got rid off the error msg but outlook native connection doesn't work properly. every..lets say.. 30 secs...outlooks looses the connection to sogo/rpcproxy. -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] BTS activities for Wednesday, January 16 2013
Title: BTS activities for Wednesday, January 16 2013 BTS Activities Home page: http://www.sogo.nu/bugs Project: SOGo For the period covering: Wednesday, January 16 2013 idlast updatestatus (resolution)categorysummary 2055 2013-01-16 19:37:11 updated (open) Backend Address Book filters on SOGoUserSources do not work 2186 2013-01-16 11:46:37 new (open) Backend Calendar X-WR-CALNAME has linefeed 2185 2013-01-16 11:40:57 new (open) Backend General Mailbox delegation and mail invitations 2184 2013-01-16 08:52:22 new (open) SOPE cound not convert value of jpegPhoto to string 2002 2013-01-16 16:29:04 updated (open) Web Calendar Proposed Events 2179 2013-01-16 21:31:28 updated (open) Web Calendar Missing RDATE support in timezones 2182 2013-01-16 14:53:13 updated (open) with SOGo Troubles with Lightning cache 2183 2013-01-16 07:10:40 updated (open) with SOGo Strange invoking of "Reset Calendar Cache" command 1829 2013-01-16 09:00:31 feedback (open) OpenChange backend crash: RTF composition 1846 2013-01-16 11:33:21 resolved (fixed) Web General Mutliple instances of a single user appear when searching 1873 2013-01-16 11:34:35 closed (duplicate) Web Calendar multiple results in calendar search ('subscribe to a calendar' window)