Hi,

I had a similar issue and mine was due to permissions of the sogo.conf file.

Perhaps yours are the same issue.

Regards,

Keith



On 2016/05/24 7:36 PM, Paul Krökel (p.kroe...@marep.de) wrote:
Hi, please i need your help.
I always get the following error message when I try to start the sogo
service:

* Starting SOGo sogo <0x0x7fc2e41059b8[SOGoStartupLogger]> Cannot read
configuration from '/etc/sogo/sogo.conf'. Aborting

I have upgrade the last 2.x Version to 3.1.
In the appendix you will find the censored sogo.conf
I think, unfortunately, no errors and despair slowly.
Hopefully you can help me.

sogo.conf:

{
  /* *********************  Main SOGo configuration file
**********************
* *
   * Since the content of this file is a dictionary in OpenStep plist
format,  *
   * the curly braces enclosing the body of the configuration are
mandatory.   *
   * See the Installation Guide for details on the
format.                     *
* *
   * C and C++ style comments are
supported.                                   *
* *
   * This example configuration contains only a subset of all
available        *
   * configuration parameters. Please see the installation guide more
details. *
* *
   * ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over this
file,    *
   * make sure to move it away to avoid unwanted parameter
overrides.          *
* *
   *
**************************************************************************/

  /* Database configuration (mysql:// or postgresql://) */
    LDAPDebugEnabled = YES;
    OCSCacheFolderURL =
"postgresql://sogo:passwd@localhost:5432/sogo/sogo_cache_folder";
    OCSEMailAlarmsFolderURL =
"postgresql://sogo:passwd@localhost:5432/sogo/sogo_alarms_folder";
    OCSFolderInfoURL =
"postgresql://sogo:passwd@localhost:5432/sogo/sogo_folder_info";
    OCSStoreURL =
"postgresql://sogo:passwd@localhost:5432/sogo/sogo_store";
    OCSAclURL = "postgresql://sogo:passwd@localhost:5432/sogo/sogo_acl";
    OCSSessionsFolderURL =
"postgresql://sogo:passwd@localhost:5432/sogo/sogo_sessions_folder";
    PGDebugEnabled = NO;
    SOGoACLsSendEMailNotifications = YES;
    SOGoProfileURL =
"postgresql://sogo:spasswd@localhost:5432/sogo/sogo_user_profile";
    SOGoAppointmentSendEMailNotifications = YES;
    SOGoCalendarDefaultRoles = (
        ObjectCreator,
        ObjectEraser,
        PublicViewer,
        ConfidentialDandTViewer
    );

  /* Mail */
  SOGoDraftsFolderName = Drafts;
  SOGoSentFolderName = Sent;
  SOGoTrashFolderName = Trash;
  SOGoIMAPServer = "imap://mail.domain.com:143/?tls=YES";
  SOGoSieveServer = "sieve://mail.domain.com:4190/?tls=YES";
  SOGoSMTPServer = "mail.domain.com:587";
  SOGoMailDomain = domain.com;
  SOGoMailingMechanism = smtp;
  SOGoForceExternalLoginWithEmail = NO;
  SOGoMailSpoolPath = /var/spool/sogo;
  NGImap4ConnectionStringSeparator = "/";

  /* Notifications */
  SOGoAppointmentSendEMailNotifications = YES;
  SOGoACLsSendEMailNotifications = YES;
  SOGoFoldersSendEMailNotifications = YES;

  /* Authentication */
  SOGoPasswordChangeEnabled = NO;


 /* SQL authentication example */
 /*  These database columns MUST be present in the view/table:
  *    c_uid - will be used for authentication -  it's the username or
usern...@domain.tld)
  *    c_name - which can be identical to c_uid -  will be used to
uniquely identify entries
  *    c_password - password of the user, plain-text, md5 or sha encoded
for now
  *    c_cn - the user's common name - such as "John Doe"
  *    mail - the user's mail address
  *  See the installation guide for more details
  */

  SOGoUserSources = (
        {
            CNFieldName = cn;
            IDFieldName = uniqueIdentifier;
            IMAPLoginFieldName = mail;
            KindFieldName = Kind;
            MailFieldNames = (
                mail
            );
            MultipleBookingsFieldName = Multiplebookings;
            UIDFieldName = mail;
            baseDN = "ou=people,dc=domain,dc=com";
            bindAsCurrentUser = NO;
            bindDN = "cn=proxyuser,dc=domain,dc=com";
            bindFields = (
                mail,
                mailAlias
            );
            bindPassword = passwd123;
            canAuthenticate = YES;
            displayName = "Gemeinsame Adressen";
            hostname = ldap://localhost;
            id = LDAP;
            isAddressBook = YES;
            scope = SUB;
            type = ldap;
            userPasswordAlgorithm = SSHA;
        }
    );


  /* Web Interface */
  SOGoPageTitle = "TITEL";
  SOGoVacationEnabled = YES;
  SOGoForwardEnabled = YES;
  SOGoSieveScriptsEnabled = YES;
  SOGoMailAuxiliaryUserAccountsEnabled = YES;
  SOGoTrustProxyAuthentication = NO;
  SOGoXSRFValidationEnabled = YES;

  /* General */
  SOGoLanguage = German;
  SOGoTimeZone = Europe/Berlin;
  SOGoCalendarDefaultRoles = (
    PublicDAndTViewer,
    ConfidentialDAndTViewer
  );

  SOGoSuperUsernames = (em...@domain.com); // This is an array - keep
the parens!
  SxVMemLimit = 384;
  WOPidFile = "/var/run/sogo/sogo.pid";
  SOGoMemcachedHost = 127.0.0.1;

  /* Debug */
  SOGoDebugRequests = YES;
  SoDebugBaseURL = YES;
  ImapDebugEnabled = YES;
  LDAPDebugEnabled = YES;
  PGDebugEnabled = YES;
  MySQL4DebugEnabled = YES;
  SOGoUIxDebugEnabled = YES;
  WODontZipResponse = YES;
  WOLogFile = /var/log/sogo/sogo.log;
}

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

Reply via email to