zimbra-spell doesn'...
 
Notifications
Clear all

zimbra-spell doesn't start

9 Posts
6 Users
2 Reactions
1,373 Views
(@trigg3r)
Joined: 5 years ago
Posts: 26
Topic starter  

After the latest update of Zimbra 9 on Ubuntu 20.04 the zimbra-spell service is no longer able to start (the problem seam to be related to the PHP version).

Can anyone help me solve this problem?

Thank you!


   
yyovchev reacted
Quote
(@trigg3r)
Joined: 5 years ago
Posts: 26
Topic starter  

Sorry, I missed to report the error message fromzmcontrol status: zmapachectl is not running

 

If I run zmapachectl start:

Starting apache...httpd: Syntax error on line 148 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/common/lib/apache2/modules/libphp7.so into server: /opt/zimbra/common/lib/apache2/modules/libphp7.so: cannot open shared object file: No such file or directory
failed.

 

This post was modified 5 months ago 2 times by trigg3r

   
yyovchev reacted
ReplyQuote
(@aspanu89)
Joined: 2 years ago
Posts: 2
 

i have the same problem with an update to zextras to another zextras build

apt-get update

apt-get install php7.2

sudo systemctl disable apache2

reboot

tar -xzvf zcs-9.0.0_OSE_UBUNTU18_latest-zextras.tgz

cd zcs_-9.0.0_ZEXTRAS_20231104.UBUNTU18_64.20231124122956

./install.sh

 

after the install was finished edit this file

vi /opt/zimbra/conf/httpd.conf

modifier la ligne 148 supprimer les chiffres 7 de php_modules et libphp.so

modify the line 148 delete the number 7 to 'php_module' and libphp.so

write the modifications

reboot

to verify if it work the apache2 service do not start before zimbra services

try su - zimbra -c "zmspellctl start" if is done you are OK to continue


   
ReplyQuote
(@yyovchev)
Joined: 4 months ago
Posts: 2
 

I have the same issue. Do you have any news about this case?


   
ReplyQuote
(@yyovchev)
Joined: 4 months ago
Posts: 2
 

My previous post still not approved by moderator. Can you help about this case? Thank you.


   
ReplyQuote
(@sequephonic)
Joined: 1 year ago
Posts: 5
 

Me to same problem with into server: libcrypto.so.1.0.0


   
ReplyQuote
(@garabum)
Joined: 3 months ago
Posts: 1
 

Posted by: @trigg3r

After the latest update of Zimbra 9 on Ubuntu 20.04 the zimbra-spell service is no longer able to start (the problem seam to be related to the PHP version).

Can anyone help me solve this problem?

Thank you!

 

Hello, to answer your question.
I'm using Ubuntu 20.4.3 Zimbra 10 open source:
after installing following the step by step of the Zimbra forum, I came across this same error that you commented.

Solution:
Install PHP7.4:

Install the required version of PHP. for PHP 7.4:

sudo apt install php7.4-cli

Modify the Apache configuration:

Edit the Zimbra Apache configuration file to load the correct PHP module. Change the corresponding line in

nano /opt/zimbra/conf/httpd.conf

originally the line will look like this:
LoadModule php7_module /opt/zimbra/common/lib/apache2/modules/libphp7.so

change to:
LoadModule php_module /opt/zimbra/common/lib/apache2/modules/libphp.so

then Restart Zimbra Services:

sudo su - zimbra
zmcontrol restart

I was successful with these steps. I hope I helped you.

 


   
ReplyQuote
(@spoole)
Joined: 9 years ago
Posts: 2
 

Thanks to garabum for that info. That solved me issue as well. However, upon looking in the /opt/zimbra/common/lib/apache2/modules directory, I saw that the needed library (libphp.so) was already installed. Using APT (or RPM/DNF on RedHat and clones) to install PHP won't put anything in /opt/zimbra/common/lib/apache2/modules, anyway; it'll be installed in the default directory (typically in the /usr/lib/phpX or /usr/lib64/phpX) directory, where "X" is the version number).

This looks like it is/was a simple typo in Zimbra's httpd.conf file. So changing "libphp7.so" to "libphp.so" (i.e, removing the "7") does the trick. All you need to do is edit /opt/zimbra/conf/httpd.conf.

By the way, thanks to ZExtras for building version 9.0! Excellent! This buys me a little time to get Carbonio up and running.

-- Stephen


   
ReplyQuote
(@trigg3r)
Joined: 5 years ago
Posts: 26
Topic starter  

@garabum This works for me. Thanks for posting your solution!


   
ReplyQuote