General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] SOGo EXCEPTION on login


Chronological Thread 
  • From: Покотиленко Константин Александрович < >
  • To:
  • Subject: Re: [SOGo] SOGo EXCEPTION on login
  • Date: Fri, 16 Mar 2012 17:50:16 +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.

How could I further debug on this?




Archive powered by MHonArc 2.6.18.

Top of page