Author Topic: Zarafa fail after upgrade from version 3.2 to version 3.3  (Read 3155 times)

sorcerer1210

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Zarafa fail after upgrade from version 3.2 to version 3.3
« on: December 30, 2013, 10:59:52 am »
Hi All,

I have upgraded my Zentyal server from version 3.2 to version 3.3 and now Zarafa don't work, I get the error in the attached file in the navigator indicating that PHP extension is not found, can I solve this error? Thanks

Best regards,


UdoB

  • Zen Warrior
  • ***
  • Posts: 148
  • Karma: +17/-0
    • View Profile
Re: Zarafa fail after upgrade from version 3.2 to version 3.3
« Reply #1 on: December 30, 2013, 02:23:44 pm »
I have upgraded my Zentyal server from version 3.2 to version 3.3 and now Zarafa don't work, I get the error in the attached file in the navigator indicating that PHP extension is not found, can I solve this error? Thanks

Though I do not use 3.3 nor Zarafa, what I would do is in a Terminal window:
Code: [Select]
sudo apt-get update && sudo apt-get install php5-mapi 
This should help only if that package is not installed already for any dependency error and no version conflict exists. Restarting apache might be necessary also.
Udo

sorcerer1210

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Zarafa fail after upgrade from version 3.2 to version 3.3
« Reply #2 on: December 30, 2013, 05:31:36 pm »
Hi,

Thanks for your reply but the package is installed and is the more recent version, it must be exists other problem with the package... Thanks again

Best regards,

easterwood

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Zarafa fail after upgrade from version 3.2 to version 3.3
« Reply #3 on: February 25, 2014, 10:33:02 pm »
Hi all,

I run into the same problem. I updated zentyal 3.2 to 3.3 and zarafa isn't available anymore. I found the following error after execute 'php -v'
Code: [Select]
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mapi.so' - /usr/lib/libicalmapi.so.1: undefined symbol: _ZTIN7details18iconv_context_baseE in Unknown on line 0
PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:27:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

Someone else has the same problem but no solution was found so far: http://forum.zentyal.org/index.php/topic,19381.30.html

I tried to use the libicalmapi.so.1.0.0 from the current zarafa community edition 7.1.8-44004 for ubuntu 12.04 but this did not solve the error from above. I also tried the php5-mapi from the same zcp version but no luck
« Last Edit: February 25, 2014, 10:38:08 pm by easterwood »

easterwood

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Zarafa fail after upgrade from version 3.2 to version 3.3
« Reply #4 on: February 28, 2014, 09:54:27 pm »
Hi,

after some endless try and error sessions I found the problem why this error message appears and zarafa webapp wasn't available. It is so simple if you know that libmapi0 is the bad boy in this game.
  • You need to remove this library with sudo apt-get remove libmapi0
  • After you removed libmapi0, reinstall the php5-mapi package: sudo apt-get --reinstall install php5-mapi

Afterwards you can check if php starts correctly: php -v. This should print a similary output like the following.
Code: [Select]
PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:27:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

If this contains the following error message then you need to remove openchange or comment line 2 in /etc/php5/apache2/conf.d/openchange.ini.
Code: [Select]
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/openchange.so' - /usr/lib/php5/20090626/openchange.so: cannot open shared object file: No such file or directory in Unknown on line 0