Fresh installation ...
 
Notifications
Clear all

Fresh installation Carbonio CE on OL8

2 Posts
1 Users
0 Reactions
8 Views
(@pavkamlc)
Joined: 2 weeks ago
Posts: 2
Topic starter  

Hello,

 I follow manual for single server, manual installation for RH8 on my OL8 machine. I tried it on RH8 and the problem is the same with many attempts.

 Everythink seems to be fine until service discover, here I got error about discover token:

[root@mail1 ~]# carbonio-bootstrap
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
| Starting Carbonio Bootstrap... |
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
--------------------------------------------------------------------------------
The system is going to start configuring all the packages.

If you are installing Carbonio CE please refer to every single package license  
and to the Github repo for more informations on open source licenses:  
https://github.com/Zextras

If you are also installing Carbonio please refer to every single package  
license, to the Github repo for more informations on open source licenses:  
https://github.com/Zextras and to the Zextras EULA for the proprietary  
software: https://zextras.com/licenses
--------------------------------------------------------------------------------

Operations logged to /tmp/zmsetup.20241223-215604.log

Bootstrap mode: new install
Installing LDAP configuration database...done.
Setting defaults...

Querying DNS for "A" record of current hostname mail1.pavkamlc.cz...

Querying DNS for "MX" record of pavkamlc.cz...

Querying DNS for "A" record of mail.pavkamlc.cz...      MX: mail.pavkamlc.cz (192.168.88.155)

       Interface: 127.0.0.1
       Interface: ::1
       Interface: 192.168.88.224

Querying DNS for "A" record of mail.pavkamlc.cz...              192.168.88.155

Querying DNS for "A" record of mail.pavkamlc.cz...              192.168.88.155

Querying DNS for "A" record of mail.pavkamlc.cz...              192.168.88.155

DNS ERROR - none of the "MX" records for pavkamlc.cz
resolve to this host
Change domain name? [Yes] No
done.
Checking for port conflicts

Main menu

  1) Common Configuration:                                                   
  2) carbonio-antivirus:                      Enabled                        
  3) carbonio-directory-server:               Enabled                        
  4) carbonio-mta:                            Enabled                        
  5) carbonio-appserver:                      Enabled                        
  6) carbonio-proxy:                          Enabled                        
  s) Save config to file                                                     
  x) Expand menu                                                             
  q) Quit                                     

*** CONFIGURATION COMPLETE - press 'y' to apply configuration
Select from menu, or press 'y' to apply config (? - help) y
Saving config in /opt/zextras/config.27388...done.
Operations logged to /tmp/zmsetup.20241223-215604.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zextras/conf/ca ...done.
Creating SSL carbonio-appserver certificate...done.
Creating new carbonio-directory-server SSL certificate...done.
Creating new carbonio-mta SSL certificate...done.
Creating new carbonio-proxy SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...done.
Installing Proxy SSL certificate...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for mail1.pavkamlc.cz...done.
Setting IP Mode...done.
Saving CA in ldap...done.
Saving SSL Certificate in ldap...done.
Generating dhparam key...done.
Setting service ports on mail1.pavkamlc.cz...done.
Checking current setting of ReverseProxyAvailableLookupTargets
Querying LDAP for other mailstores
Searching LDAP for reverseProxyLookupTargets...done.
Adding mail1.pavkamlc.cz to ReverseProxyAvailableLookupTargets
Updating LDAP Schema version to '1734366715'...done.
Setting TimeZone Preference...done.
Disabling strict server name enforcement on mail1.pavkamlc.cz...done.
Setting Public Service Hostname mail1.pavkamlc.cz...done.
Initializing mta config...done.
Setting services on mail1.pavkamlc.cz...done.
Adding mail1.pavkamlc.cz to MailHostPool in default COS...done.
Creating domain pavkamlc.cz...done.
Setting default domain name...done.
Setting value of postfix myorigin...done.
Creating domain pavkamlc.cz...already exists.
Creating admin account zextras@pavkamlc.cz...done.
Creating root alias...done.
Creating postmaster alias...done.
Setting infrastructure notification sender and recipients accounts...done.
Creating user spam.f_ptuh4g@pavkamlc.cz...done.
Creating user ham.zwffoxjdi@pavkamlc.cz...done.
Creating user virus-quarantine.jmpb3hnz@pavkamlc.cz...done.
Setting spam, training and anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting up syslog.conf...done.
Starting servers...
done.
Creating galsync account for default domain...done.
Setting up zextras crontab...done.

Moving /tmp/zmsetup.20241223-215604.log to /opt/zextras/log

Configuration complete - press return to exit  

[root@mail1 ~]# service-discover setup-wizard
Setup of first service-discover server instance
enp1s0 192.168.88.224/24, fe80::5054:ff:fe3f:98f9/64
Specify the binding address for service discovery: 192.168.88.224/24
Create the cluster credentials password (will be used for setups):  
Type the credential password again:  
[root@mail1 ~]# PGPASSWORD=$DB_ADM_PWD carbonio-files-db-bootstrap \
>   carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Check postgres connection: OK
Error connecting to Consul agent: Error loading token file /etc/carbonio/files-db/service-discover/token : open /etc/carbonio/files-db/service-dis
cover/token: no such file or directory
NOTICE:  empty string is not a valid password, clearing password
CREATE ROLE
CREATE DATABASE
====================================================
carbonio-files-db database initialized successfully!
====================================================
[root@mail1 ~]# PGPASSWORD=$DB_ADM_PWD carbonio-tasks-db-bootstrap \
>   carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Check postgres connection: OK
Error connecting to Consul agent: Error loading token file /etc/carbonio/tasks-db/service-discover/token : open /etc/carbonio/tasks-db/service-dis
cover/token: no such file or directory
NOTICE:  empty string is not a valid password, clearing password
CREATE ROLE
CREATE DATABASE
====================================================
carbonio-tasks-db database initialized successfully!
====================================================
[root@mail1 ~]# PGPASSWORD=$DB_ADM_PWD carbonio-ws-collaboration-db-bootstrap \
>   carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Check postgres connection: OK
Error connecting to Consul agent: Error loading token file /etc/carbonio/ws-collaboration-db/service-discover/token : open /etc/carbonio/ws-collab
oration-db/service-discover/token: no such file or directory
NOTICE:  empty string is not a valid password, clearing password
CREATE ROLE
CREATE DATABASE
====================================================
carbonio-ws-collaboration-db database initialized successfully!
====================================================
[root@mail1 ~]# PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-db-bootstrap \
>   carbonio_adm 127.0.0.1
Database: 127.0.0.1:5432 user carbonio_adm
Check postgres connection: OK
Error connecting to Consul agent: Error loading token file /etc/carbonio/message-dispatcher-db/service-discover/token : open /etc/carbonio/message
-dispatcher-db/service-discover/token: no such file or directory
NOTICE:  empty string is not a valid password, clearing password
CREATE ROLE
CREATE DATABASE
====================================================
carbonio-message-dispatcher-db database initialized successfully!
====================================================
[root@mail1 ~]# PGPASSWORD=$DB_ADM_PWD carbonio-message-dispatcher-migration \
>   carbonio_adm 127.78.0.10 20000
Checking of database schema... Done. The database needs to be updated!
Updating database... Failed!
Cannot run script file '/etc/carbonio/message-dispatcher/sql-scripts/migrations//6.0.0.sql'
[root@mail1 ~]# ls -l /etc/carbonio/message-dispatcher/sql-scripts/migrations//6.0.0.sql

OS is the clean installation and OL8 should be compatible with RH8.

Regards,

 Pavel


   
Quote
(@pavkamlc)
Joined: 2 weeks ago
Posts: 2

   
ReplyQuote