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:x...@smtp.xxx.local:3306/sogodb/sogo_user_profile";


-----Message d'origine-----
De : users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] De la part de Jens 
Erat
Envoyé : vendredi 31 octobre 2014 13:22
À : users@sogo.nu; gdoute...@fede76.admr.org
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 mar...@netson.sk:
> 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, "gdoute...@fede76.admr.org" 
> <gdoute...@fede76.admr.org> 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:x...@smtp.xxxx.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 ??
>> -- 
>> users@sogo.nu
>> https://inverse.ca/sogo/lists


-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to