Hello Rafael Raposo Am 2014-09-26 um 01:45 schrieb Rafael Raposo: > Hi, I configure sogo on Centos 6 with the packages using yum. When I try > to run with "service sogod start" I get the error: > > Starting SOGo: > 2014-09-25 20:44:15.986 sogod[22768] File NSDictionary.m: 626. In > -[NSDictionary initWithContentsOfFile:] Contents of file > '/etc/sogo/sogo.conf' does not contain a dictionary > <0x0x7ff646e40568[SOGoStartupLogger]> Cannot read configuration from > '/etc/sogo/sogo.conf'. Aborting > sogo [FAILED] > > > I could not file the solution searching on web. Can you help me? >
This error message means:
You have a syntax error in your config file.
> My configuration file:
>
> {
> /* Database configuration (mysql:// or postgresql://) */
> SOGoProfileURL =
> "mysql://sogo:passwd@localhost:3306/sogo/sogo_user_profile";
> OCSFolderInfoURL =
> "mysql://sogo:passwd@localhost:3306/sogo/sogo_folder_info";
> OCSSessionsFolderURL =
> "mysql://sogo:passwd@localhost:3306/sogo/sogo_sessions_folder";
>
> /* Mail */
> SOGoDraftsFolderName = Drafts;
> SOGoSentFolderName = Sent;
> SOGoTrashFolderName = Trash;
> SOGoIMAPServer = localhost;
> SOGoSMTPServer = 127.0.0.1;
> SOGoMailDomain = ufrj.br;
> SOGoMailingMechanism = smtp;
> SOGoForceExternalLoginWithEmail = YES;
>
> /* Authentication */
> SOGoPasswordChangeEnabled = YES;
>
> /* LDAP authentication example */
> SOGoUserSources = (
> {
> type = ldap;
> CNFieldName = cn;
> UIDFieldName = uid;
> IDFieldName = uid; // first field of the DN for direct binds
> bindFields = (uid, mail); // array of fields to use for indirect binds
> baseDN = "o=domains,dc=vmail,dc=tic,dc=ufrj,dc=br";
> bindDN = "cn=vmail,dc=vmail,dc=tic,dc=ufrj,dc=br";
> bindPassword = "passwd";
> canAuthenticate = YES;
> displayName = "Shared Addresses";
> hostname = "ldap://127.0.0.1:389";
> id = public;
> isAddressBook = YES;
> }
> );
> SOGoEnableDomainBasedUID = YES;
>
> /* Web Interface */
> SOGoPageTitle = Correio UFRJ;
And here is your Problem.
You have to enclose strings with whitespace in it into double or single
quotes.
Test with:
SOGoPageTitle = "Correio UFRJ";
> SOGoVacationEnabled = YES;
> SOGoForwardEnabled = YES;
> SOGoLoginModule = Mail;
>
> /* General */
> SOGoLanguage = BrazilianPortuguese;
> SOGoTimeZone = "America/Sao_Paulo";
> SOGoCalendarDefaultRoles = (PublicDAndTViewer, ConfidentialDAndTViewer);
> VMemLimit = 384;
> WOPidFile = "/var/run/sogo/sogo.pid";
> SOGoMemcachedHost = "/var/run/memcached.sock";
>
> WOLogFile = /var/log/sogo/sogo.log;
> }
>
Hope this helps.
Kind regards,
Christian Mack
--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416
smime.p7s
Description: S/MIME Cryptographic Signature
