General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Error in sogo.conf, SOGoUserSources


Chronological Thread 
  • From: Jens Erat < >
  • To:
  • Subject: Re: [SOGo] Error in sogo.conf, SOGoUserSources
  • Date: Fri, 31 Oct 2014 15:26:01 +0100

Hi Guillaume,

> Parsing '/etc/sogo/sogo.conf' - Parse failed - Parse failed at line 1
(char 16) - extra data after parsed string
> Ligne 1 is :
> SOGoProfileURL =
"mysql://xxx: .local:3306/sogodb/sogo_user_profile";

I guess you're missing the enclosing curly brackets around the whole file

{
[snip]
}

Regards,
Jens

Am 31.10.2014 um 13:51 schrieb DOUTEAUX Guillaume:
> Ok, i test it.
>
> How to use this command ?
>
> Just do : plparse /etc/sogo/sogo.conf
>
> Parsing '/etc/sogo/sogo.conf' - Parse failed - Parse failed at line 1
> (char 16) - extra data after parsed string
> Ligne 1 is :
> SOGoProfileURL =
> "mysql://xxx: .local:3306/sogodb/sogo_user_profile";
>
>
> -----Message d'origine-----
> De :
>
>
> [mailto: ]
> De la part de Jens Erat
> Envoyé : vendredi 31 octobre 2014 13:22
> À :
> ;
>
>
> Objet : Re: [SOGo] Error in sogo.conf, SOGoUserSources
>
> The snippet seems valid on first sight. `plparse` sometimes helps at
> finding the problem by giving more detailed messages on the syntax error
> location.
>
> Am 31.10.2014 um 13:14 schrieb
> :
>> For me this was happening when "=" symbol was missing in one of my config
>> statements.
>>
>> Odoslané z iPhonu
>>
>> Dňa 31.10.2014, o 12:25,
>> " "
>>
>> < >
>> napísal:
>>
>>> Hi,
>>>
>>> I have a problem with my configuration.
>>>
>>> When i start SOGo i have this error :
>>>
>>> File NSDictionary.m: 625. In -[NSDictionary initWithContentsOfFile:]
>>> Contents
>>> of file '/etc/sogo/sogo.conf' does not contain a dictionary
>>> <0x0xb95b7cd8[SOGoStartupLogger]> Cannot read configuration from
>>> '/etc/sogo/
>>> sogo.conf'. Aborting
>>>
>>> When i comment this in the config SOGo start.
>>>
>>> SOGoUserSources = (
>>> {
>>> type = sql;
>>> id = postfixadmin;
>>> viewURL =
>>> "mysql://xxx: .local:3306/postfixadmin/sogo_users";
>>> canAuthenticate = YES;
>>> isAddressBook = YES;
>>> userPasswordAlgorithm = md5-crypt;
>>> displayName = "Messagerie";
>>> DomainFieldName = "domain";
>>> IMAPLoginFieldName = "c_name";
>>> LoginFieldNames = (
>>> "c_uid",
>>> "c_name"
>>> );
>>> }
>>> );
>>>
>>> I don't find my error can you help me ??
>>> --
>>>
>>> https://inverse.ca/sogo/lists
>
>


--
Jens Erat

[phone]: tel:+49-151-56961126
[mail]:
mailto:
[jabber]:
xmpp:
[web]: http://www.jenserat.de

OpenPGP: 0D69 E11F 12BD BA07 7B37 26AB 4E1F 799A A4FF 2279

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.18.

Top of page