Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: vadim on December 18, 2013, 03:21:33 pm
-
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) (((
-
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 ?
-
Neither of you mention whether or not you took the advice given in the error. Did you restart the apache server? Reboot?
-
Restarted apache, zentyal and even computer. Still same error.
-
The error could mean that there is a kernel version mismatch, could you run
df -h
in a terminal window and paste the results here please?
-
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.
-
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.
-
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.
-
Its not. Your kernel version also matches up. How about :
ls -l /usr/lib/libicalmapi.so.1
Lets see if the info matches what I have here.
-
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
-
That checks out too. Is the zarafa server running?
/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.
-
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.
-
I remember where I have seen this now, is the mysql server running?
-
root@zentyal:/usr/lib# service mysql status
mysql start/running, process 1114
-
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?
-
When I did disable the extension by editing /etc/php5/apache2/conf.d/zarafa.ini and commenting out extension=mapi.so, I would restart the webserver/zarafa/computer and the message would not appear in /var/log/apache2/error.log. But it still would give me the same msg when trying to access webaccess or webapp page. So prob it's enabled somewhere else aswell. zarafa.ini did not change after a restart. I had to edit and manually enable it again. Then error popped up in error.log when webserver restart.
-
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?
I will try that.
-
Good luck my friend. I will check this thread again when I get up. It is midnight in my part of the world.
-
I couldn't wait so I tried it.
apt-get purge zentyal-zarafa
apt-get autoremove
apt-get install zentyal-zarafa.
Disabled webmail via gui etc
BUT still no luck! same error
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 ,on a webserver restart. I will disable it again.
Thank you half_life for your assistance. Might set up a vm and try from their and see what happens if I get some time.
-
I am afraid this one is for the developers to handle then. Have you created a ticket yet?
-
not yet. Will try to replicate the error in a VM first to see if that may help with further info.
-
I am always curious how people are using virtualization. Are you running your main Zentyal installation under a hypervisor? Care to share which one you are using?
-
I mainly use systems with virtualbox. Most of the time the vm's run great. I have a few vm's in production too. One is my main email server. When I get a computer fast enough I will run 2x vm's on that machine. Very easy to manage/backup/re-deploy vm's etc.
-
Thank you. I have run just about everything under the sun. I haven't tried using virtualbox for production use though. I use it for testing instead. At my former job I ran a HA pair of servers and managed about 20 VM's. My new job (starting in Jan) will be in the 100's of servers and in the 1000's of VMs.
-
I can't even imagine doing that many, nor would I want to !!!!
-
This problem also exists for me.
If you can upgrade. And even if a new install.
-
same problem here. Zarafa dose not work after upgrade from 3.2 to 3.3.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
Any solution?
-
I have another possibility, has anyone ran ldconfig manually?
-
Why is it that some people have the "missing symbol" error while others don't? The error suggests that the library wasn't compiled for the current kernel.
I am reaching way out there with the above suggestion but what if in certain circumstances the ldconfig command was not being called during the install process? Wouldn't the symptom match?
-
I have the same issue. I just look on the system up and down and I can't find any thing. Just found this HTTP 500 warning in apache access.log
"GET /mail/ HTTP/1.1" 500 412 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11"
-
The error only occurs if you have the web mail module installed. If you remove the web mail module in zentyal, and run autoremove on the cli, then zarafa works as it should. There is another post on this same issue for new installs that has not solved it yet.
http://forum.zentyal.org/index.php/topic,19402.new.html#new
-
This does not apply to my case. I had never installed the web-mail modules. Actualy I don't have any possibility to access my email.
Webaccess/Webapp:
Not Found: PHP mapi extension not found
If you have upgraded zarafa, please restart Apache
Zarafa WebApp 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-webapp/config.php', but this is not recommend.
And devices using z-push can't login:
22/12/2013 10:26:34 [10805] [FATAL] [username] FatalMisconfigurationException: PHP-MAPI extension is not available - code: 0
I just don't like to install everything again :(