Talk:Sogo

From SME Server
Revision as of 23:20, 2 February 2014 by Stephdl (talk | contribs)
Jump to navigationJump to search

--Stephdl (talk) 14:45, 2 February 2014 (MST) moved as no more needed

The memcached - libevent nightmare

Important.png Note:
no more needed as the epel directory is included in the yum command line above


Many users have experienced the following dependencies errors (or some kind of them) while trying to install/update SOGo or simply trying to update SME with yum update:

memcached-1.4.2-1.el5.i386 from sogo has depsolving problems
 --> Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.4.2-1.el5.i386 (sogo)
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.4.2-1.el5.i386 (sogo)

To solve this issue you need to install memcached form Epel; the repository can be activated according to wiki http://wiki.contribs.org/Epel . Once configured the repository you can install memcached (The current release available is memcached-1.4.5-1.el5.i386.rpm - may 2012):

yum --enablerepo=epel install memcached

Now you will be able to install/update SOGo and run yum update fine too.

Charset issue

You may experience some problem in SOGo web interface with international fonts (à, é, ù .....) not correctly displayed. To correct this issue yuo need to edit the following file in your favourite editor (copy the original from /etc/e-smith/templates/etc/httpd/conf/httpd.conf):

/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/85SOGoAccess

and add the instruction AddDefaultCharset UTF-8 in this section:

<Location /SOGo>
       order deny,allow
       deny from all
       allow from all
       SSLRequireSSL on
       RequestHeader set "x-webobjects-server-url" "https://{$SystemName}.{$DomainName}/SOGo"
       AddDefaultCharset UTF-8
</Location>

or you can use this command:

sed -i '/x-webobjects/ a\        AddDefaultCharset UTF-8' /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/85SOGoAccess

Then expand template and restart httpd:

expand-template /etc/httpd/conf/httpd.conf
/etc/init.d/httpd-e-smith restart