Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: fpausp on June 23, 2011, 10:56:28 AM
-
Hi All,
I would like to install zarafa on sme, I could not install it from the repos. Can anyone give me some Info about the zarafa-contrib ?
regards
-
fpausp
http://wiki.contribs.org/Zarafa
-
also check out this thread about using php5.2ocgi http://forums.contribs.org/index.php/topic,47101.msg231928.html#msg231928 (http://forums.contribs.org/index.php/topic,47101.msg231928.html#msg231928) You will need it to get a couple of things to work properly
-
Hi,
Thanks for your answers, I know this (http://wiki.contribs.org/Zarafa) and I have read a few postings in the forum about zarafa and also the bug ...
yum install smeserver-zarafa --enablerepo=smecontribs
Is not working.
[root@sme7kvm ~]# yum install smeserver-zarafa --enablerepo=smecontribs
Loading "installonlyn" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Setting up Install Process
Setting up repositories
smecontribs 100% |=========================| 1.9 kB 00:00
smeaddons 100% |=========================| 1.9 kB 00:00
smeextras 100% |=========================| 1.9 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
smeos 100% |=========================| 1.9 kB 00:00
smeupdates 100% |=========================| 1.9 kB 00:00
Determining fastest mirrors
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
No Match for argument: smeserver-zarafa
Nothing to do
What I like to know is why is the smeserver-zarafa contrib missing ?
Best
-
I am not sure why it is missing, but you can get it from me.
wget http://www.srdpc.com/php5.2/smeserver-zarafa-0.9.0-53.el4.sme.noarch.rpm
-
Hi,
Thank you for the link, what version of zarafa do you use and do I need the the php-files ?
Best
-
I am using zcp-6.40.6-25584-rhel-4-i386-free.tar. You will need the php files for attachments to work properly.
-
I tried to install 6.40.9 but had dependancy problems with w3m, have you installed w3m für sme7 ?
-
OK, I have now installed zarafa 6.40.9 without zarafa-indexer and the contrib smeserver-zarafa. I am not able to create an additional user (the user admin with smeserver-admin-password was created while the installation).
Is someone using zarafa on sme ? Maybe in a production environment ?
Best
fpausp
-
I'am using 6.40.7 on SME 7.5.1 for ca 20 users, using the unix-plugin (not the db-method). Every existing user and new user gets automatically a zarafa-account and mailbox.
groups and machine-names are not included in the address-book since one of the latest smeserver-zarafa-rpms (new unix.cfg-template that filters groups and machine-names out).
F.
-
Every existing user and new user gets automatically a zarafa-account and mailbox.
That should work for me now.
How do you get/fetch your mails from outside your LAN ?
-
SMTP (fixed ip)
-
The smeserver-zarafa package can be found in the smedev repo.
-
Hi jester,
The wiki says:
yum install smeserver-zarafa --enablerepo=smecontribs
config setprop zarafa-licensed status disabled #GPL version only
I would like to know the reason for smedev, is it a beta-version ?
By the way Zarafa 7 for rhel 5 is out, is the contrib working on sme8 ?
-
The wiki says:
I would like to know the reason for smedev, is it a beta-version ?
Search and you will find your answer: Bug#6459 (http://bugs.contribs.org/show_bug.cgi?id=6459)
By the way Zarafa 7 for rhel 5 is out, is the contrib working on sme8 ?
For Zarafa 6 on SME8: SME8.0_Contribs_QA (http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-zarafa). Zarafa 7 final release came out just 2 days ago... fire up a vm, test and let us know your findings.
-
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:
[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 ?
-
Any suggestions ?
Report your problem in the Contribs section of the bug tracker.
-
@Charlie:
- Bugreport for Mysql password not being set: bug#6682 (http://bugs.contribs.org/show_bug.cgi?id=6682)
- Bugreport for zarafa-monitor complaining that Terminal locale is not UTF-8: bug#6683 (http://bugs.contribs.org/show_bug.cgi?id=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 (http://bugs.contribs.org/show_bug.cgi?id=5789#c5) 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.
-
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 ?
-
It's working for me (not tested beyond install), here's my notes:
* Make working dircd ~
mkdir Zarafa
cd Zarafa
* Either download Zarafa opensource version (without Outlook clients)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:wget http://download.zarafa.com/community/final/7.0/7.0.0-27791/zcp-7.0.0-27791-rhel-5-i386-free.tar.gz
* Installingyum 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:db configuration getprop zarafa-server DbPassword
xxxxxxxxxxxx
* Set the pass;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: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:
signal-event post-upgrade ; signal-event reboot
-
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:
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
-
Hi !
Anyone know who is the maintener of this contribs ?
regards,
Marc
-
Hi Marcoof,
You can find them in the 'Maintainers'-section of the Zarafa wiki page: wiki.contribs.org/Zarafa#Maintainers (http://wiki.contribs.org/Zarafa#Maintainers).
-
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
-
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.
-
To get rid of the message
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
#
# 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
-
modify the file nano /etc/sysconfig/zarafa...
That file should be templated in any properly constructed SME server contrib.
-
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
-
- mkdir /etc/e-smith/templatles/etc/sysconfig/zarafa
Please correct the typo.
- 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.
-
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?
-
Another little gotcha
The "UTF-8" must be in uppercase or the error comes back.
-
There is also some other progress on this in bug#6683 (http://bugs.contribs.org/show_bug.cgi?id=6683) as other PHP files seem to report the same: "Warning: Terminal locale not UTF-8, but UTF-8 locale is being forced".
-
I'm running zarafa-6.40.5-24860 on a SME 7.5.1 which is up-to-date. No problems at all. Did an update to SME8b7 on a VM. Now trying to migrate zarafa-6.40.5-24860 to zarafa-server version 7,0,2,29470. No luck at all. Not with the database update tool from zarafa, not with a restore of a mysql zarafa dump - no luck at all.
On a clean SME8b7 install I got managed to get zarafa 7,0,2,29470 run without any errors. Followed for the install http://wiki.contribs.org/Talk:Zarafa.
==> /var/log/zarafa/gateway.log <==
Fri Dec 2 22:59:44 2011: [ 3062] Starting zarafa-gateway version 7,0,2,29470 (29470), pid 3062
Fri Dec 2 23:01:03 2011: [ 3062] POP3/IMAP Gateway will now exit
Fri Dec 2 23:01:03 2011: [ 3062] POP3/IMAP Gateway shutdown complete
Fri Dec 2 23:03:02 2011: [ 3584] Starting zarafa-gateway version 7,0,2,29470 (29470), pid 3584
Fri Dec 2 23:07:06 2011: [ 3584] POP3/IMAP Gateway will now exit
Fri Dec 2 23:07:06 2011: [ 3584] POP3/IMAP Gateway shutdown complete
Sat Dec 3 00:11:54 2011: [ 2849] Starting zarafa-gateway version 7,0,2,29470 (29470), pid 2849
Sat Dec 3 00:28:55 2011: [ 2849] POP3/IMAP Gateway will now exit
Sat Dec 3 00:28:55 2011: [ 2849] POP3/IMAP Gateway shutdown complete
Sat Dec 3 20:53:45 2011: [ 2821] Starting zarafa-gateway version 7,0,2,29470 (29470), pid 2821
==> /var/log/zarafa/ical.log <==
Fri Dec 2 23:07:07 2011: [ 3595] CalDAV Gateway will now exit
Fri Dec 2 23:07:07 2011: [ 3595] CalDAV Gateway shutdown complete
Sat Dec 3 00:11:54 2011: Listening on port 8088.
Sat Dec 3 00:11:54 2011: Listening on secure port 8089.
Sat Dec 3 00:11:54 2011: [ 2873] Starting zarafa-ical version 7,0,2,29470 (29470), pid 2873
Sat Dec 3 00:28:56 2011: [ 2873] CalDAV Gateway will now exit
Sat Dec 3 00:28:56 2011: [ 2873] CalDAV Gateway shutdown complete
Sat Dec 3 20:53:45 2011: Listening on port 8088.
Sat Dec 3 20:53:45 2011: Listening on secure port 8089.
Sat Dec 3 20:53:46 2011: [ 2845] Starting zarafa-ical version 7,0,2,29470 (29470), pid 2845
==> /var/log/zarafa/monitor.log <==
Fri Dec 2 23:03:02 2011: Starting zarafa-monitor version 7,0,2,29470 (29470), pid 3605
Fri Dec 2 23:07:07 2011: Termination requested, shutting down.
==> /var/log/zarafa/server.log <==
Sat Dec 3 00:13:22 2011: /etc/zarafa/userscripts/createuser[3304]: User store 'test' created.
Sat Dec 3 00:28:57 2011: Shutting down.
Sat Dec 3 00:28:58 2011: Server shutdown complete.
Sat Dec 3 20:53:46 2011: Starting zarafa-server version 7,0,2,29470, pid 2888
Sat Dec 3 20:53:47 2011: Connection to database 'zarafa' succeeded
Sat Dec 3 20:53:47 2011: WARNING: zarafa-licensed not running, commercial features will not be available until it's started.
Sat Dec 3 20:53:47 2011: Listening for pipe connections on /var/run/zarafa
Sat Dec 3 20:53:47 2011: Listening for TCP connections on port 236
Sat Dec 3 20:53:47 2011: Listening for SSL connections on port 237
Sat Dec 3 20:53:47 2011: Startup succeeded on pid 2892
==> /var/log/zarafa/spooler.log <==
Fri Dec 2 23:07:08 2011: [ 3635] Still waiting for 0 threads to exit.
Fri Dec 2 23:07:08 2011: [ 3635] Spooler shutdown complete
Sat Dec 3 00:11:56 2011: [ 2960] Starting zarafa-spooler version 7,0,2,29470 (29470), pid 2960
Sat Dec 3 00:11:56 2011: [ 2960] Using SMTP server: localhost, port 25
Sat Dec 3 00:11:57 2011: [ 2960] Connection to Zarafa server succeeded
Sat Dec 3 00:28:56 2011: [ 2960] Still waiting for 0 threads to exit.
Sat Dec 3 00:28:56 2011: [ 2960] Spooler shutdown complete
Sat Dec 3 20:53:47 2011: [ 2922] Starting zarafa-spooler version 7,0,2,29470 (29470), pid 2922
Sat Dec 3 20:53:48 2011: [ 2922] Using SMTP server: localhost, port 25
Sat Dec 3 20:53:48 2011: [ 2922] Connection to Zarafa server succeeded
==> /var/log/zarafa/server.log <==
Sat Dec 3 20:57:23 2011: Started to create store (userid=5)
Sat Dec 3 20:57:23 2011: Finished create store (userid=5, storeid=51)
Sat Dec 3 20:57:25 2011: /etc/zarafa/userscripts/createuser[3452]: User store 'test2' created.
Created users from the command-line. Not possible to create users with the server-manager. No problem with zarafa-webaccess. (https://localhost/zarafa)
Still don't know, how to migrate the database from zarafa-6.40.5-24860. Couldn't be a zarafa problem. Searched their forum. As far as I can see, an update in a Debian system should work fine. So it should be SME related?
Is there anybody who had tried to update SME7 to SME8, with updating also from zarafa 6.40.5-24860 to zarafa 7.0.2.29470 (successfully)?
stefan
-
hey man i tried a fresh install on sme 8 beta 7 and i receve this error
Error: Missing Dependency: zarafa-dagent is needed by package zarafa-7.0.0-27791.i386 (/zarafa-7.0.0-27791.i386)
were zarafa-7.0.0-27791.i386
thanks