[SOGo] SOGo 1.0RC5.3 on CentOS 5

Ernersto Revilla sogo@opengroupware.org
Tue, 15 Apr 2008 13:14:38 +0200


Hi.

Check apache's error log.
Is mod_ngobjweb correctly installed?
(/usr/lib/apache2/modules, /etc/apache2/mods-enabled)

Regards.
Erny

El mar, 15-04-2008 a las 12:36 +0200, Guillaume Gautreau escribió:
> Hi,
> 
> I'm trying to install SOGo 1.0RC5.3 on CentOS 5. I installed all the
> needed rpms, created the configuration
> file /home/sogo/GNUstep/Defaults/.GNUstepDefaults (I copied its
> content below)
> 
>         {
>             NSGlobalDomain = {
>             };
>             "sogod-0.9" = {
>                 AgenorProfileURL =
>         "postgresql://****:****@pgdevdb:5432/sogo/sogo_user_profile";
>                 OCSFolderInfoURL =
>         "postgresql://****:****@pgdevdb:5432/sogo/sogo_folder_info";
>                 SOGoDefaultMailDomain = enpc.fr;
>                 SOGoFallbackIMAP4Server = mail.enpc.fr;
>                 SOGoServerTimeZone = Europe/Paris;
>                 SOGoSuperUsernames = (
>                     admin
>                 );
>                 WOMessageUseUTF8 = YES;
>                 WOParsersUseUTF8 = YES;
>                 WOPort = 20000;
>             };
>         }
> I started apache (/etc/init.d/httpd start) and then sogo
> (/etc/init.d/sogod start).
> 
> I get a internal server error (500) when trying to access
> http://testurl/SOGo/ with my browser.
> 
> In the apache log file /var/log/httpd/error_log, I found :
>         [error] connect to application instance failed, tried 3 times.
> The sogo log file /var/log/sogo-20000.log, I found :
>         2008-04-15 12:29:54.767 sogod-0.9[2773] starting SOGo (build
>         root@sogo 200804011156)
>         2008-04-15 12:29:54.783 sogod-0.9[2773] Note: vmem size check
>         enabled: shutting down app when vmem > 200 MB
>         Apr 15 12:29:54 sogod-0.9 [2773]: SNS support disabled.
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]> scanning SOGo products
>         in: /home/sogo/GNUstep/Library/
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]> scanning SOGo products
>         in: /usr/GNUstep/Local/Library/
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]> scanning SOGo products
>         in: /usr/GNUstep/System/Library/
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         CommonUI.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         MailPartViewers.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         MainUI.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         SchedulerUI.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         PreferencesUI.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         Appointments.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         ContactsUI.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]>   register SOGo product:
>         MailerUI.SOGo
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]> scanning SOGo products
>         in: /usr/local/lib/sogod-0.9
>         Apr 15 12:29:54 sogod-0.9 [2773]:
>         <0x0x95dddd8[SOGoProductLoader]> scanning SOGo products
>         in: /usr/lib/sogod-0.9
>         2008-04-15 12:29:55.019 sogod-0.9[2773] Note: fetching full
>         mail header.
>         2008-04-15 12:29:55.019 sogod-0.9[2773] Note(SOGoMailObject):
>         using constant etag for mail parts: '"imap4url_0_9_126"'
>         2008-04-15 12:29:55.021 sogod-0.9[2773] Note: using SOGo mail
>         spool folder: /tmp/
>         2008-04-15 12:29:55.021 sogod-0.9[2773]
>         Note(SOGoMailBodyPart): using constant etag for mail parts:
>         '"imap4url_0_9_126"'
>         2008-04-15 12:29:55.021 sogod-0.9[2773] Note: using
>         shared-folders name:      '(nil)'
>         2008-04-15 12:29:55.021 sogod-0.9[2773] Note: using
>         other-users-folders name: '(nil)'
>         Apr 15 12:29:55 sogod-0.9 [2773]: |SOGo-0.9| WOHttpAdaptor
>         listening on address *:20000
>         
> It seems that apache can't contact sogod (listens on port 20000). In
> the file /etc/httpd/conf.d/SOGo.conf, I checked that apache was using
> this port :
>         <LocationMatch "^/SOGo*">
>           SetHandler ngobjweb-adaptor
>           SetAppPort 20000
>         </LocationMatch>
> It seems to be OK, but my server still respond with an error 500.
> 
> Is there anyone who could help me to get the server running ?
> 
> Thanks
> 
> -- 
> Guillaume Gautreau
> Responsable projets SI
>         Bureau P-417
>         Tel : +33 (0)1.64.15.33.22
>         Ecole des ponts
>         6 et 8 avenue Blaise Pascal - Cité Descartes
>         Champs-sur-Marne - 77455 Marne la Vallée cedex 2
> 
> Ce message a été signé numériquement avec GnuPG.