[SOGo] SOGo 1.0RC5.3 on CentOS 5

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


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

This is a multi-part message in MIME format.
--------------020409080607010207090804
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi,

I'm trying to install SOGo 1.0RC5.3 on CentOS 5. I installed all the=20
needed rpms, created the configuration file=20
//home/sogo/GNUstep/Defaults/.GNUstepDefaults/ (I copied its content belo=
w)

    {
        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=20
(/etc/init.d/sogod start).

I get a internal server error (500) when trying to access=20
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]> =20
    register SOGo product: CommonUI.SOGo
    Apr 15 12:29:54 sogod-0.9 [2773]: <0x0x95dddd8[SOGoProductLoader]> =20
    register SOGo product: MailPartViewers.SOGo
    Apr 15 12:29:54 sogod-0.9 [2773]: <0x0x95dddd8[SOGoProductLoader]> =20
    register SOGo product: MainUI.SOGo
    Apr 15 12:29:54 sogod-0.9 [2773]: <0x0x95dddd8[SOGoProductLoader]> =20
    register SOGo product: SchedulerUI.SOGo
    Apr 15 12:29:54 sogod-0.9 [2773]: <0x0x95dddd8[SOGoProductLoader]> =20
    register SOGo product: PreferencesUI.SOGo
    Apr 15 12:29:54 sogod-0.9 [2773]: <0x0x95dddd8[SOGoProductLoader]> =20
    register SOGo product: Appointments.SOGo
    Apr 15 12:29:54 sogod-0.9 [2773]: <0x0x95dddd8[SOGoProductLoader]> =20
    register SOGo product: ContactsUI.SOGo
    Apr 15 12:29:54 sogod-0.9 [2773]: <0x0x95dddd8[SOGoProductLoader]> =20
    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 head=
er.
    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=20
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=E9 Descartes
        Champs-sur-Marne - 77455 Marne la Vall=E9e cedex 2

Ce message a =E9t=E9 sign=E9 num=E9riquement avec GnuPG.


--------------020409080607010207090804
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
Hi,<br>
<br>
I'm trying to install SOGo 1.0RC5.3 on CentOS 5. I installed all the
needed rpms, created the configuration file
<i>/home/sogo/GNUstep/Defaults/.GNUstepDefaults</i> (I copied its
content below)<br>
<br>
<blockquote>{<br>
&nbsp;&nbsp;&nbsp; NSGlobalDomain =3D {<br>
&nbsp;&nbsp;&nbsp; };<br>
&nbsp;&nbsp;&nbsp; "sogod-0.9" =3D {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AgenorProfileURL =3D
"postgresql://****:****@pgdevdb:5432/sogo/sogo_user_profile";<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OCSFolderInfoURL =3D
"postgresql://****:****@pgdevdb:5432/sogo/sogo_folder_info";<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOGoDefaultMailDomain =3D enpc=
=2Efr;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOGoFallbackIMAP4Server =3D ma=
il.enpc.fr;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOGoServerTimeZone =3D Europe/=
Paris;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOGoSuperUsernames =3D (<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; admin<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WOMessageUseUTF8 =3D YES;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WOParsersUseUTF8 =3D YES;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WOPort =3D 20000;<br>
&nbsp;&nbsp;&nbsp; };<br>
}<br>
</blockquote>
I started apache (/etc/init.d/httpd start) and then sogo
(/etc/init.d/sogod start).<br>
<br>
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.<br>
<br>
In the apache log file /var/log/httpd/error_log, I found :<br>
<blockquote>[error] connect to application instance failed, tried 3
times.<br>
</blockquote>
The sogo log file /var/log/sogo-20000.log, I found :<br>
<blockquote>2008-04-15 12:29:54.767 sogod-0.9[2773] starting SOGo
(build root@sogo 200804011156)<br>
2008-04-15 12:29:54.783 sogod-0.9[2773] Note: vmem size check enabled:
shutting down app when vmem &gt; 200 MB<br>
Apr 15 12:29:54 sogod-0.9 [2773]: SNS support disabled.<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products in:
/home/sogo/GNUstep/Library/<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products in:
/usr/GNUstep/Local/Library/<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products in:
/usr/GNUstep/System/Library/<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

CommonUI.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

MailPartViewers.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

MainUI.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

SchedulerUI.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

PreferencesUI.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

Appointments.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

ContactsUI.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt;&nbsp;&nbsp; register SOGo product:=

MailerUI.SOGo<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products in:
/usr/local/lib/sogod-0.9<br>
Apr 15 12:29:54 sogod-0.9 [2773]:
&lt;0x0x95dddd8[SOGoProductLoader]&gt; scanning SOGo products in:
/usr/lib/sogod-0.9<br>
2008-04-15 12:29:55.019 sogod-0.9[2773] Note: fetching full mail header.<=
br>
2008-04-15 12:29:55.019 sogod-0.9[2773] Note(SOGoMailObject): using
constant etag for mail parts: '"imap4url_0_9_126"'<br>
2008-04-15 12:29:55.021 sogod-0.9[2773] Note: using SOGo mail spool
folder: /tmp/<br>
2008-04-15 12:29:55.021 sogod-0.9[2773] Note(SOGoMailBodyPart): using
constant etag for mail parts: '"imap4url_0_9_126"'<br>
2008-04-15 12:29:55.021 sogod-0.9[2773] Note: using shared-folders
name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '(nil)'<br>
2008-04-15 12:29:55.021 sogod-0.9[2773] Note: using other-users-folders
name: '(nil)'<br>
Apr 15 12:29:55 sogod-0.9 [2773]: |SOGo-0.9| WOHttpAdaptor listening on
address *:20000<br>
  <br>
</blockquote>
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 :<br>
<blockquote>&lt;LocationMatch "^/SOGo*"&gt;<br>
&nbsp; SetHandler ngobjweb-adaptor<br>
&nbsp; SetAppPort 20000<br>
&lt;/LocationMatch&gt;<br>
</blockquote>
It seems to be OK, but my server still respond with an error 500.<br>
<br>
Is there anyone who could help me to get the server running ?<br>
<br>
Thanks<br>
<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&eacute; Descartes
        Champs-sur-Marne - 77455 Marne la Vall&eacute;e cedex 2

Ce message a &eacute;t&eacute; sign&eacute; num&eacute;riquement avec Gnu=
PG.</pre>
</body>
</html>

--------------020409080607010207090804--

--------------enig1CC05853F8BB6004E8DDF08D
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

iEYEARECAAYFAkgEhToACgkQIlsZTXEg2izdsQCePqcRMyYNYODPwIGm9xCGP0xl
x7UAn3Hc7Be+PE1ZmjnCNQBc8ZeUBfPc
=w6wJ
-----END PGP SIGNATURE-----

--------------enig1CC05853F8BB6004E8DDF08D--