Forums

×

Warning

JUser: :_load: Unable to load user with ID: 23943
Resolved
0 votes
Please find below instructions for installing Zarafa-7 on ClearOS Enterprise 5.2.

The old Zarafa 6 (long) thread can be found HERE which contains a lot of useful information and guidance.

The full installation howto for Zarafa is HERE. This is considerd to be the main howto, and will be revised to use version 7 in due course. To install Zarafa-7 see the revised install section below. (ClearOS Enterprise 6.1.0 when available will also contain a Zarafa module)

Update: Zarafa 7.0.5-1 is available in the timb-testing repo. 6.40.9 has been pushed to the timb repo.I anticipate this to be the last release for 6.40.x

Warning - upgrades from 6.40.x require manual Mysql intervention, to optimise it for the new version - the database will grow by up to 20% in size. The process is not reversible.

Refer to the release docs here:-
http://doc.zarafa.com/7.0/Release_Notes/en-US/pdf/Zarafa_Collaboration_Platform-7.0-Release_Notes-en-US.pdf

There are many changes HERE

Install
yum --enablerepo=timb-testing install zarafa zarafa-webaccess
yum --enablerepo=timb install app-zarafa

Refer to original docs for completing the install

Upgrading
yum --enablerepo=timb-testing upgrade zarafa zarafa-webaccess
#important! to fix issues with libvmime upgrade please run:-
ldconfig
service zarafa-server start
# review server.log - zarafa-server will stop after initial restart stating that you need to run the upgrade script
tail -f /var/log/zarafa/server.log
yum install MySQL-python
# Dump your existing database as a backup!
# For system-mysql (find your system password in /etc/system/databases)
/usr/share/system-mysql/usr/bin/mysqldump -uroot -pPASSWORD -v --quick --single-transaction zarafa | \
gzip > /var/tmp/zarafa-mysql-dump.gz
# For Mysql
/usr/bin/mysqldump -uroot -pPASSWORD -v --quick --single-transaction zarafa | \
gzip > /var/tmp/zarafa-mysql-dump.gz
# run the upgrade script, note may take substantial time
python /usr/share/zarafa/zarafa7-upgrade

WAIT! don't end the script or you risk breaking your system, completed in 5-10 minutes for a small database. You should see something like:-
Converting database to Unicode: 4 / 4 (100%)
Update stores table usernames: 2 / 2 (100%)
Converting rules to Unicode: 2 / 2 (100%)
Converting search folders to Unicode: 7 / 7 (100%)
Converting properties for IO performance: 26872 / 26872 (100%)
Creating counters for IO performance: 16 / 16 (100%)
Creating common properties for IO performance: 4 / 4 (100%)
Creating message attachment properties for IO performance: 2 / 2 (100%)
Creating tproperties for IO performance: 26871 / 26871 (100%)
Converting hierarchy for IO performance: 26871 / 26871 (100%)
Creating deferred table for IO performance: 1 / 1 (100%)
Converting changes for IO performance: 55839 / 55839 (100%)
Converting names table to Unicode: 1 / 1 (100%)

# Assuming everything went OK, restart the services and monitor the logs
service zarafa-server start
service webconfig restart


Outlook support
Zarafa offer a free community edition with 3 free Outlook connectors, so that it will connect in a manner similar to Exchange
You can download the relevant version from ftp://timburgess.net/zarafa/
Install with:-
rpm -Uvh zarafa-licensed-7.0.5-31880.i386.rpm --nodeps


Z-Push
Z-push which offers ActiveSync support for remote devices is available as an rpm
yum --enablerepo=timb-testing install zarafa-z-push
service httpd restart
service webconfig restart
vi /etc/zarafa/z-push/searchldap.php
#change LDAP_BIND_USER,LDAP_BIND_PASSWORD and LDAP_SEARCH_BASE to values from the webconfig LDAP


Webaccess Speed
For large numbers of users the default webconfig settings can result in slow performance. Please see the post here if you need to optimise its performance! Thanks to Peter for posting
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,30195/limit,10/limitstart,290/#37403

Mysql Tuning
For tuning of the Mysql backend (required for large mail databases!) see the following post. Please note the instructions apply to the default Mysql instance not the "System Mysql", however they can be successfully be applied to both.
http://www.zarafa.com/wiki/index.php/MySQL_tuning

Enjoy :) feedback welcome!
Thursday, July 14 2011, 09:02 AM
Share this post:
Responses (795)
  • Accepted Answer

    Friday, July 15 2011, 04:28 PM - #Permalink
    Resolved
    0 votes
    Hi Tim,

    I installed every package on my centos 5.2 sp1 enterprise box and also in a vmware testmaschine on a freshly installed system without zarafa 6 installed before.

    There is a problem with the zarafa license server.
    When I installed the zarafa-lcensed-server I can reach my mailbox within Outlook 2010.
    But when I restart the clearos server, the license server is running but i can't acces my mailbox with Outlook.

    In licensed.log ther is no problem visible:
    Fri Jul 15 18:04:46 2011: Starting zarafa-licensed version 7,0,0,27791 (27791), pid 8818
    Fri Jul 15 18:04:46 2011: ZCP serial in '/etc/zarafa/license' is invalid. Assuming default 3-user license
    Fri Jul 15 18:04:46 2011: ZCP license for 3 Win32 MAPI users
    Fri Jul 15 18:10:44 2011: Exiting
    Fri Jul 15 18:18:21 2011: Starting zarafa-licensed version 7,0,0,27791 (27791), pid 5037
    Fri Jul 15 18:18:21 2011: ZCP serial in '/etc/zarafa/license' is invalid. Assuming default 3-user license
    Fri Jul 15 18:18:21 2011: ZCP license for 3 Win32 MAPI users

    In server.log I see the same problem like in Outlook 2010:
    Fri Jul 15 18:12:27 2011: Starting zarafa-server version 7,0,0,27791, pid 3585
    Fri Jul 15 18:12:27 2011: Connection to database 'zarafa' succeeded
    Fri Jul 15 18:12:27 2011: WARNING: zarafa-licensed not running, commercial features will not be available until it's started.
    Fri Jul 15 18:12:28 2011: Listening for pipe connections on /var/run/zarafa
    Fri Jul 15 18:12:28 2011: Listening for TCP connections on port 236
    Fri Jul 15 18:12:28 2011: Startup succeeded on pid 3597
    Fri Jul 15 18:13:43 2011: Client requested license but zarafa-licensed could not be contacted

    When I remove the complete zarafa installation and reinstall them, I can use Outlook again until the next reboot of the clearos server

    What could be the problem?

    Thanks Stephan
    .
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 15 2011, 04:42 PM - #Permalink
    Resolved
    0 votes
    Stephen - Zarafa-server has to acknowledge the presence of zarafa-licensed otherwise it won't work. Try starting them in order:-

    service zarafa-licensed restart
    service zarafa-server restart

    You should see the following line in /var/log/zarafa/server.log
    Wed Jul 13 21:34:45 2011: zarafa-licensed is running, but no license key was found. Not all commercial features will be available.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 15 2011, 06:52 PM - #Permalink
    Resolved
    0 votes
    Hi Tim,
    thank you it's working now!

    But how can change the behavior at startup?
    The system is running on runlevel 3, so I change the zarafa-server from S85 to S87, but tha doesn't help.

    Original:
    S80postfix
    S85httpd
    S85zarafa-server
    S86zarafa-dagent
    S86zarafa-gateway
    S86zarafa-ical
    S86zarafa-licensed
    S86zarafa-monitor
    S86zarafa-spooler
    S90crond

    Maybe I should place your code in a script. But in which one?

    Stephan
    The reply is currently minimized Show
  • Accepted Answer

    Craig
    Craig
    Offline
    Saturday, July 23 2011, 03:35 AM - #Permalink
    Resolved
    0 votes
    Luckily for me, my ClearOS server is a home server...

    I followed the upgrade as above, but now, when I try to access the Zafara user web interface, I get this message:

    "Not Found: PHP mapi extension not found
    If you have upgraded zarafa, please restart Apache

    Zarafa WebAccess can't start because of incompatible configuration.

    Please correct above errors, a good start is by checking your '/usr/webconfig/etc/php.ini' file.

    Or if you wish, you can disable this config check by editing the file '/usr/share/zarafa-webaccess/config.php', but this is not recommend."
    (Disabling the above command just left me with a blank screen when I went to the webaccess page.)

    I restarted Apache (rebooted server), and looked at the files, but nothing jumps out. I tried the "Yum Remove Zafara*" command to uninstall and start fresh, but it returned with a message "No match for argument: zafara*"

    How should I proceed in removing Zafara 7 so that I can begin fresh?

    Thanks,

    - Craig
    The reply is currently minimized Show
  • Accepted Answer

    Craig
    Craig
    Offline
    Saturday, July 23 2011, 06:07 PM - #Permalink
    Resolved
    0 votes
    Ok - my bad on the removing Zarafa item - it helps if I spell it correctly (I blame the extreme heat, humidity and late night for that gaffe. Stupid!).

    So, I removed Zarafa 7 and reinstalled it, and the same error as above appeared. I then removed Zarafa 7 and installed version 6. The same "Not Found: PHP mapi extension not found..." error occurred. I've rebooted the server and I can now get to the Zarafa webaccess login screen!
    I get a "Cannot Connect to the Zarafa Server" error. On the ClearOS webconfig, all Zarafa services are running. I'm getting closer to having it functional again.

    If I can't get it functioning properly I'll post the question either on the Zarafa 6 big discussion or start a new thread entirely.

    - Craig

    EDIT: Last error was that the Zarafa server was not running. following Tim's instructions:

    "If zarafa-server fails to run on boot, try editing the "run_as_user" in /etc/zarafa/server.cfg to root and let us know (Thanks to Keil Gyozo for spotting this one)"

    at http://www.timburgess.net/node/28 fixed the problem. All is working well once again. Thanks for your prodigious documentation and coding Tim!!! :woohoo:
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 23 2011, 06:43 PM - #Permalink
    Resolved
    0 votes
    Tim

    Is the configuration on iPhone of iPad in 7.x version the same as with 6.40.5. Or is it using the webconfig version using port 84
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, July 24 2011, 06:15 PM - #Permalink
    Resolved
    0 votes
    Hi Craig - glad you got there in the end!, it's on my todo list to investigate. This problem cropped up before and steps posted for reinstallation are here in the 6.x thread
    http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,1983/limit,10/limitstart,780/#30303

    Just for my benefit - which version of Zarafa did you do upgrade from?

    Hi Patrick, the zarafa-z-push RPM sets up the Microsoft-ActiveSync alias using both the normal web server and the webconfig, so the answer is yes it still uses port 84, but the implementation means that you can access ActiveSync using normal http or https
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 27 2011, 01:35 PM - #Permalink
    Resolved
    0 votes
    Hello Tim

    We are about to purchase a license from Zarafa. They have asked us to inform them which version we are using. I have told them version 7 as this is what we have installed from your howto in this thread. I presume just "version 7" is correct? (just checking)

    Thanks for your time

    Peter
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 27 2011, 04:31 PM - #Permalink
    Resolved
    0 votes
    Yes version 7.0.0, using the RHEL5 version of Zarafa-licensed.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 07:38 PM - #Permalink
    Resolved
    0 votes
    Tim,

    Rebuilt ClearOS 5.2 with Zarafa 7.0 instructions from this thread.
    All fine apart from the Z-Push - I did exactly as you stated and perhaps just expected it to work from the iPhone...
    I am connecting to port 84 using the Microsoft Exchange connector on the iPhone - using the domain name with :84 but it wont connect. I can see the webaccess pages ok externally so know the port is open.

    Am I missing something obvious or perhaps I need to look elsewhere for ful installation instructions - please point me in the right direction. All the stuff I can see appears quite old now and don#t want to mess up my Ver7 installation just for Z-Push - it's more a nice to have at this point so I thought I'd give it a go.

    I've just tested http://mydomainname.com/Microsoft-Server-ActiveSync shows a version 1.5.3-685 splash page as does https://mydomainname.com:81/Microsoft-Server-ActiveSync after succesful username authentication.

    Still can't get iPhone to make the connection.

    Thanks,

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 08:38 PM - #Permalink
    Resolved
    0 votes
    Hi Andy, you don't need port 84 for ActiveSync, Z-push should work without any other port specification. You confirmed that you can see the splash page so that means your webserver is running and serving the data (on port 80).

    I have tested this using Exchange ActiveSync for Android but not iPhone :) It is possible that it's looking for https...so you might want to try enabled SSL for your webserver to see if that helps? but i'm just guessing.

    Have you tried the ActiveSync tester?
    https://www.testexchangeconnectivity.com/
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 09:22 PM - #Permalink
    Resolved
    0 votes
    Tim,

    Thanks - it could be an iPhone thing then - need to research this. Hope version 6 can deal with some of these finer points as our client will be looking for their iPhones to work :-)

    Here is what the tester said...think it is also telling me something is wrong with the certificates but just did a vanilla installation of ClearOS - I do always get the 'warning page' when I connect by https with a normal browser to the webconfig pages. I assumed that was 'normal'.

    I did supply all the organisational info when I configured CelarOS via the Webconfig pages immediately after install but its not seeing any of that data I entered.

    I'll be looking for a thread on SSL certs etc shortly.....can of worms comes to mind :-)

    ExRCA is testing Exchange ActiveSync.
    The Exchange ActiveSync test failed.
    Test Steps
    Attempting to resolve the host name gw1.mydomain.co.uk in DNS.
    The host name resolved successfully.
    Additional Details
    IP addresses returned: 123.124.125.126

    Testing TCP port 443 on host gw1.mydomain.co.uk to ensure it's listening and open.
    The port was opened successfully.
    Testing the SSL certificate to make sure it's valid.
    The SSL certificate failed one or more certificate validation checks.
    Test Steps
    ExRCA is attempting to obtain the SSL certificate from remote server gw1.mydomain.co.uk on port 443.
    ExRCA successfully obtained the remote SSL certificate.
    Additional Details
    Remote Certificate Subject: E=root@localhost.localdomain, CN=localhost.localdomain, OU=SomeOrganizationalUnit, O=SomeOrganization, L=SomeCity, S=SomeState, C=--, Issuer: E=root@localhost.localdomain, CN=localhost.localdomain, OU=SomeOrganizationalUnit, O=SomeOrganization, L=SomeCity, S=SomeState, C=--.

    Validating the certificate name.
    Certificate name validation failed.
    Tell me more about this issue and how to resolve it
    Additional Details
    Host name gw1.mydomain.co.uk doesn't match any name found on the server certificate E=root@localhost.localdomain, CN=localhost.localdomain, OU=SomeOrganizationalUnit, O=SomeOrganization, L=SomeCity, S=SomeState, C=--.

    Best wishes,

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 09:44 PM - #Permalink
    Resolved
    0 votes
    The warning page is normal, as is the self-signed certificate

    For remote connections using https you'll need to configure your webserver with a valid security certificate that matches your external domain name. The easy way to do this is to use the Certificate Manager in the webconfig, create a new selfsigned certificate for your domain name, make note of it's path , then change the paths in /etc/httpd/conf.d/ssl.conf to something like
    SSLCertificateFile /etc/ssl/usr-1-cert.pem
    SSLCertificateKeyFile /etc/ssl/private/usr-1-key.pem

    Then restart the webserver with 'service httpd restart'

    Note however you should be able to get ActiveSync to work 'internally' using your LAN IP if your using wireless, before having to mess round with certificates. The Exchange Activesync tester is useful for testing remote access

    You can find log clues in /var/log/messages and /var/log/zarafa/zpush_access_log
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 10:18 PM - #Permalink
    Resolved
    0 votes
    Thanks Tim - I'll have a go at this later. trouble getting Outlook 2010 to connect now....can't find the License Server....but Outlook 2007 is OK. Beginning to get depressed. Perhaps Microsoft SBS was the way to go....

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 10:26 PM - #Permalink
    Resolved
    0 votes
    Make sure zarafa-licensed is running, then run 'service zarafa-server restart'. You should see a corresponding entry in the log at /var/log/zarafa/server.log acknowledging the presence of the licensed service.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 10:51 PM - #Permalink
    Resolved
    0 votes
    Yes the license server is there - it defaulted to the 3 Win32 MAPI amd then I installed the demo license and that is giving a ZCP licesne for 25 users - so all is well there. I used the latest zarafaclient.msi from their Version 7 download. I thought this bit would be a breeze at it all worked well with 6.40.8 - at least getting Outlook 2007 to speak to Zarafa. It is perhaps something to do with now I am testing with Windows 7, Outlook 2010 and Zarafa 7.0.

    I've restarted services and finally rebooted the entire server but same issues.

    Thanks so much for you help. I'm trying to demo this for a client on Monday so I'm feeling the pressure :-)

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Craig
    Craig
    Offline
    Thursday, July 28 2011, 11:44 PM - #Permalink
    Resolved
    0 votes
    Tim Burgess wrote:
    Hi Craig - glad you got there in the end!, it's on my todo list to investigate. This problem cropped up before and steps posted for reinstallation are here in the 6.x thread
    http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,1983/limit,10/limitstart,780/#30303

    Just for my benefit - which version of Zarafa did you do upgrade from?

    Hi Patrick, the zarafa-z-push RPM sets up the Microsoft-ActiveSync alias using both the normal web server and the webconfig, so the answer is yes it still uses port 84, but the implementation means that you can access ActiveSync using normal http or https


    Hi Tim,

    I upgraded from 6.40.9-1. I'm going to take the plunge again this evening and remove it from my system and try to get v.7 functioning.

    Cheers,

    - Craig
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 28 2011, 11:48 PM - #Permalink
    Resolved
    0 votes
    Tim,

    Have you tried connecting with Outlook 2010 with a system built using the instructions in this thread?

    In the mean time are you able to provide me with instructions on how to revert to the 6.40.7 (or .8) as I will build a new machine with an older version to see what I did differently - I know that I could connect with Outlook 2007 and zarafaclient-6.40.4 without issues. I wish I hadn't deleted that image - I could have used that to demo ClearOS working with Zarafa and Outlook.

    Thanks,

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2011, 12:34 AM - #Permalink
    Resolved
    0 votes
    Craig, i've just uploaded another build which should hopefully fix the upgrade issue. I spotted a bug to do with upgrading libvmime... if you wait an hour or so then the 7.0.0-4 should be available. Don't forget to restart both webconfig and httpd after upgrading.

    Andy, no I don't have access to a copy of Office 2010....
    You can remove Zarafa with the following then install as per the other thread. Note I don't believe you can't revert a mail database from 7.0 backwards to 6.40.x
    yum remove php-mapi libvmime libmapi zarafa zarafa-webaccess
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2011, 12:40 AM - #Permalink
    Resolved
    0 votes
    Thanks Tim - it's a new clean build I will use so no need to worry about the mail db at the moment.

    I wasn's sure how to get access to the yum installation for the older version(s)?? Do I need to locate RPM's or is there a way of specifying the earlier version when using yum?

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Craig
    Craig
    Offline
    Friday, July 29 2011, 01:59 AM - #Permalink
    Resolved
    0 votes
    Tim Burgess wrote:
    Craig, i've just uploaded another build which should hopefully fix the upgrade issue. I spotted a bug to do with upgrading libvmime... if you wait an hour or so then the 7.0.0-4 should be available. Don't forget to restart both webconfig and httpd after upgrading.

    Andy, no I don't have access to a copy of Office 2010....
    You can remove Zarafa with the following then install as per the other thread. Note I don't believe you can't revert a mail database from 7.0 backwards to 6.40.x
    yum remove php-mapi libvmime libmapi zarafa zarafa-webaccess


    Thanks Tim! I'll wait until later this evening or perhaps Friday evening when I'll have more time.

    Cheers,

    - Craig
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2011, 02:59 PM - #Permalink
    Resolved
    0 votes
    Tim,

    I had a perfectly functional 6.40.8 and then followed the upgrade path on this thread.

    Now I get this when I try accessing the webaccess page:

    Not Found: PHP mapi extension not found
    If you have upgraded zarafa, please restart Apache
    Zarafa WebAccess can't start because of incompatible configuration.

    Please correct above errors, a good start is by checking your '/usr/webconfig/etc/php.ini' file.

    Or if you wish, you can disable this config check by editing the file '/usr/share/zarafa-webaccess/config.php', but this is not recommend.


    I am at the end of my tether now... :-)

    Can I do anything to help you to help me before I dump this VM and try again.

    Here is the output after the upgrade:

    [root@dc1 ~]# rpm -qa | grep zarafa
    zarafa-gateway-7.0.0-4.clearos
    zarafa-spooler-7.0.0-4.clearos
    zarafa-webaccess-7.0.0-4.clearos
    app-zarafa-5.2-2
    zarafa-monitor-7.0.0-4.clearos
    zarafa-ical-7.0.0-4.clearos
    zarafa-dagent-7.0.0-4.clearos
    zarafa-client-7.0.0-4.clearos
    zarafa-licensed-7.0.0-27791
    zarafa-common-7.0.0-4.clearos
    zarafa-server-7.0.0-4.clearos
    zarafa-utils-7.0.0-4.clearos
    zarafa-7.0.0-4.clearos


    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2011, 03:12 PM - #Permalink
    Resolved
    0 votes
    Hmm, can you try the following:-
    yum --enablerepo=timb-testing install libvmime php-mapi libmapi
    # these may already be installed
    ldconfig
    service webconfig restart
    service httpd restart
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2011, 03:20 PM - #Permalink
    Resolved
    0 votes
    Wow - what a quick response Tim. It's this level of support that keep me going with this system.

    I found this on another post and did it - it worked - so not sure what happened before. The error message is gone and I can get back into the webaccess page and all services are showing started correctly on the webconfig.

    yum remove libvmime php-mapi libmapi
    yum --enablerepo=timb-testing remove zarafa zarafa-webaccess zarafa-license

    re-installed only:
    yum --enablerepo=timb-testing install zarafa zarafa-webaccess
    yum --enablerepo=timb install app-zarafa

    restarted:
    service webconfig restart
    service httpd restart

    Now I'm going to try one more time with Outlook 2010 to see if I can get it to connect to the license server on an upgraded system that worked with Outlook before I brought it to version 7.

    Thanks,

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2011, 03:28 PM - #Permalink
    Resolved
    0 votes
    There is an annoying quirk with the libvmime / php-mapi upgrade that needs ironing out!

    Make sure you use the latest version of zarafaclient.msi from
    http://download.clearfoundation.com/community/timb80/zarafa/win32/

    Let us know :)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2011, 03:38 PM - #Permalink
    Resolved
    0 votes
    OK - that worked fine.
    Outlook 2010 does connect to the upgraded system.

    I can't get it to connect to the clean build with Version 7 though so I am going to build a new system and try that again from scratch now that I know I have the 6.40.8 to 7.0 working. It surely must be something simple and working on Virtual Machines is making this less stressful :-)

    I now have a benchmark to compare against.

    Thanks Tim.

    Andy
    The reply is currently minimized Show
  • Accepted Answer

    Tom Seeger
    Tom Seeger
    Offline
    Monday, August 01 2011, 07:51 PM - #Permalink
    Resolved
    0 votes
    Hi,

    which changes are required to install the zarafa7.0.1beta on clearos? I guess that I can not install the RHEL tar.gz they provide on the zarafa page....

    Background:
    I have the server on the 7.0.0.x dying after transferring some GB of mails via imapsync. I allways see in the Zarafa log:
    Mon Aug 1 21:42:15 2011: Caught SIGABRT (6), out of memory or unhandled exception, traceback:...
    Mon Aug 1 21:42:15 2011: 0x000000080e5c02 /usr/bin/zarafa-server(_Z7sigsegvi+0x92) [0x80e5c02]...
    Mon Aug 1 21:42:15 2011: 0x00000000c13420 [0xc13420]...
    Mon Aug 1 21:42:15 2011: 0x00000000c13402 [0xc13402]...
    Mon Aug 1 21:42:15 2011: 0x00000007cf5df0 /lib/libc.so.6(gsignal+0x50) [0x7cf5df0]...
    Mon Aug 1 21:42:15 2011: 0x00000007cf7701 /lib/libc.so.6(abort+0x101) [0x7cf7701]...
    Mon Aug 1 21:42:15 2011: 0x00000007cef26b /lib/libc.so.6(__assert_fail+0xfb) [0x7cef26b]...
    Mon Aug 1 21:42:15 2011: 0x00000008250efb /usr/bin/zarafa-server(_Z16ResetFolderCountP9ECSessionj+0x196b) [0x8250efb]...
    Mon Aug 1 21:42:15 2011: 0x000000081173b8 /usr/bin/zarafa-server(_Z14ns__loadObjectP4soapy17xsd__base64BinaryP15notifyS...
    Mon Aug 1 21:42:15 2011: 0x00000008351761 /usr/bin/zarafa-server(_Z25soap_serve_ns__loadObjectP4soap+0xe1) [0x8351761]...
    Mon Aug 1 21:42:15 2011: 0x000000083534de /usr/bin/zarafa-server(_Z18soap_serve_requestP4soap+0x20e) [0x83534de]...
    Mon Aug 1 21:42:15 2011: 0x000000080f3527 /usr/bin/zarafa-server(_ZN14ECWorkerThread4WorkEPv+0x3a7) [0x80f3527]...
    Mon Aug 1 21:42:15 2011: 0x0000000037b832 /lib/libpthread.so.0 [0x37b832]...
    Mon Aug 1 21:42:15 2011: 0x00000007d9f45e /lib/libc.so.6(clone+0x5e) [0x7d9f45e]...

    in my logs. After a old post on the Zarafa site this should be fixed with 7.0.1 ...


    I first had installed 7.0.0 from Tim's repo, then tried to upgrade to 7.0.0.4 which first gave me a error with the licensed needing the server,... . However after uninstalling the licensed I was able to upgrade to 7.0.0.4, however there was no improvement for my problem.

    Tom
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Wednesday, August 03 2011, 01:24 AM - #Permalink
    Resolved
    0 votes
    I don't know if its because I abused my install of Clear, though I ended up having to make some changes by hand, and thought I would let anyone else know; incase they have the same issues.

    I am on Clear 5.2, and did not have Zarafa installed. After I used Tim's repo (Thanks Tim!) I starting having issues.

    1) Service Wont start / web console missing Check Line 111

    nano /etc/zarafa/server.cfg
    yum --enablerepo=timb install app-zarafa
    service zarafa-server start
    service webconfig restart



    2) "unknown mapi error mapi_e_not_found" errors in webaccess

    zarafa-admin -s
    zarafa-admin --create-store <username>


    This was done after a CLEAN install of Zarafa, though I had a populated LDAP directory. The zarafa-admin -s syncs the users and groups with an external source. When I ran it, it created my default srtore. --create-user doen't need an explination :woohoo:

    Someone with better working knowledge might have a better solution, but I am just throwing out what I have found.

    Cheers!

    - Robert
    The reply is currently minimized Show
  • Accepted Answer

    Tom Seeger
    Tom Seeger
    Offline
    Wednesday, August 03 2011, 06:51 AM - #Permalink
    Resolved
    0 votes
    Hi Robert,

    I did not have these problem when first installing Zarafa (which was also a clean install). My first try was to Install a wewer version of Horde where I ended up with a Situation that I would have had to compile PHP by myself as thenewer versions in Tim's repo lack one option. Then I rolled back to a previous stage and tried Zarafa.

    All users that I configured in the ClearOS Webadmin have all been reckoned by Zarafa, I had no need running any Zarafa scripts manually.. I did not have any Webadmin problems either. However the Zarafa I had first installed was probably not the latest that is found now in Tim's repo

    Tom
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 05 2011, 10:10 PM - #Permalink
    Resolved
    0 votes
    I've just returned from holiday so will have a look at your problems when I get a moment. Thanks for the feedback

    You should not need to use the zarafa-admin commands to sync users or stores unless you have made custom changes the LDAP structure? Zarafa when configured through the webconfig using 'app-zarafa' will setup the LDAP config and mysql backend so that the stores can be created on login
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 07 2011, 06:33 PM - #Permalink
    Resolved
    0 votes
    Tim,

    I''m getting the following error when i try to translate the folder names, using the script from zarafa wiki.

    ./foldernames.php ed

    PHP Fatal error: Call to undefined function mapi_make_scode() in /usr/share/php/mapi/mapicode.php on line 74


    What could this be..
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, August 07 2011, 08:45 PM - #Permalink
    Resolved
    0 votes
    Hi Patrick, I can only speculate that the scipt requires php-mapi support in the default webserver. This has been moved to the webconfig apache webserver, so you'll need to run it using the other version of PHP. Something like:-

    /usr/webconfig/bin/php foldernames.php ed
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 08 2011, 07:22 AM - #Permalink
    Resolved
    0 votes
    Worked. Thanks Tim.

    Is the webaccess-mobile packages available ?
    The reply is currently minimized Show
  • Accepted Answer

    Tom Seeger
    Tom Seeger
    Offline
    Tuesday, August 09 2011, 09:10 PM - #Permalink
    Resolved
    0 votes
    Hi Tim,

    did you allready find the time to find out/check what I need to do/keep/modify if I would like to test the Zarafa 7.0.1 beta (My post last week)?

    Tom
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 09 2011, 09:21 PM - #Permalink
    Resolved
    0 votes
    Straight 6.4 to 7.0.0.4 upgrade and it went fairly flawlessly . I only had one little hiccup that I fixed but I'm not sure I fixed correctly.

    Zarafa-gateway wasn't restarting and the server log told me it was because it couldn't find libvmime. I checked /usr/lib and sure enough libvmime.so.0 was linked to libvmime.so.0.0.7 which didn't exist. however libvmime.so.0.0.0 did so I linke that one instead and the gateway started right up along with spooler and delivery agent (the other servers had already started)I checked my upgrade and it looks like like ibvmime wasn't actaully updated. so I retried

    yum --enablerepo=timb-testing upgrade libvmime



    and I got back

    Could not find update match for libvmime


    I saw some references to libvmime in the beginning of the thread but they didn't seem to be the same.

    Did I miss something? Will I be breaking something by using the libvmime.so.0.0.0 ?

    Thanks for any guidance

    Mr Johnathan Bravo.

    P.S. kudos and much thanks to Tim for this package and all the work done to keep it current. The 7.0 is significantly faster and appreciated.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, August 09 2011, 10:29 PM - #Permalink
    Resolved
    0 votes
    Hi Patrick, for some reason webaccess-mobile is not built as part of the Fedora SRPM - the preference is for Z-push.
    https://bugzilla.redhat.com/show_bug.cgi?id=498197

    Hi Tom, I am rebuilding direct from the Fedora SRPMs and there isn't one for 7.0.1beta2. They are hopefully pushing the beta2 to final release next week at which time I will probably move Zarafa7.0.0 to stable, and run a build for 7.0.1

    Hi Prodigy, thanks for the feedback!...I think the fix would have been to simply run 'ldconfig' manually after upgrading to create the right library links. I'll add this step to the upgrade steps. You have correctly linked the library to the right version so no problems - you can also run ldconfig if you wish and it should do the same
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 11 2011, 07:05 PM - #Permalink
    Resolved
    0 votes
    That's a shame. This is for me the only (free) option to read my e-mail on my BB.
    The reply is currently minimized Show
  • Accepted Answer

    Alex
    Alex
    Offline
    Sunday, August 14 2011, 09:04 PM - #Permalink
    Resolved
    0 votes
    Tim,

    Thank you so much! Earlier today, I completed an install of Zarafa 7 using your howto on a fresh install of ClearOS 5.2 and the installation was flawless. I can't thank you enough. I don't drink beer but I'll be happy to buy you one if I ever see you.

    Thank you very much.

    Alex
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 15 2011, 12:47 PM - #Permalink
    Resolved
    0 votes
    Thanks Alex :) I like a good success story

    7.0.1 will be available shortly in the timb-testing repo with some fixes!
    http://download.zarafa.com/community/final/7.0/final-changelog-7.0.txt

    Documentation
    http://doc.zarafa.com/7.0/Administrator_Manual/en-US/html-single/index.html
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 19 2011, 09:08 PM - #Permalink
    Resolved
    0 votes
    Dear Tim

    We have installed Zarafa on our 2 ClearOS servers - one for students (around 350 users) and one for staff with an 80 user license, purchased from Zarafa. This seem to be going well and people are pleased with the product.

    We have also successfully upgraded to your 7.0.1 version and all is working well. We transferred from OpenXchange, primarily so that we could combine ClearOS with mail, however there are a number of differences, - but the main two (so far) are as follows:

    1. -Main problem is email address – this is really a clearos problem it seems. The default email address is username@domain. In our case this is a staff or student number (i.e s12345@wittenborg.eu) which is very inconvenient. We have tried changing it in ldap, but this cause mail delivery problems. In the web interface people have to each time manually choose an email address as sender. In outlook we have had to create “false” pop accounts to be used as sender. In outlook 2007 it is also not possible to select the pop account as a default account (Zarafa account then stops functioning) , so people still have to remember to “choose send account”.

    2. -Vacation / Out of Office are not well developed in Zarafa – there is no way to make it respond to anything except for the “default email” recipient, which in our case is the user name ( -a number). The only way to make it work is to enable the Vacation Email to respond to everyone, which has caused problems, such as a vacation notice going to info requests from a website form, sent to an alias.

    I don’t know if you have any influence on development choices on the next ClearOS, but the ability to change a user’s default email address from the username (s-number@) to something like peter.birdsall@ would be extremely useful :-)

    I will forward this post to someone at Zarafa so that they can look at the Vacation Message comments, but maybe they can also do something to allow the default sendas address to be set …?

    Anyway, I thought it important to share our thoughts, but also would like to say that as a seasoned user of CC /C-OS , we are still very pleased with the product and we are looking forward to your excellent work with the Zarafa module being included in the future release.

    Kind regards

    Peter Birdsall
    Wittenborg Business School, the Netherlands
    The reply is currently minimized Show
Your Reply