[SOGo] SOGo 1.0RC5.3 on CentOS 5

Guillaume Gautreau sogo@opengroupware.org
Tue, 15 Apr 2008 13:36:57 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig92D4557D488A86C69677524C
Content-Type: multipart/alternative;
 boundary="------------040702030309070003030501"

This is a multi-part message in MIME format.
--------------040702030309070003030501
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi,

> Check apache's error log.
>  =20
I previously sent this log :

    [notice] SELinux policy enabled; httpd running as context
    root:system_r:httpd_t:s0
    [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [notice] Digest: generating secret for digest authentication ...
    [notice] Digest: done
    [notice] mod_python: Creating 4 session mutexes based on 256 max
    processes and 0 max threads.
    [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operatio=
ns
    [error] connect to application instance failed, tried 3 times.

> Is mod_ngobjweb correctly installed?
> (/usr/lib/apache2/modules, /etc/apache2/mods-enabled)
>  =20
Yes, I installed the rpm from inverse.
I checked and it seems to be correctly loaded. The RPM package added the =

LoadModule instruction in a file named /etc/httpd/conf.d/ngobjweb.conf

Regards

> Regards.
> Erny
>
> El mar, 15-04-2008 a las 12:36 +0200, Guillaume Gautreau escribi=C3=B3:=

>  =20
>> 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 =3D {
>>             };
>>             "sogod-0.9" =3D {
>>                 AgenorProfileURL =3D
>>         "postgresql://****:****@pgdevdb:5432/sogo/sogo_user_profile";
>>                 OCSFolderInfoURL =3D
>>         "postgresql://****:****@pgdevdb:5432/sogo/sogo_folder_info";
>>                 SOGoDefaultMailDomain =3D enpc.fr;
>>                 SOGoFallbackIMAP4Server =3D mail.enpc.fr;
>>                 SOGoServerTimeZone =3D Europe/Paris;
>>                 SOGoSuperUsernames =3D (
>>                     admin
>>                 );
>>                 WOMessageUseUTF8 =3D YES;
>>                 WOParsersUseUTF8 =3D YES;
>>                 WOPort =3D 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
>>        =20
>> 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
>>
>> --=20
>> 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=C3=A9 Descartes
>>         Champs-sur-Marne - 77455 Marne la Vall=C3=A9e cedex 2
>>
>> Ce message a =C3=A9t=C3=A9 sign=C3=A9 num=C3=A9riquement avec GnuPG.
>>    =20
>
>  =20

--=20
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=C3=A9 Descartes
        Champs-sur-Marne - 77455 Marne la Vall=C3=A9e cedex 2

Ce message a =C3=A9t=C3=A9 sign=C3=A9 num=C3=A9riquement avec GnuPG.


--------------040702030309070003030501
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"=
>
  <title></title>
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
Hi, <br>
<br>
<blockquote cite=3D"mid:1208258078.6612.27.camel@ganso" type=3D"cite">
  <pre wrap=3D"">Check apache's error log.
  </pre>
</blockquote>
I previously sent this log :<br>
<blockquote>[notice] SELinux policy enabled; httpd running as context
root:system_r:httpd_t:s0<br>
[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)<br>
[notice] Digest: generating secret for digest authentication ...<br>
[notice] Digest: done<br>
[notice] mod_python: Creating 4 session mutexes based on 256 max
processes and 0 max threads.<br>
[notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations<b=
r>
[error] connect to application instance failed, tried 3 times.<br>
  <br>
</blockquote>
<blockquote cite=3D"mid:1208258078.6612.27.camel@ganso" type=3D"cite">
  <pre wrap=3D"">Is mod_ngobjweb correctly installed?
(/usr/lib/apache2/modules, /etc/apache2/mods-enabled)
  </pre>
</blockquote>
Yes, I installed the rpm from inverse. <br>
I checked and it seems to be correctly loaded. The RPM package added
the LoadModule instruction in a file named
/etc/httpd/conf.d/ngobjweb.conf<br>
<br>
Regards<br>
<br>
<blockquote cite=3D"mid:1208258078.6612.27.camel@ganso" type=3D"cite">
  <pre wrap=3D"">
Regards.
Erny

El mar, 15-04-2008 a las 12:36 +0200, Guillaume Gautreau escribi=C3=B3:
  </pre>
  <blockquote type=3D"cite">
    <pre wrap=3D"">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 =3D {
            };
            "sogod-0.9" =3D {
                AgenorProfileURL =3D
        "postgresql://****:****@pgdevdb:5432/sogo/sogo_user_profile";
                OCSFolderInfoURL =3D
        "postgresql://****:****@pgdevdb:5432/sogo/sogo_folder_info";
                SOGoDefaultMailDomain =3D enpc.fr;
                SOGoFallbackIMAP4Server =3D mail.enpc.fr;
                SOGoServerTimeZone =3D Europe/Paris;
                SOGoSuperUsernames =3D (
                    admin
                );
                WOMessageUseUTF8 =3D YES;
                WOParsersUseUTF8 =3D YES;
                WOPort =3D 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
<a class=3D"moz-txt-link-freetext" href=3D"http://testurl/SOGo/">http://t=
esturl/SOGo/</a> 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 &gt; 200 MB
        Apr 15 12:29:54 sogod-0.9 [2773]: SNS support disabled.
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products
        in: /home/sogo/GNUstep/Library/
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products
        in: /usr/GNUstep/Local/Library/
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products
        in: /usr/GNUstep/System/Library/
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        CommonUI.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        MailPartViewers.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        MainUI.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        SchedulerUI.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        PreferencesUI.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        Appointments.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        ContactsUI.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt;   register SOGo product:
        MailerUI.SOGo
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products
        in: /usr/local/lib/sogod-0.9
        Apr 15 12:29:54 sogod-0.9 [2773]:
        &lt;0x0x95dddd8[SOGoProductLoader]&gt; 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
       =20
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 :
        &lt;LocationMatch "^/SOGo*"&gt;
          SetHandler ngobjweb-adaptor
          SetAppPort 20000
        &lt;/LocationMatch&gt;
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

--=20
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=C3=A9 Descartes
        Champs-sur-Marne - 77455 Marne la Vall=C3=A9e cedex 2

Ce message a =C3=A9t=C3=A9 sign=C3=A9 num=C3=A9riquement avec GnuPG.
    </pre>
  </blockquote>
  <pre wrap=3D""><!---->
  </pre>
</blockquote>
<br>
<pre class=3D"moz-signature" cols=3D"72">--=20
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=C3=A9 Descartes
        Champs-sur-Marne - 77455 Marne la Vall=C3=A9e cedex 2

Ce message a =C3=A9t=C3=A9 sign=C3=A9 num=C3=A9riquement avec GnuPG.</pre=
>
</body>
</html>

--------------040702030309070003030501--

--------------enig92D4557D488A86C69677524C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgEk1sACgkQIlsZTXEg2iwm1wCfVvo0sMoIwQpq/pVGNfZkqybT
vIIAnisDrXLtOGaDTXqugEa1W5c2mJe9
=Zchn
-----END PGP SIGNATURE-----

--------------enig92D4557D488A86C69677524C--