Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: hakunamatata on December 20, 2013, 06:19:54 pm
-
The webpage /webapp and /webaccess states: "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."
No clues in "/var/log/zarafa/server.log
I'still searching. Any help or solutions are appreciated! :'(
-
I had the same issue. I logged into the terminal and ran "sudo apt-get -f install" and it fixed the issue.
-
Hi Keegan,
Thanks for your reply.
I've tried the "sudo apt-get -f install" in the terminal but it didn't work. The problem stil exist.
Looks like some Zarafa files are lost or overwritten by the Rouncube update.
I'll continue searching.
I'll keep you informed!
Stay in touch!
-
Same issue after upgrade. I get this message calling 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.
-
Nothing found in the /var/log/zarafa/... logfiles.
The Zarafa directories in /usr/shar/zarafa/... look good.
The mapi configuration is available in /etc/php5/apache2/conf.d/zarafa.ini
Any one of the Zentyal-Zarafa Guru's outhere has a clue?
A hint that can guide into the good direction?
I'll check out the Apache acces.log, and error.log /var/log/apache2/...
The error.log states:
"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"
-
I just verify every thing and can't find anything thats help to resolve.
-
I had the web mail module installed initially, but deleted it when I could not get the filter rules that I wanted. Zarafa does have the forwarding rule that I want. I also ran "sudo apt-get autoremove" which removed roundcube and "sudo apt-get install php5-mapi" but it was already the latest version.
I just installed the web mail module again which brought back this error.
-
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 :(
-
One2Black you need to enable the webmail module before you can use Zarafa Groupware. The mail coming in from the mailserver is being mapped via the virtual domain to the groupware app.
-
Nothing helps at all :( I do a fresh zentyal installation :-\
-
Uff... now everything is setup :) :) I just have only one issue. Pleas help because I have try several things without success. My problem zentyal (Version 3.3.2) don't like to use modified stubs at all. They are just ignored. The subs are stored in /etc/zentyal/stubs
one2balck@zeus:/etc/zentyal/stubs$ ls -la
total 24
drwxr-xr-x 6 root root 4096 Dec 22 20:00 ./
drwxr-xr-x 6 root root 4096 Dec 22 19:59 ../
drwxr-x--- 2 root root 4096 Dec 22 20:00 mail/
drwxr-x--- 2 root root 4096 Dec 22 20:00 samba/
drwxr-x--- 2 root root 4096 Dec 22 20:00 webserver/
drwxr-x--- 2 root root 4096 Dec 22 20:44 zarafa/
Alle individual settings stored in stubs e.g. mail, samba, etc. are just ignored by the server. Does somebody had the same issue? any suggestions?
-
Gentleman's :) I will answer myself in this case ;D Maybe it's can help somebody in the future.
Access rights to the folders and files must be 755 ;) ;)
drwxr-xr-x 2 root root 4096 Dec 22 20:00 mail/
drwxr-xr-x 2 root root 4096 Dec 22 20:00 samba/
drwxr-xr-x 2 root root 4096 Dec 22 20:00 webserver/
drwxr-xr-x 2 root root 4096 Dec 22 20:44 zarafa/
-
Same Problem here:
PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mapi.so' - /usr/lib/libicalmapi.so.1: undefined symbol: _ZTIN7details18iconv_context_baseE
I've tryed all versions of "php5-mapi" and "zarafa-libs", which contains "ibicalmapi", from archive.zentyal. Ever the Same Problem.
root@jupiter:~# dpkg -s php5-mapi
Package: php5-mapi
Status: install ok installed
Priority: optional
Section: php
Installed-Size: 896
Maintainer: John van der Kamp <j.vdkamp@zarafa.com>
Architecture: amd64
Source: zarafa
Version: 7.1.7-42779
Replaces: zarafa (<< 7.0)
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.6), zarafa-client (= 7.1.7-42779), zarafa-libs (= 7.1.7-42779), phpapi-20090626, libapache2-mod-php5 | php5-cgi | php5-cli
Conflicts: zarafa (<< 7.0)
Conffiles:
/etc/php5/apache2/conf.d/zarafa.ini 0c0c8ea4a196629043e589366164482f
Description: PHP MAPI bindings
Using this module, you can create PHP programs which use MAPI
calls to interact with Zarafa.
root@jupiter:~# dpkg -s zarafa-libs
Package: zarafa-libs
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 939
Maintainer: John van der Kamp <j.vdkamp@zarafa.com>
Architecture: amd64
Source: zarafa
Version: 7.1.7-42779
Replaces: zarafa (<< 7.0)
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libical0 (>= 0.44), libstdc++6 (>= 4.6), libvmime0 (>= 0.9.2), zarafa-client, libvmime0 (<< 1.0)
Conflicts: zarafa (<< 7.0)
Description: Conversion libraries between Open Standards and MAPI
Commonly used libraries by Zarafa Collaboration Platform client
programs.
root@jupiter:~# dpkg -l | grep zentyal
ii bind9 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 Internet Domain Name Server
ii bind9-host 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 Version of 'host' bundled with BIND 9.X
ii bind9utils 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 Utilities for BIND
ii dnsutils 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 Clients provided with BIND
ii language-pack-zentyal-de 3.3 Zentyal translations for language German
ii libbind9-80 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 BIND9 Shared Library used by BIND
ii libdns81 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 DNS Shared Library used by BIND
ii libisc83 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 ISC Shared Library used by BIND
ii libisccc80 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 Command Channel Library used by BIND
ii libisccfg82 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 Config File Handling Library used by BIND
ii liblwres80 1:9.8.1.dfsg.P1+zentyal52~ubuntu12.04.1 Lightweight Resolver Library used by BIND
ii libmapi0 1:2.0-QUADRANT-385-g1dd55ee-0zentyal0 Client library for the MAPI protocol
rc libmapiproxy0 1:2.0-QUADRANT-385-g1dd55ee-0zentyal0 Proxy library for the MAPI (Exchange/Outlook) protocol
rc libmapistore0 1:2.0-QUADRANT-385-g1dd55ee-0zentyal0 Storage library for MAPI objects
rc libocpf0 1:2.0-QUADRANT-385-g1dd55ee-0zentyal0 Scripting library for the MAPI protocol
rc libsbjson2.3 4.9-zentyal2 High performance Objective-C JSON library
rc libsope-appserver4.9 4.9-zentyal2 SOPE application server libraries
rc libsope-core4.9 4.9-zentyal2 Core libraries of the SOPE application server
rc libsope-gdl1-4.9 4.9-zentyal2 GNUstep database libraries for SOPE
rc libsope-ldap4.9 4.9-zentyal2 SOPE libraries for LDAP access
rc libsope-mime4.9 4.9-zentyal2 SOPE libraries for MIME processing
rc libsope-xml4.9 4.9-zentyal2 SOPE libraries for XML processing
ii libtrycatch-lite-perl 1.003001+zentyal4 first class try catch semantics for Perl - lite version
rc openchange-ocsmanager 1:2.0-QUADRANT-385-g1dd55ee-0zentyal0 Working instance of python-ocsmanager
rc openchangeserver 1:2.0-QUADRANT-385-g1dd55ee-0zentyal0 Experimental MAPI (Exchange/Outlook) server
pi 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 roundcube-sqlite3 0.9.3-zentyal3 metapackage providing SQLite dependencies for RoundCube
ii samba4 4.1.3-zentyal2 SMB/CIFS file, NT domain and active directory server (version 4)
rc sogo 2.1.2-zentyal1 a modern and scalable groupware
rc sogo-openchange 2.1.2-zentyal1 a modern and scalable groupware - OpenChange backend
ii zentyal 3.3 Zentyal - Core metapackage
ii zentyal-bwmonitor 3.3 Zentyal - Bandwidth Monitor
ii zentyal-ca 3.3 Zentyal - Certification Authority
ii zentyal-common 3.3 Zentyal - Common Library
ii zentyal-core 3.3.2 Zentyal - Core
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-monitor 3.3 Zentyal - Monitor
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-samba 3.3 Zentyal - File Sharing and Domain Services
ii zentyal-services 3.3 Zentyal - Network Services
ii zentyal-software 3.3 Zentyal - Software Management
ii zentyal-usercorner 3.3 Zentyal - User Corner
ii zentyal-users 3.3 Zentyal - Users and Computers
ii zentyal-webserver 3.3 Zentyal - Web Server
ii zentyal-zarafa 3.3 Zentyal - Groupware (Zarafa)
Some new ideas?
Greetings
Patrick
-
ensure that openchange module is uninstalled, it cannot co-exist with zarafa in my experience
#sudo apt-get autoremove
#sudo apt-get --reinstall install [zentyal-zarafa and then zarafa-dagent]
#sudo apt-get --reinstall install zarfa-webapp
#sudo service apache2 reload
This should replace and make functional the require libmapi and libcal components that you require. Please let me know if it helped!
-
also,
why would you want to use roundcube when zarafa already has an awesome webapp, i would remove roundcube also!
thanks
-
also,
why would you want to use roundcube when zarafa already has an awesome webapp, i would remove roundcube also!
thanks
I can think of that there might be multiple maildomains active. Zentyal Zarafa implementation only supports 1 maildomain.
-
Hi,
in my case i couldn't install the WebMail Service and Zarafa at the same time. After i deleted the WebMail the Zarafa Webapp works fine.
-
ensure that openchange module is uninstalled, it cannot co-exist with zarafa in my experience
#sudo apt-get autoremove
#sudo apt-get --reinstall install [zentyal-zarafa and then zarafa-dagent]
#sudo apt-get --reinstall install zarfa-webapp
#sudo service apache2 reload
This should replace and make functional the require libmapi and libcal components that you require. Please let me know if it helped!
Have the same problem.
Chaos, your suggestion did not help me, sorry.
And ticket http://trac.zentyal.org/ticket/7894 closed now. But still there is no fix, as I think.
I've also tried to remove WebMail as tarzipan did, but WebApp still does not work.
What should I do?
-
Hi All,
I had the same issue .. "sudo apt-get autoremove " worked for me.. Apache was reloaded automatically... Zarafa is working fine now...
Thanks for the above posts :)
-
Yesterday I do update SOGO and SAMBA. After that I got this Error back:
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.
I already tried every suggestion listed in this thread without any luck.
root@zeus:/home/athir# dpkg -l | grep zentyal
ii bind9 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 Internet Domain Name Server
ii bind9-host 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 Version of 'host' bundled with BIND 9.X
ii bind9utils 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 Utilities for BIND
ii dnsutils 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 Clients provided with BIND
ii duplicity 0.6.19-0ubuntu2-zentyal1 encrypted bandwidth-efficient backup
ii libbind9-80 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 BIND9 Shared Library used by BIND
ii libdns81 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 DNS Shared Library used by BIND
ii libisc83 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 ISC Shared Library used by BIND
ii libisccc80 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 Command Channel Library used by BIND
ii libisccfg82 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 Config File Handling Library used by BIND
ii liblwres80 2:9.8.1.dfsg.P1-4ubuntu0.8+zentyal1 Lightweight Resolver Library used by BIND
ii libmapi0 2:2.0+zentyal6 Client library for the MAPI protocol
ii libmapiproxy0 2:2.0+zentyal6 Proxy library for the MAPI (Exchange/Outlook) protocol
ii libmapistore0 2:2.0+zentyal6 Storage library for MAPI objects
ii libocpf0 2:2.0+zentyal6 Scripting library for the MAPI protocol
ii libsbjson2.3 4.9-zentyal3 High performance Objective-C JSON library
ii libsope-appserver4.9 4.9-zentyal2 SOPE application server libraries
ii libsope-core4.9 4.9-zentyal2 Core libraries of the SOPE application server
ii libsope-gdl1-4.9 4.9-zentyal2 GNUstep database libraries for SOPE
ii libsope-ldap4.9 4.9-zentyal2 SOPE libraries for LDAP access
ii libsope-mime4.9 4.9-zentyal2 SOPE libraries for MIME processing
ii libsope-xml4.9 4.9-zentyal2 SOPE libraries for XML processing
ii libtrycatch-lite-perl 1.003001+zentyal4 first class try catch semantics for Perl - lite version
ii openchange-ocsmanager 2:2.0+zentyal6 Working instance of python-ocsmanager
ii openchangeproxy 2:2.0+zentyal6 Experimental MAPI (Exchange/Outlook) proxy
ii openchangeserver 2:2.0+zentyal6 Experimental MAPI (Exchange/Outlook) server
ii python-mapistore 2:2.0+zentyal6 Python bindings for the mapistore library
ii python-ocsmanager 2:2.0+zentyal6 Python library providing various web services for OpenChange
ii python-rpclib 2.8.0-rc-1~inverse+zentyal2 Python library for writing and calling soap web service
ii python-spyne 2.9.3-1~inverse+zentyal2 Python library for writing and calling soap web service
ii samba4 4.1.4-zentyal2 SMB/CIFS file, NT domain and active directory server (version 4)
ii sogo 2.1.2-zentyal2~17 a modern and scalable groupware
ii sogo-openchange 2.1.2-zentyal2~17 a modern and scalable groupware - OpenChange backend
ii sope4.9-gdl1-mysql 4.9-zentyal2 MySQL connector for SOPE's fork of the GNUstep database environment
ii sope4.9-libxmlsaxdriver 4.9-zentyal2 XML Parser for SOPE's SAX engine
ii zentyal 3.4~1 Zentyal - Core metapackage
ii zentyal-antivirus 3.3 Zentyal - Antivirus
ii zentyal-bwmonitor 3.3.1 Zentyal - Bandwidth Monitor
ii zentyal-ca 3.3 Zentyal - Certification Authority
ii zentyal-common 3.3.1 Zentyal - Common Library
ii zentyal-core 3.3.4 Zentyal - Core
ii zentyal-dhcp 3.3 Zentyal - DHCP Service
ii zentyal-dns 3.3 Zentyal - DNS Service
ii zentyal-ebackup 3.3.1 Zentyal - Backup
ii zentyal-firewall 3.3.1 Zentyal - Firewall
ii zentyal-ips 3.3 Zentyal - Intrusion Prevention System
ii zentyal-jabber 3.3 Zentyal - Jabber (Instant Messaging)
ii zentyal-l7-protocols 3.3 Zentyal - Layer-7 Filter
ii zentyal-mail 3.3.1 Zentyal - Mail Service
ii zentyal-mailfilter 3.3.1 Zentyal - Mail Filter
ii zentyal-monitor 3.3 Zentyal - Monitor
ii zentyal-network 3.3 Zentyal - Network Configuration
ii zentyal-ntp 3.3 Zentyal - NTP Service
ii zentyal-objects 3.3.1 Zentyal - Network Objects
ii zentyal-openchange 3.3.2 Zentyal - OpenChange Server
ii zentyal-openvpn 3.3 Zentyal - VPN Service
ii zentyal-printers 3.3 Zentyal - Printer Sharing Service
ii zentyal-remoteservices 3.3.1 Zentyal - Cloud Client
ii zentyal-samba 3.3.3 Zentyal - File Sharing and Domain Services
ii zentyal-services 3.3 Zentyal - Network Services
ii zentyal-software 3.3.1 Zentyal - Software Management
ii zentyal-trafficshaping 3.3 Zentyal - Traffic Shaping
ii zentyal-usercorner 3.3 Zentyal - User Corner
ii zentyal-users 3.3.2 Zentyal - Users and Computers
ii zentyal-webserver 3.3 Zentyal - Web Server
ii zentyal-zarafa 3.3 Zentyal - Groupware (Zarafa)
Autoremove and reinstall zarafa don't help at all.
#sudo apt-get autoremove
#sudo apt-get --reinstall install [zentyal-zarafa and then zarafa-dagent]
#sudo apt-get --reinstall install zarfa-webapp
#sudo service apache2 reload
Any idea on this issue which happen again and again to me?
-
bump!
-
Chaos, I had the same issue. OpenChange installed alongside Zarafa and just following your steps (aditional "sudo apt-get remove zentyal-openchange") solved it for me :) thanks!
-
Can we not use APT pinning?
Surely if the Zarafa module is installed then /etc/apt/preferences must be edited to stop Openchange bringing in dependencies.
I am not saying we should but often New releases of Zentyal often seem to affect older versions and it shouldn't.
-
Bump!
Any solutions for this? It just started with my setup last week and everything i have tried just isn't working.
-
After messing around with it a bit i did finally get it to start to run.....now however i'm running into the original issue of it not sending mail.