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:[email protected]: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:[email protected]:3306/sogodb/sogo_user_profile";
>
>
> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] De la part de Jens
> Erat
> Envoyé : vendredi 31 octobre 2014 13:22
> À : [email protected]; [email protected]
> 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 [email protected]:
>> 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, "[email protected]"
>> <[email protected]> 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:[email protected]: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 ??
>>> --
>>> [email protected]
>>> https://inverse.ca/sogo/lists
>
>
--
Jens Erat
[phone]: tel:+49-151-56961126
[mail]: mailto:[email protected]
[jabber]: xmpp:[email protected]
[web]: http://www.jenserat.de
OpenPGP: 0D69 E11F 12BD BA07 7B37 26AB 4E1F 799A A4FF 2279
smime.p7s
Description: S/MIME Cryptographic Signature
