[SOGo] SOGo 1.0RC5.3 on CentOS 5
Ernersto Revilla
sogo@opengroupware.org
Tue, 15 Apr 2008 14:45:01 +0200
May be some security issue of SELinux.
Don't know what "httpd running as context root:system_r:httpd_t:s0"
means.
Is sogod really running? (ps aux | grep sogod)
Can you "telnet localhost 20000" ? GET / [Enter][Enter]
Is sogod really listing at port 2000? (sudo netstat -nlp | grep sogod )
Regards.
Erny
El mar, 15-04-2008 a las 13:36 +0200, Guillaume Gautreau escribió:
> Hi,
>
> > Check apache's error log.
> >
> 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
> operations
> [error] connect to application instance failed, tried 3 times.
>
> > Is mod_ngobjweb correctly installed?
> > (/usr/lib/apache2/modules, /etc/apache2/mods-enabled)
> >
> 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ó:
> >
> > > 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.
> > >
> >
> >
>
> --
> 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.