В Птн, 16/03/2012 в 17:50 +0200, Покотиленко Константин Александрович
пишет: 
> В Птн, 16/03/2012 в 16:23 +0200, Покотиленко Константин Александрович
> пишет: 
> > В Птн, 16/03/2012 в 13:10 +0200, Покотиленко Константин Александрович
> > пишет: 
> > > В Чтв, 15/03/2012 в 13:34 -0400, Ludovic Marcotte пишет: 
> > > > On 15/03/12 11:57, Покотиленко Константин Александрович wrote:
> > > > > I've googled and found one post with exactly same error, the author 
> > > > > said
> > > > > he solved the problem by "fixing" LDAP configuration and did not
> > > > > provided any details.
> > > > Show your complete SOGo configuration.
> > > 
> > > Here is .GNUstepDefaults:
> > 
> > I've found my problem.
> > 
> > > <key>MailFieldNames</key>
> > > <string>mail</string>
> > 
> > First, MailFieldNames should be array and since it defaults to mail I
> > just removed this block.
> > 
> > Second, It was not working until I explicitly specified type=ldap for
> > SOGoUserSources. It's not clear in the docs that it should be specified,
> > docs doesn't mention "type" in "defaults write sogod
> > SOGoUserSources ..." command, but mentions it in config samples.
> > 
> > And third, I have to TRUNCATE all SOGo tables in MySQL to get rid of
> > SOGo EXCEPTION.
> 
> Actually, problem not solved.
> 
> After some time being logged in I get "internal server error" if I'm
> logged in and "An unhandled error occurred." if I try to login with this
> log messages:
> 
> =========================================================
> 2012-03-16 17:22:31.127 sogod[3445] WARNING(-[NSNull(misc) count]):
> called NSNull -count (returns 0) !!!
> 192.168.*.* - - [16/Mar/2012:17:22:31 GMT] "GET /SOGo/so/ HTTP/1.1" 200
> 5126/0 0.025 14845 65% 12K
> 2012-03-16 17:36:31.361 sogod[3445] WARNING(-[NSNull(misc) count]):
> called NSNull -count (returns 0) !!!
> 192.168.*.* - - [16/Mar/2012:17:36:31 GMT] "GET /SOGo/so/ HTTP/1.1" 200
> 5126/0 0.031 14845 65% 0
> Mar 16 17:37:46 sogod [3445]: SOGoRootPage successful login for user
> 'casper' - expire = -1  grace = -1
> EXCEPTION: <NSException: 0x2392278> NAME:NSInvalidArgumentException
> REASON:NSDataMalloc(instance) does not recognize
> stringByReplacingString:withString: INFO:(null)
> Mar 16 17:37:46 sogod [27289]: <0x0x1f2b208[WOWatchDogChild]> child 3445
> exited
> Mar 16 17:37:46 sogod [27289]: <0x0x1f2b208[WOWatchDogChild]>
> (terminated due to signal 6)
> Mar 16 17:37:46 sogod [27289]: <0x0x1d66968[WOWatchDog]> child spawned
> with pid 8424
> =========================================================
> 
> If I remove profile of my user
> 
> DELETE FROM `sogo`.`sogo_user_profile` WHERE `sogo_user_profile`.`c_uid`
> = 'casper'
> 
> I'm able to login and use SOGo for some time and then it happens again.

Found similar bug report and a solution. Changed mysql database and it's
table's collation from utf8_bin to utf8_unicode_ci. And now it's working
without exceptions.


-- 
[email protected]
https://inverse.ca/sogo/lists
  • [SO... Покотиленко Константин Александрович
    • ... Покотиленко Константин Александрович
      • ... Ludovic Marcotte
        • ... Покотиленко Константин Александрович
          • ... Christian Rößner
          • ... Покотиленко Константин Александрович
            • ... Покотиленко Константин Александрович
              • ... Покотиленко Константин Александрович

Reply via email to