Hello, I just finished installation and configuration of SOGo on CentOS 6.2 x64 following the official install guide. I use Axigen Mail Server (SMTP, IMAP) and Active Directory (Windows 2008 Server R2). Problem is: I am not able to login to user interface.
My .GNUstepDefaults: [root@solarserver ~]# cat /home/sogo/GNUstep/Defaults/.GNUstepDefaults <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml"> <plist version="0.9"> <dict> <key>NSGlobalDomain</key> <dict> </dict> <key>sogod</key> <dict> <key>OCSEMailAlarmsFolderURL</key> <string>mysql://sogo:sogo@localhost:3306/sogodb/sogo_alarms_folder</string> <key>OCSFolderInfoURL</key> <string>mysql://sogo:sogo@localhost:3306/sogodb/sogo_folder_info</string> <key>OCSSessionsFolderURL</key> <string>mysql://sogo:sogo@localhost:3306/sogodb/sogo_sessions_folder</string> <key>SOGoACLsSendEMailNotifications</key> <string>YES</string> <key>SOGoAppointmentSendEMailNotifications</key> <string>YES</string> <key>SOGoDraftsFolderName</key> <string>Drafts</string> <key>SOGoFoldersSendEMailNotifications</key> <string>YES</string> <key>SOGoForceIMAPLoginWithEmail</key> <string>YES</string> <key>SOGoIMAPServer</key> <string>localhost</string> <key>SOGoMailDomain</key> <string>company.com.pl</string> <key>SOGoMailingMechanism</key> <string>smtp</string> <key>SOGoProfileURL</key> <string>mysql://sogo:sogo@localhost:3306/sogodb/sogo_user_profile</string> <key>SOGoSMTPServer</key> <string>localhost</string> <key>SOGoSentFolderName</key> <string>Sent</string> <key>SOGoSuperUsernames</key> <array> <string>Administrator</string> </array> <key>SOGoTimeZone</key> <string>Europe/Warsaw</string> <key>SOGoTrashFolderName</key> <string>Trash</string> <key>SOGoUserSources</key> <array> <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>sAMAccountName</string> <key>IMAPLoginFieldName</key> <string>mail</string> <key>UIDFieldName</key> <string>sAMAccountName</string> <key>baseDN</key> <string>DC=company,DC=com,DC=pl</string> <key>bindDN</key> <string>CN=SOGo Bind,CN=Users,DC=company,DC=com,DC=pl</string> <key>bindPassword</key> <string>sogopassword</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>COMPANY</string> <key>hostname</key> <string>ad.company.com.pl</string> <key>id</key> <string>COMPANY AD</string> <key>isAddressBook</key> <string>YES</string> <key>port</key> <string>389</string> <key>scope</key> <string>SUB</string> <key>type</key> <string>ldap</string> </dict> </array> <key>WOWorkersCount</key> <string>2</string> <key>GCSFolderDebugEnabled</key> <string>YES</string> <key>OCSFolderManagerSQLDebugEnabled</key> <string>YES</string> <key>SOGoImapDebugEnabled</key> <string>YES</string> <key>SOGoDebugRequests</key> <string>YES</string> <key>SOGoUIxDebugEnabled</key> <string>YES</string> <key>SoDebugKeyLookup</key> <string>YES</string> <key>SoDebugBaseURL</key> <string>YES</string> </dict> </dict> </plist> My SOGo.conf: [root@solarserver ~]# cat /etc/httpd/conf.d/SOGo.conf Alias /SOGo.woa/WebServerResources/ \ /usr/lib64/GNUstep/SOGo/WebServerResources/ Alias /SOGo/WebServerResources/ \ /usr/lib64/GNUstep/SOGo/WebServerResources/ AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \ /usr/lib64/GNUstep/SOGo/$1.SOGo/Resources/$2 <Directory /usr/lib64/GNUstep/SOGo/> AllowOverride None Order deny,allow Allow from all # Explicitly allow caching of static content to avoid browser specific behavior. # A resource's URL MUST change in order to have the client load the new version. <IfModule expires_module> ExpiresActive On ExpiresDefault "access plus 1 year" </IfModule> </Directory> <LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)"> SetHandler default-handler </LocationMatch> ## Uncomment the following to enable proxy-side authentication, you will then ## need to set the "SOGoTrustProxyAuthentication" SOGo user default to YES and ## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section ## below. #<Location /SOGo> # AuthType XXX # Require valid-user # SetEnv proxy-nokeepalive 1 # Allow from all #</Location> ProxyRequests Off SetEnv proxy-nokeepalive 1 ProxyPreserveHost On # When using CAS, you should uncomment this and install cas-proxy-validate.py # in /usr/lib64/cgi-bin to reduce server overloading # # ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py # <Proxy http://localhost/app/cas-proxy-validate.py> # Order deny,allow # Allow from your-cas-host-addr # </Proxy> ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 <Proxy http://127.0.0.1:20000/SOGo> ## adjust the following to your configuration RequestHeader set "x-webobjects-server-port" "80" RequestHeader set "x-webobjects-server-name" "server" RequestHeader set "x-webobjects-server-url" "http://server" ## When using proxy-side autentication, you need to uncomment and ## adjust the following line: # RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST AddDefaultCharset UTF-8 Order allow,deny Allow from all </Proxy> ## We use mod_rewrite to pass remote address to the SOGo proxy. # The remote address will appear in SOGo's log files and in the X-Forward # header of emails. RewriteEngine On RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT] My error log: [root@solarserver ~]# cat /var/log/sogo/sogo.log Jul 07 21:48:42 sogod [4642]: version 1.3.16 (build [email protected] 201206071228) -- starting Jul 07 21:48:42 sogod [4642]: vmem size check enabled: shutting down app when vmem > 384 MB Jul 07 21:48:42 sogod [4642]: <0x0x1ae0e28[SOGoProductLoader]> SOGo products loaded from '/usr/lib64/GNUstep/SOGo': Jul 07 21:48:42 sogod [4642]: <0x0x1ae0e28[SOGoProductLoader]> Appointments.SOGo, Mailer.SOGo, MailerUI.SOGo, Contacts.SOGo, ContactsUI.SOGo, CommonUI.SOGo, MailPartViewers.SOGo, AdministrationUI.SOGo, SchedulerUI.SOGo, PreferencesUI.SOGo, MainUI.SOGo Jul 07 21:48:42 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> listening on *:20000 Jul 07 21:48:42 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> watchdog process pid: 4642 Jul 07 21:48:42 sogod [4642]: <0x0x7f8b22e42340[WOWatchDogChild]> watchdog request timeout set to 10 minutes Jul 07 21:48:42 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> preparing 1 children Jul 07 21:48:42 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> child spawned with pid 4643 Jul 07 21:48:46 sogod [4643]: |SOGo| starting method 'GET' on uri '/SOGo/' Jul 07 21:48:46 sogod [4643]: <0x0x194f758[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Jul 07 21:48:46 sogod [4643]: <0x0x194f758[SOGoCache]> Using host(s) 'localhost' as server(s) Jul 07 21:48:46 sogod [4643]: |SOGo| lookup name: SOGo 2012-07-07 21:48:46.150 sogod[4643] Note(SoObject): SoDebugKeyLookup is enabled! 2012-07-07 21:48:46.150 sogod[4643] Note(SoObject): SoDebugBaseURL is enabled! 2012-07-07 21:48:46.151 sogod[4643] Note(SoObject): relative base URLs are enabled. Jul 07 21:48:46 sogod [4643]: |SOGo| did not find key 'SOGo' in SoClass: <0x0x1ad3cd8[SoObjCClass]: super=0x0x1ad2f08 objc=SOGo slots=connect,GET,view,casProxy,index,changePassword,loading,toolbar> Jul 07 21:48:46 sogod [4643]: |SOGo| looked up value: (null) Jul 07 21:48:46 sogod [4643]: |SOGo| lookup in root object: (null) Jul 07 21:48:46 sogod [4643]: |SOGo| GOT: (null) Jul 07 21:48:46 sogod [4643]: |SOGo| matched appname: SOGo Jul 07 21:48:46 sogod [4643]: |SOGo| => rewrote value: <SOGo[0x0x198e7d8]: name=SOGo> Jul 07 21:48:46 sogod [4643]: |SOGo| lookup name: GET 2012-07-07 21:48:46.177 sogod[4643] WOCompoundElement: pool embedding is on. 2012-07-07 21:48:46.177 sogod[4643] WOCompoundElement: id logging is on. Jul 07 21:48:46 sogod [4643]: |SOGo| looked up value: <0x0x1ab2c38[SoPageInvocation]: class=SOGoRootPage bound instantiated product=<0x0x1bb9ef8[SoProduct]: loaded code-loaded bundle=/usr/lib64/GNUstep/SOGo/MainUI.SOGo #classes=8 #categories=4 rm=0x0x1bbc418>> Jul 07 21:48:46 sogod [4643]: |SOGo| GOT: <0x0x1ab2c38[SoPageInvocation]: class=SOGoRootPage bound instantiated product=<0x0x1bb9ef8[SoProduct]: loaded code-loaded bundle=/usr/lib64/GNUstep/SOGo/MainUI.SOGo #classes=8 #categories=4 rm=0x0x1bbc418>> Jul 07 21:48:46 sogod [4643]: |SOGo| lookup name: toolbar Jul 07 21:48:46 sogod [4643]: |SOGo| looked up value: none Jul 07 21:48:46 sogod [4643]: |SOGo| GOT: none 2012-07-07 21:48:46.214 sogod[4643] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!! Jul 07 21:48:46 sogod [4643]: |SOGo| constructed root-url: /SOGo/ Jul 07 21:48:46 sogod [4643]: |SOGo| setting root-url in context: /SOGo/ Jul 07 21:48:46 sogod [4643]: |SOGo| ROOT baseURL(no container, name=(null)): own: /SOGo/ Jul 07 21:48:46 sogod [4643]: |SOGo| request took 0.095187 seconds to execute 172.20.59.150 - - [07/Jul/2012:21:48:46 GMT] "GET /SOGo/ HTTP/1.1" 200 4337/0 0.100 12012 63% 4M Jul 07 21:48:58 sogod [4643]: |SOGo| starting method 'POST' on uri '/SOGo/connect' Jul 07 21:48:58 sogod [4643]: |SOGo| lookup name: SOGo Jul 07 21:48:58 sogod [4643]: |SOGo| did not find key 'SOGo' in SoClass: <0x0x1ad3cd8[SoObjCClass]: super=0x0x1ad2f08 objc=SOGo slots=connect,GET,view,casProxy,index,changePassword,loading,toolbar> Jul 07 21:48:58 sogod [4643]: |SOGo| looked up value: (null) Jul 07 21:48:58 sogod [4643]: |SOGo| lookup in root object: (null) Jul 07 21:48:58 sogod [4643]: |SOGo| GOT: (null) Jul 07 21:48:58 sogod [4643]: |SOGo| matched appname: SOGo Jul 07 21:48:58 sogod [4643]: |SOGo| => rewrote value: <SOGo[0x0x198e7d8]: name=SOGo> Jul 07 21:48:58 sogod [4643]: |SOGo| lookup name: connect Jul 07 21:48:58 sogod [4643]: |SOGo| looked up value: <0x0x1ecc388[SoPageInvocation]: class=SOGoRootPage action=connect bound instantiated product=<0x0x1bb9ef8[SoProduct]: loaded code-loaded bundle=/usr/lib64/GNUstep/SOGo/MainUI.SOGo #classes=8 #categories=4 rm=0x0x1bbc418>> Jul 07 21:48:58 sogod [4643]: |SOGo| GOT: <0x0x1ecc388[SoPageInvocation]: class=SOGoRootPage action=connect bound instantiated product=<0x0x1bb9ef8[SoProduct]: loaded code-loaded bundle=/usr/lib64/GNUstep/SOGo/MainUI.SOGo #classes=8 #categories=4 rm=0x0x1bbc418>> Jul 07 21:48:58 sogod [4643]: SOGoRootPage Login for user 'antoszeh' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0 Jul 07 21:48:58 sogod [4643]: |SOGo| request took 0.006568 seconds to execute 172.20.59.150 - - [07/Jul/2012:21:48:58 GMT] "POST /SOGo/connect HTTP/1.1" 403 34/49 0.009 - - 616K Jul 07 21:49:06 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> Terminating with SIGINT or SIGTERM Jul 07 21:49:06 sogod [4642]: <0x0x1ba2cf8[WOWatchDogChild]> sending terminate signal to pid 4643 Jul 07 21:49:06 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> Terminating with SIGINT or SIGTERM Jul 07 21:49:06 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> Terminating with SIGINT or SIGTERM Jul 07 21:49:06 sogod [4642]: <0x0x1ba2cf8[WOWatchDogChild]> child 4643 exited Jul 07 21:49:06 sogod [4642]: <0x0x1c98ef8[WOWatchDog]> all children exited. We now terminate. Help anyone, please? I am not able to debug this using only my humble abilities... ;-) -- [email protected] https://inverse.ca/sogo/lists
