Problem installing ...
 
Notifications
Clear all

Problem installing on Ubuntu 20.04

10 Posts
4 Users
0 Reactions
1,510 Views
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

I try to install the version 9 and get some problems.
My installl was done on a "fresh" Ubuntu server 20.04.6 with a fixed IP address.
Postgresql-12 installed and working with no problem.

After that I install zcs version 9 with "./install.sh"
1) At the end of the install process.
Message : Installing mailboxd SSL certificates...failed.
I don't know if the install was complete ...

2) When I try to launch the mail system (First time).
Messages :
oct. 02 16:57:22 mail-new zimbra[41000]: Starting ldap...Done.
oct. 02 16:57:22 mail-new zimbra[41000]: Failed.
oct. 02 16:57:22 mail-new zimbra[41000]: ldap_url and ldap_master_url cannot be the same on an ldap replica
I try to "nullify" the ldap_master_url with :
zmlocalconfig -e ldap_master_url=''

3) I try to launch the mail system (Second time) :
systemctl start zimbra
Error message --> journalctl -xe
-- An ExecStart= process belonging to unit zimbra.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
oct. 02 20:33:15 mail-new systemd[1]: zimbra.service: Failed with result 'exit->
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit zimbra.service has entered the 'failed' state with result 'exit-code'
oct. 02 20:33:15 mail-new systemd[1]: Failed to start LSB: Zimbra mail service.
-- Subject: L'unité (unit) zimbra.service a échoué

I get no usable information as usual with systemd.

While getting in "syslog" I find the following messages :

zimbra[3485]: Failed.
zimbra[3485]: Failed to start slapd. Attempting debug start to determine error.
zimbra[3485]: TLS: error:80000002:system library::No such file or directory crypto/bio/bss_file.c:297
zimbra[3485]: TLS: error:10080002:BIO routines::system lib crypto/bio/bss_file.c:300
zimbra[3485]: TLS: error:0A080002:SSL routines::system lib ssl/ssl_rsa.c:291
zimbra[3485]: 651b3982 main: TLS init def ctx failed: -1

What can I do to solve that problem ?

Regards

JP P


   
Quote
(@stefanodavid)
Joined: 3 years ago
Posts: 227

   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

I look at the solution, I found that the variable " ldap_bind_url" was null and set it to "ldap://127.0.0.1:389", but

when I try to start ldap (as stated in the doc) I get the same ldap messages :

Failed to start slapd. Attempting debug start to determine error.
TLS: error:80000002:system library::No such file or directory crypto/bio/bss_file.c:297
TLS: error:10080002:BIO routines::system lib crypto/bio/bss_file.c:300
TLS: error:0A080002:SSL routines::system lib ssl/ssl_rsa.c:291
651e8f43 main: TLS init def ctx failed: -1

Is it a problem with an SSL library ?

Regards

 

JP P


   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Or a problem with the message : Installing mailboxd SSL certificates...failed.

during install ...


   
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@jppo

Hi,

Sorry to hear about your trouble.

This post can give you insights into your issue:

https://community.zextras.com/forum/postid/5449/

Thanks and regards,

Sharif


   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

 

I try it and I get new error messages : slapd is not authorized tio use localhost:389 :

Oct 9 12:53:00 mail-new zimbra[2442]: Failed to start slapd. Attempting debug start to determine error.
Oct 9 12:53:00 mail-new zimbra[2442]: 6523db8c daemon: bind(7) failed errno=13 (Permission denied)
Oct 9 12:53:00 mail-new zimbra[2442]: 6523db8c slap_open_listener: failed on ldap://127.0.0.1:389

And in /var/log/zimbra.log" :

Oct 9 12:47:42 mail-new slapd[1525]: connections_destroy: nothing to destroy.
Oct 9 12:47:43 mail-new slapd[1535]: @(#) $OpenLDAP: slapd 2.4.59 (Jun 12 2023 05:12:55) $#012#011openldap
Oct 9 12:47:43 mail-new slapd[1535]: daemon: bind(7) failed errno=13 (Permission denied)
Oct 9 12:47:43 mail-new slapd[1535]: slapd stopped.
Oct 9 12:47:43 mail-new slapd[1535]: connections_destroy: nothing to destroy.

It is like if the slapd process was launched with a "non root" user which doesn't have rights to use ports below 1024 ?

Regards

JP P


   
ReplyQuote
(@anahuac)
Joined: 2 years ago
Posts: 328
 

Try to run the fixperms script:

 /opt/zextras/libexec/zmfixperms

   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

I try (as root) : /opt/zimbra/libexec/zmfixperms

with no avail .....

 

Regards

 

JP P


   
ReplyQuote
(@anahuac)
Joined: 2 years ago
Posts: 328
 

@jppo It's not zimbra, but zextras....

 /opt/zextras/libexec/zmfixperms

 

Telegram: https://t.me/CarbonioMail

 

 


   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

I was trying to install Zimbra version 9 from Zextras ... it does not work, so I will try Carbonio CE.

Thanks for all advices

 

Regards

JP P


   
ReplyQuote