Author Topic: Before update with 3.2 version on 3.3 zentyal, zarafa not working  (Read 9196 times)

vadim

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Please help me! Before update with 3.2 version on 3.3 zentyal, zarafa not working.
In browser error:
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 '/etc/php5/apache2/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.
my log error:
Unable to load dynamic library '/usr/lib/php5/20090626/mapi.so' - /usr/lib/libicalmapi.so.1: udefined symbol: _ZTIN7details18iconv_context_baseE in Unknown on line 0

I have not backup, but on my mailserver very many posts(mails) (((

haychis

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #1 on: December 19, 2013, 04:17:51 am »
I have the same problem. I upgraded from 3.2 to 3.3 and getting the exact same error. I tried disabling the mapi extension in /etc/php5/apache2/conf.d/zarafa.ini but still gives the error. I want to change over my mail server to my zentyal server, but cannot get past this. Been googling for hours! Similar errors on the net advise that it a compilation fault in mapi.so. How do we fix ?

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #2 on: December 19, 2013, 04:40:57 am »
Neither of you mention whether or not you took the advice given in the error.  Did you restart the apache server? Reboot? 

haychis

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #3 on: December 19, 2013, 04:46:53 am »
Restarted apache, zentyal and even computer. Still same error.

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #4 on: December 19, 2013, 04:53:03 am »
The error could mean that there is a kernel version mismatch,  could you run

Code: [Select]
df -h

in a terminal window and paste the results here please?

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #5 on: December 19, 2013, 05:09:54 am »
I know it seems like an odd request, asking how much free space is on your machine (df -h) but there is a logic to it. 

By default Ubuntu will define a separate /boot directory with its own mount point. 
The default does not make it very big.
The upgrade command triggered in the web gui does not clear out old kernels.
After several upgrades there is no more space left on the /boot partition.

I am looking for that possibility.

haychis

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #6 on: December 19, 2013, 05:14:35 am »
root@zentyal:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/md0        143G  5.9G  130G   5% /
udev            2.0G  4.0K  2.0G   1% /dev
tmpfs           789M  400K  789M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            2.0G  4.0K  2.0G   1% /run/shm

root@zentyal:~# uname -r
3.5.0-44-generic

root@zentyal:~# dpkg -l | grep zentyal
ii  bind9                                1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     Internet Domain Name Server
ii  bind9-host                           1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     Version of 'host' bundled with BIND 9.X
ii  bind9utils                           1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     Utilities for BIND
ii  dnsutils                             1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     Clients provided with BIND
ii  libbind9-80                          1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     BIND9 Shared Library used by BIND
ii  libdns81                             1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     DNS Shared Library used by BIND
ii  libisc83                             1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     ISC Shared Library used by BIND
ii  libisccc80                           1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     Command Channel Library used by BIND
ii  libisccfg82                          1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     Config File Handling Library used by BIND
ii  liblwres80                           1:9.8.1.dfsg.P1-4ubuntu0.7+zentyal1     Lightweight Resolver Library used by BIND
ii  libmapi0                             1:2.0-QUADRANT-385-g1dd55ee-0zentyal0   Client library for the MAPI protocol
ii  libtrycatch-lite-perl                1.003001+zentyal4                       first class try catch semantics for Perl - lite version
ii  roundcube                            0.9.3-zentyal3                          skinnable AJAX based webmail solution for IMAP servers - metapackage
ii  roundcube-core                       0.9.3-zentyal3                          skinnable AJAX based webmail solution for IMAP servers
ii  roundcube-mysql                      0.9.3-zentyal3                          metapackage providing MySQL dependencies for RoundCube
ii  roundcube-plugins                    0.9.3-zentyal3                          skinnable AJAX based webmail solution for IMAP servers - plugins
ii  samba4                               4.1.3-zentyal2                          SMB/CIFS file, NT domain and active directory server (version 4)
ii  zentyal                              3.3                                     Zentyal - Core metapackage
ii  zentyal-antivirus                    3.3                                     Zentyal - Antivirus
ii  zentyal-ca                           3.3                                     Zentyal - Certification Authority
ii  zentyal-common                       3.3                                     Zentyal - Common Library
ii  zentyal-core                         3.3.1                                   Zentyal - Core
ii  zentyal-dhcp                         3.3                                     Zentyal - DHCP Service
ii  zentyal-dns                          3.3                                     Zentyal - DNS Service
ii  zentyal-firewall                     3.3                                     Zentyal - Firewall
ii  zentyal-mail                         3.3                                     Zentyal - Mail Service
ii  zentyal-network                      3.3                                     Zentyal - Network Configuration
ii  zentyal-ntp                          3.3                                     Zentyal - NTP Service
ii  zentyal-objects                      3.3                                     Zentyal - Network Objects
ii  zentyal-services                     3.3                                     Zentyal - Network Services
ii  zentyal-software                     3.3                                     Zentyal - Software Management
ii  zentyal-squid                        3.3                                     Zentyal - HTTP Proxy (Cache and Filter)
ii  zentyal-users                        3.3                                     Zentyal - Users and Computers
ii  zentyal-webmail                      3.3                                     Zentyal - Web Mail Service
ii  zentyal-webserver                    3.3                                     Zentyal - Web Server
ii  zentyal-zarafa                       3.3                                     Zentyal - Groupware (Zarafa)


I did disable webmail like it suggested etc.

haychis

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #7 on: December 19, 2013, 05:15:51 am »
I did read somewhere too of a same error msg but different decription, and they to mentioned /tmp was full and to clear packages etc.. don't think that is issue here though.

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #8 on: December 19, 2013, 05:23:06 am »
Its not.  Your kernel version also matches up.  How about :

Code: [Select]
ls -l /usr/lib/libicalmapi.so.1

Lets see if the info matches what I have here.

haychis

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #9 on: December 19, 2013, 05:28:25 am »
root@zentyal:~# ls -l /usr/lib/libicalmapi.so.1
lrwxrwxrwx 1 root root 20 Sep 28 08:42 /usr/lib/libicalmapi.so.1 -> libicalmapi.so.1.0.0


half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #10 on: December 19, 2013, 05:34:40 am »
That checks out too.   Is the zarafa server running?

Code: [Select]
/etc/init.d/zarafa-server status
BTW I realize that you probably understand and don't need the full explanation on the commands but it helps others when they follow up on the same issue.

haychis

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #11 on: December 19, 2013, 05:42:51 am »
not running now. have disabled it, and re-enabled webmail which i have to edit the stub to connect to my other imap server (which i'm trying to move from).

When it was running and active in modules, it did allow me to edit items in zentyal web, ie imap, secureimap support etc. I even trying disabling all outlook features as a last resort. No effect.

I can't start it again now due to, too many users complaining about their email. But I couldn't find any other info on how to get more details about the error.

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #12 on: December 19, 2013, 05:44:39 am »
I remember where I have seen this now,   is the mysql server running?

haychis

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #13 on: December 19, 2013, 05:47:51 am »
root@zentyal:/usr/lib# service mysql status
mysql start/running, process 1114




half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Before update with 3.2 version on 3.3 zentyal, zarafa not working
« Reply #14 on: December 19, 2013, 05:51:58 am »
Nothing in the mysql.error log about a crashed table?  If not,  I am afraid I am at a loss.    Maybe apt-get purge zentyal-zarafa followed by a re-install on the command line?