Koozali.org: home of the SME Server

zarafa on sme ?

Offline fpausp

  • *
  • 728
  • +0/-0
Re: zarafa on sme ?
« Reply #15 on: July 09, 2011, 10:27:09 AM »
Quote
fire up a vm, test and let us know your findings.

Finaly I got this error after the Installation of zarafa 7 and smeserver-zarafa on sme8:

Code: [Select]
[root@sme8test ~]# /etc/e-smith/events/actions/zarafa-install
initialize-default-databases
Migrating existing database configuration
Warning: Terminal locale not UTF-8, but UTF-8 locale is being forced.
         Screen output may not be correctly printed.
Migrating existing database mailpatterns
Migrating existing database yum_repositories
Migrating existing database backups
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database spamassassin
Migrating existing database networks
Migrating existing database yum_updates
Migrating existing database hosts
Migrating existing database yum_installed
Migrating existing database domains
signal-event remoteaccess-update
webaccess config
ok: run: /service/httpd-e-smith: (pid 3577) 0s, normally down
creating zarafa database
Loading zarafa into mysql                                  [  OK  ]
Enter your user plugin. Values: unix, db, ldap
unix
expanding zarafa templates
starting services
Starting zarafa-gateway:
Starting zarafa-ical:
Starting zarafa-licensed:
Starting zarafa-monitor: Warning: Terminal locale not UTF-8, but UTF-8 locale is                                being forced.
         Screen output may not be correctly printed.
                                                           [  OK  ]
Starting zarafa-server:                                    [  OK  ]
Starting zarafa-spooler:
creating Public store
Unable to open Admin session.
The server is not running, or not accessable through file:///var/run/zarafa.

Any suggestions ?
Viribus unitis

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: zarafa on sme ?
« Reply #16 on: July 09, 2011, 02:21:50 PM »
Any suggestions ?

Report your problem in the Contribs section of the bug tracker.

Offline jester

  • *
  • 496
  • +1/-0
Re: zarafa on sme ?
« Reply #17 on: July 10, 2011, 01:33:16 AM »
@Charlie:
  • Bugreport for Mysql password not being set: bug#6682
  • Bugreport for zarafa-monitor complaining that Terminal locale is not UTF-8: bug#6683

@fpausp:
Bug#6682 contains a workaround.
Bug#6683 zarafa-spooler is warning you that the screen output might not be correctly printed, but it's still starting. So for testing you should be OK, keeping the warning in mind.

Also, see bug#5789 / comment 5 for the correct mapi-files i compiled for PHP5.2 . After extracting just restart apache with sv t httpd-e-smith

Keep us posted about your progress.


Offline fpausp

  • *
  • 728
  • +0/-0
Re: zarafa on sme ?
« Reply #18 on: July 10, 2011, 08:04:31 AM »
Thank you Charlie and jester, I think I have done that all (mysql-password, mapi-files ...) but still cant login at https://serverip/webaccess. Is it working for you jester ?
Viribus unitis

Offline jester

  • *
  • 496
  • +1/-0
Re: zarafa on sme ?
« Reply #19 on: July 10, 2011, 02:53:21 PM »
It's working for me (not tested beyond install), here's my notes:

 * Make working dir
Code: [Select]
cd ~
mkdir Zarafa
cd Zarafa

 * Either download Zarafa opensource version (without Outlook clients)
Code: [Select]
wget http://download.zarafa.com/community/final/7.0/7.0.0-27791/zcp-7.0.0-27791-rhel-5-i386-opensource.tar.gz
 * Or download Zarafa with the ability to connect 3 Outlook clients:
Code: [Select]
wget http://download.zarafa.com/community/final/7.0/7.0.0-27791/zcp-7.0.0-27791-rhel-5-i386-free.tar.gz
 * Installing
Code: [Select]
yum localinstall zarafa-7.0.0-27791.i386.rpm \
php-mapi-7.0.0-27791.i386.rpm \
python-mapi-7.0.0-27791.i386.rpm \
zarafa-client-7.0.0-27791.i386.rpm \
zarafa-common-7.0.0-27791.i386.rpm \
zarafa-dagent-7.0.0-27791.i386.rpm \
zarafa-gateway-7.0.0-27791.i386.rpm \
zarafa-ical-7.0.0-27791.i386.rpm \
zarafa-indexer-7.0.0-27791.i386.rpm \
zarafa-libarchiver-7.0.0-27791.i386.rpm \
zarafa-libs-7.0.0-27791.i386.rpm \
zarafa-monitor-7.0.0-27791.i386.rpm \
zarafa-server-7.0.0-27791.i386.rpm \
zarafa-spooler-7.0.0-27791.i386.rpm \
zarafa-utils-7.0.0-27791.i386.rpm \
zarafa-webaccess-7.0.0-27791.noarch.rpm \
zarafa-licensed-7.0.0-27791.i386.rpm \
catdoc-0.94.2-2.i386.rpm \
libvmime-0.9.2+svn581-4.i386.rpm

wget http://sme-mirror.firewall-services.com/releases/7.5.1/smedev/i386/RPMS/smeserver-zarafa-0.9.0-53.el4.sme.noarch.rpm
yum localinstall smeserver-zarafa-0.9.0-53.el4.sme.noarch.rpm
/etc/e-smith/events/actions/zarafa-install

 * There currently is an problem with the smeserver-zarafa-0.9.0-53 package in combination with Zarafa7 on SME8b6: the mysql password is not properly set. So lookup up the password:
Code: [Select]
db configuration getprop zarafa-server DbPassword
xxxxxxxxxxxx

 * Set the pass;
Code: [Select]
mysql
mysql> set password for 'zarafa'@'localhost' = password('xxxxxxxxxxxx');
mysql> quit

/etc/init.d/zarafa-server restart
/etc/e-smith/events/actions/zarafa-install

 * Downloading and installing the correct mapi-files for SME8b6's PHP5.2:
Code: [Select]
wget http://bugs.contribs.org/attachment.cgi?id=3334
mv attachment.cgi?id=3334 zarafa7-mapi.sme8b6.tgz
tar -zxvf zarafa7-mapi.sme8b6.tgz -C /

 * To finish things off:
Code: [Select]
signal-event post-upgrade ; signal-event reboot

Offline fpausp

  • *
  • 728
  • +0/-0
Re: zarafa on sme ?
« Reply #20 on: July 10, 2011, 07:21:18 PM »
OK, its working now, before I used the script (install.sh) from zarafa maybe that was the problem.

These are the steps I used for Installation:

Code: [Select]
mkdir -p /root/contribs/zarafa7
cd /root/contribs/zarafa7
wget http://download.zarafa.com/community/final/7.0/7.0.0-27791/zcp-7.0.0-27791-rhel-5-i386-free.tar.gz
gzip -d zcp-7.0.0-27791-rhel-5-i386-free.tar.gz
tar xvf zcp-7.0.0-27791-rhel-5-i386-free.tar
cd zcp-7.0.0-27791-rhel-5-i386

yum localinstall catdoc-0.94.2-2.i386.rpm libical-0.44-3.i386.rpm

yum install w3m poppler-utils sysstat libicu
 
yum localinstall zarafa-7.0.0-27791.i386.rpm php-mapi-7.0.0-27791.i386.rpm python-mapi-7.0.0-27791.i386.rpm \
zarafa-client-7.0.0-27791.i386.rpm zarafa-common-7.0.0-27791.i386.rpm zarafa-dagent-7.0.0-27791.i386.rpm \
zarafa-gateway-7.0.0-27791.i386.rpm zarafa-ical-7.0.0-27791.i386.rpm zarafa-indexer-7.0.0-27791.i386.rpm \
zarafa-libarchiver-7.0.0-27791.i386.rpm zarafa-libs-7.0.0-27791.i386.rpm zarafa-monitor-7.0.0-27791.i386.rpm \
zarafa-server-7.0.0-27791.i386.rpm zarafa-spooler-7.0.0-27791.i386.rpm zarafa-utils-7.0.0-27791.i386.rpm \
zarafa-webaccess-7.0.0-27791.noarch.rpm zarafa-licensed-7.0.0-27791.i386.rpm catdoc-0.94.2-2.i386.rpm \
libvmime-0.9.2+svn581-4.i386.rpm

wget http://sme-mirror.firewall-services.com/releases/7.5.1/smedev/i386/RPMS/smeserver-zarafa-0.9.0-53.el4.sme.noarch.rpm
yum localinstall smeserver-zarafa-0.9.0-53.el4.sme.noarch.rpm

db configuration getprop zarafa-server DbPassword
mysql
mysql> set password for 'zarafa'@'localhost' = password('xxxxxxxxxxxxxx');
mysql> quit

/etc/e-smith/events/actions/zarafa-install

wget http://bugs.contribs.org/attachment.cgi?id=3334
mv attachment.cgi?id=3334 zarafa7-mapi.sme8b6.tgz
tar -zxvf zarafa7-mapi.sme8b6.tgz -C /
 
config setprop zarafa-server GlobalForward enabled
signal-event post-upgrade ; signal-event reboot

Next steps are to test this maybe with Thunderbird and so on ...
Is there someone who want to help us for testing ? We should coordinate that.

Best
Viribus unitis

Offline Marcoof

  • *
  • 18
  • +0/-0
Re: zarafa on sme ?
« Reply #21 on: August 03, 2011, 12:58:05 PM »
Hi !

Anyone know who is the maintener of this contribs ?
regards,
Marc

Offline jester

  • *
  • 496
  • +1/-0
Re: zarafa on sme ?
« Reply #22 on: August 03, 2011, 09:41:50 PM »
Hi Marcoof,
You can find them in the 'Maintainers'-section of the Zarafa wiki page: wiki.contribs.org/Zarafa#Maintainers.

Offline jester

  • *
  • 496
  • +1/-0
Re: zarafa on sme ?
« Reply #23 on: August 17, 2011, 04:41:31 PM »
Compiled new mapi-files for Zarafa 7.0.1 on SME8b6.

Read here: http://bugs.contribs.org/show_bug.cgi?id=5789#c6
Download here: http://bugs.contribs.org/attachment.cgi?id=3341

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: zarafa on sme ?
« Reply #24 on: August 18, 2011, 01:15:05 PM »
Report your problem in the Contribs section of the bug tracker.

This post ashould probably be in the Contribs section of the forum.
Moving as such.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline compsos

  • *
  • 472
  • +0/-0
Re: zarafa on sme ?
« Reply #25 on: August 19, 2011, 12:33:08 PM »
To get rid of the message

Code: [Select]
Starting zarafa-monitor: Warning: Terminal locale not UTF-8, but UTF-8 locale is being forced.
         Screen output may not be correctly printed.
modify the file nano /etc/sysconfig/zarafa to
Code: [Select]
#
# Locale setting for all Zarafa services
#
#ZARAFA_LOCALE="C" <- comment out
ZARAFA_LOCALE="en_GB.UTF-8" <- set to required language
#
# Locale setting for Zarafa userscripts
#
#ZARAFA_USERSCRIPT_LOCALE="C" <- comment out
ZARAFA_USERSCRIPT_LOCALE="en_GB.UTF-8" <- set to required language

Issue the command
/etc/e-smith/events/actions/zarafa-services restart
« Last Edit: August 19, 2011, 12:55:41 PM by compsos »
Regards

Gordon............

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: zarafa on sme ?
« Reply #26 on: August 19, 2011, 02:48:52 PM »
modify the file nano /etc/sysconfig/zarafa...

That file should be templated in any properly constructed SME server contrib.

Offline compsos

  • *
  • 472
  • +0/-0
Re: zarafa on sme ?
« Reply #27 on: August 20, 2011, 12:50:56 AM »
Yes Charlie you are right just happy that we managed to solve that one.

To template

  • mkdir /etc/e-smith/templatles/etc/sysconfig/zarafa
  • cp /etc/sysconfig/zarafa /etc/e-smith/templates/etc/sysconfig/zarafa/zarafa
  • mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/zarafa
  • nano /etc/e-smith/templates-custom/etc/sysconfig/zarafa/zarafa
  • change ZARAFA_LOCALE="en_GB.UTF-8" to your preferred language
  • change ZARAFA_USERSCRIPT_LOCALE="en_GB.UTF-8" to your preferred language
  • expand-template /etc/sysconfig/zarafa
  • /etc/e-smith/events/actions/zarafa-services restart
« Last Edit: August 21, 2011, 08:26:38 AM by compsos »
Regards

Gordon............

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: zarafa on sme ?
« Reply #28 on: August 20, 2011, 02:03:06 AM »
   
  • mkdir /etc/e-smith/templatles/etc/sysconfig/zarafa

Please correct the typo.

Quote
   
  • change ZARAFA_LOCALE="en_GB.UTF-8" to your preferred language
  • change ZARAFA_USERSCRIPT_LOCALE="en_GB.UTF-8" to your preferred language

The preferred language should already be in the configuration database, as the language property of the sysconfig record.

Offline compsos

  • *
  • 472
  • +0/-0
Re: zarafa on sme ?
« Reply #29 on: August 20, 2011, 07:42:40 AM »
Charlie, would an entry in the sysconfig/zarafa file only affect zarafa? That does seem to be the result.
Could this be done as an entry in the config setprop sysconfig zarafa ZARAFA_LOCALE en_GB.UTF-8 ZARAFA_USERSCRIPT_LOCALE en_GB.UTF-8? Which is the best way to handle non standard addons template or db?
Regards

Gordon............