On 13-04-06 9:38 AM, lloydsystems wrote:
Hi Jean,

Thanks very much for your response.  I created a sogo.conf file from the output
of the 'sogo-tool dump-defaults' and it works!  I found by trial and error it
accepts C-style comments too.
I didn't know that dictionaryWithContentsOfFile would ignore lines with C-style (/* ... */) comments.
Thanks for pointing this out.

Thanks also for the tip about running imapd with '-N' option.  That is
certainly better than using pwcheck_method = alwaystrue because, on EL, that
requires a rebuild of the SASL rpm to enable the option.  Should add it to the
documentation one day.
Yes indeed.

I also updated the openchange packages (3 of) to those on the nightly build
and, as you suggested, this fixed the 100% CPU usage problem with paster.

I ran the openchange_cleanup.py script and got the following output:

Logged in as 'testuser'
Traceback (most recent call last):
   File "./openchange_cleanup.py", line 254, in <module>
     main()
   File "./openchange_cleanup.py", line 88, in main
     sqlCleanup(username)
   File "./openchange_cleanup.py", line 229, in sqlCleanup
     OCSFolderInfoURL = getOCSFolderInfoURL()
   File "./openchange_cleanup.py", line 193, in getOCSFolderInfoURL
     sogoDefaults = plistlib.readPlist(sogoSysDefaultsFile)
   File "/usr/lib64/python2.6/plistlib.py", line 78, in readPlist
     rootObject = p.parse(pathOrFile)
   File "/usr/lib64/python2.6/plistlib.py", line 406, in parse
     parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 0

so I'm not sure if it was successful.  I deleted the user profile and tried
Outlook again, but unfortunately I got the same result as before (as posted on
the 5th).  Outlook hangs at the splash screen for 12 minutes, then opens and
displays mail.  When it does the maillog shows testuser logged in on service
'imaplocal' (127.0.0.1).  If the authentication works, why does Outlook hang
for 12 minutes?

The script was not successful.
You have to update sogo to the nightly version too.
Or at least, grab the cleanup script for the git repo. The plistlib module can only read xml plists, so it will fail to parse sogo.conf.
The new version don't use that module anymore.

Do the steps again:
  update sogo to nigthly
  cleanup testuser
  restart samba
  new outlook profile

The apache logs are not much help.  The ocsmanager log shows little more than
service start/stop messages.  When Outlook does open it shows some messages
'client did not pass auth cookie'.  The samba log, just before Outlook hangs
shows this:

registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
[ERROR] <0x0x2b3f868[NGLdapAttribute]> cound not convert value of objectGUID to
string
[ERROR] <0x0x3719c78[NGLdapAttribute]> cound not convert value of objectSid to
string
[WARN] <0x0x4517108[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists
in DAV permissions table
[WARN] <0x0x4517108[SOGoWebDAVAclManager]> entry '{DAV:}write-properties'
already exists in DAV permissions table
[WARN] <0x0x4517108[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already
exists in DAV permissions table
[ERROR] <0x0x4191128[NGLdapAttribute]> cound not convert value of objectGUID to
string
[ERROR] <0x0x4191888[NGLdapAttribute]> cound not convert value of objectSid to
string
WARNING: IMAP4 connection pooling is disabled!

Once Outlook opens there is reams of openchange-related junk written to the log
making it impossible to gather anything useful.  Looks more like programmers
debugging info than a log file.  Maybe this is of some help?
It is programmer debugging info, and the log file ;-)


Regards,

Stephen Jones



--
Jean Raby
[email protected]  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to