Hello,

Thanks for your answer, in fact it was a parse error in the conf file. The log isn't very explicit...

i forget to put double cotes to the bind password

Nothing in relation with the TimeZone...


Thanks

Le 08/12/2021 à 08:55, mj (li...@merit.unu.edu) a écrit :
Hi,

Just a thought: are you sure your /usr/local/etc/sogo/sogo.conf is formatted correctly?

I have used "plparse /usr/local/etc/sogo/sogo.conf" in the past to make sure is did not get corrupted.

MJ

Op 07-12-2021 om 23:01 schreef HYVERNAT Philippe (p.hyver...@outlook.fr):
Hello,

I am a newbie to Sogo and i installed it (v.5.3) on a FreeBSD 13 box via port tree.

i configure sogo.conf and when i want to launch the sogod service, here is the errors :



# service sogod onestart

*Starting sogod.**
**Throwing 0x804676d88, in flight exception: 0**
**Exception caught by C++: 0**
**Throwing 0x804677358, in flight exception: 0x804676d88**
**Exception caught by C++: 0**
**2021-12-07 20:57:01.609 sogod[71303:100517] No local time zone specified.** **2021-12-07 20:57:01.609 sogod[71303:100517] Using time zone with absolute offset 0.** **2021-12-07 20:57:01.608 sogod[71303:100517] File NSDictionary.m: 672. In -[NSDictionary initWithContentsOfFile:] Contents of file '/usr/local/etc/sogo/sogo.conf' does not contain a dictionary** **<0x0x803c925c8[SOGoStartupLogger]> Cannot read configuration from '/usr/local/etc/sogo/sogo.conf'. Aborting**
**/usr/local/etc/rc.d/sogod: WARNING: failed to start sogod*



Here is the directory :


root@sogo1:/usr/local/etc/sogo # ls -la
total 38
-rw-r--r--  1 root   wheel  3458 Dec  7 16:19 SOGo-Apache.conf
-rw-r--r--  1 root   wheel  3280 Dec  7 13:50 SOGo-Apache.conf.sample
-rw-r--r--  1 root   wheel  2372 Dec  7 13:50 SOGo-apple-ab.Apache.conf
-rw-r--r--  1 root   wheel  2372 Dec  7 13:50 SOGo-apple-ab.Apache.conf.sample
-rw-------  1 sogod  sogod    18 Dec  7 13:50 ealarms-notify.creds
-rw-------  1 sogod  sogod    18 Dec  7 13:50 ealarms-notify.creds.sample
-rw-------  1 sogod  sogod    18 Dec  7 13:50 expire-autoreply.creds
-rw-------  1 sogod  sogod    18 Dec  7 13:50 expire-autoreply.creds.sample
-rw-r--r--  1 sogod  sogod  6168 Dec  7 19:58 sogo.conf
-rw-r--r--  1 root   wheel  5132 Dec  7 13:50 sogo.conf.sample



Here is the configuration : (I replaced ip and pass by "X")


SOGoProfileURL = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_user_profile";    OCSFolderInfoURL = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_folder_info";    OCSSessionsFolderURL = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_sessions_folder";    OCSEMailAlarmsFolderURL = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_alamrs_folder";
   OCSStoreURL = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_store";
   OCSAclURL = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_acl";
   OCSCacheFolderURL = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_cache_folder";    OCSQuickAppointment = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_quick_appointment";    OCSQuickContact = "mysql://sogo:sogo@X.X.X.X:3306/sogo/sogo_quick_contact";

   /*MYSQL Unicode Complicance*/
   MySQL4Encoding = "utf8mb4";


   /* Mail */
   SOGoDraftsFolderName = Drafts;
   SOGoSentFolderName = Sent;
   SOGoTrashFolderName = Trash;
   SOGoJunkFolderName = Junk;
   SOGoIMAPServer = "imaps://X.X.X.X:993";
   SOGoSieveServer = "sieve://X.X.X.X:4190";
   SOGoSieveFolderEncoding = UTF-8;
   SOGoSMTPServer = "smtp://X.X.X.X";
   SOGoMailDomain = test.fr;
   SOGoMailingMechanism = smtp;
   SOGoForceExternalLoginWithEmail = YES;
   SOGoMailSpoolPath = /var/spool/sogo;
   NGImap4ConnectionStringSeparator = "/";
   SOGoMailMessageCheck = every_5_minutes;
   SOGoFirstDayOfWeek = 1;
   SOGoMailComposeMessageType = "html";

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

   /* Authentication */
   SOGoPasswordChangeEnabled = YES;

   /* Authorize user to connect with domain name */
   SOGoEnableDomainBasedUID = YES;

   /* LDAP authentication example */


SOGoUserSources = (
     {
       type = ldap;
       CNFieldName = cn;
       UIDFieldName = uid;
       IDFieldName = mail; // first field of the DN for direct binds
       bindFields = (uid, mail); // array of fields to use for indirect binds
       baseDN = "ou=%d,dc=test,dc=fr";
       bindDN = "uid=admin,ou=users,dc=test,dc=fr";
       bindPassword = XXXXX;
       canAuthenticate = YES;
       filter = "(o='test' AND mail='*' AND status <> 'inactive')";
       displayName = "Shared Addresses";
       hostname = "ldap://X.X.X.X:389";;
       id = public;
       isAddressBook = YES;
     }
   );


SOGoPageTitle = SOGo;
   SOGoVacationEnabled = YES;
   SOGoForwardEnabled = YES;
   SOGoSieveScriptsEnabled = YES;
   SOGoMailAuxiliaryUserAccountsEnabled = YES;
   SOGoTrustProxyAuthentication = NO;
   SOGoXSRFValidationEnabled = NO;

   /* General - SOGoTimeZone *MUST* be defined */
   SOGoTimeZone = Europe/London;
   SOGoLanguage = French;
   SOGoCalendarDefaultRoles = (
     PublicDAndTViewer,
     ConfidentialDAndTViewer
   );
   //SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the parens!
   SxVMemLimit = 384;
   WOPidFile = "/var/run/sogo/sogo.pid";
   SOGoMemcachedHost = "/var/run/memcached.sock";

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

}



Thanks by advance fort help

Philippe HYVERNAT





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

Reply via email to