Get hundredth of lo...
 
Notifications
Clear all

Get hundredth of log messages

42 Posts
5 Users
1 Reactions
1,498 Views
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

Hello JP P,

What is your situation in regards to your installation? I am asking because you never said a word if you followed suggestion anyone made. All you did is posting error messages one after the other.

Are you still trying to fix your original installation? The error messages your are posting come from trying to upgrade carbonio CE?

Have you tried a complete new installation? If so, what version of Carbonio and Operating system?

What are the Services Status? From this link:

https://docs.zextras.com/carbonio-ce/html/troubleshooting/services.html#ts-services

 

 


   
ReplyQuote
 jppo
(@jppo)
Trusted Member
Joined: 2 years ago
Posts: 84
Topic starter  

Hello,

Yes I follow some suggestions but with no success ... The last actions were to disable some systemd actions to limit messages ....
I disable the following services :
carbonio-mailbox-admin-sidecar.service
carbonio-files-db-sidecar.service
carbonio-proxy*
carbonio-user-management.service
carbonio-clamav-signature-provider-sidecar.service

The system seems to work without those services as I can read and send mails ... and the logs are 50% smaller.

One common point in many error messages is the port 8500 which is not open, what process does own that port ? It seems to be the main problem.

I am trying to made a new install in a virtual machine (KVM) with Ubuntu 24.04 but it does not work ... the last test shows a problem with service-discover which does not find the file "main.json", will try another time this afternoon.

Regards

JP P


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

Seems you are not good at answering questions.

So, you still try to fix your first installation?

Is that a virtual machine? If, so what is your hypervisor you are using?

Since your installation is broken, as it seems from the beginning, you broke it more and more with who knows what you did. Upgrades that did not work properly along the way and latest disable services you don't want running.

I don't think your installation can be fixed.

Another thing: When you post log messages keep them to a minimum (not a page full of error, which is repeat itself over and over again) and more importantly be exact from which log file it was taken. Log files are located in /opt/zextras/log as well as in /var/log

Have an installation that is working from the beginning would be a good start.

 


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 
netstat -tulpn | grep :<PORT_NUMBER>

Above command should give you a result. On mine it it is:

netstat -tulpn | grep :8500
tcp 0 0 127.0.0.1:8500 0.0.0.0:* LISTEN 3352/consul

 

 


   
ReplyQuote
 jppo
(@jppo)
Trusted Member
Joined: 2 years ago
Posts: 84
Topic starter  

Hello,

Since I disable some services I get less logs and the port 8500 is open and responding to :

wget http://127.0.0.1:8500
which, wjthout URL, gives an index.html file.
But I get always many messages about "ACL system must be bootstrapped before making any requests that require authorization: ACL not found"

# 162000 such messages during the last 18 hours.

So there is a problem in the authorization system, but I can read and send mails.

All my virtual machines are running with KVM.

For the new machine (Ubuntu 24.04), no progress, service-discover looks always for "main.json", I had a look on the "main.json" file on the working machine, but this file references ".pem" files which are also missing on the new machine, Will restore the "blank" system an retry to re-install with the providen script.

Regards and thanks for your time,

JP P

PS : I worked a little bit more than 40 years in dataprocessing.


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

You continue to answer question. This is my last message I write on your topic. Good luck to you.

What is your host operating system?

Are you installing carbonio manually or with the installation script?

You better join Anahuac on Telegram and asked to download his installation script. His script I think is better than the one from Carbonio.

https://t.me/carboniobrasil

 

Carbonio needs 32GB of Ram and a minimum of 4 cores but, better with 8 cores. Take my word.

 

As I said before you need to have a installation that is working to start with.

 

Many services are dependent on others. You disable services, just you don't want them, is a disaster.


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

You continue to NOT answer questions. This is my last message I write on your topic. Good luck to you.

What is your host operating system?

What are your hardware specs? Do you have enough RAM, CPU cores?

Carbonio needs 32GB of Ram and a minimum of 4 cores but, better with 8 cores. Take my word.

Are you installing carbonio manually or with the installation script?

You better join Anahuac on Telegram and asked to download his installation script. His script I think is better than the one from Carbonio.

https://t.me/carboniobrasil

 

As I said before you need to have a installation that is working to start with.

Again:

What are the Services Status? From this link:

https://docs.zextras.com/carbonio-ce/html/troubleshooting/services.html#ts-services

 

Many services are dependent on others. You disable services, just you don't want them, is a disaster.


   
ReplyQuote
 jppo
(@jppo)
Trusted Member
Joined: 2 years ago
Posts: 84
Topic starter  

Hello,

The physical machine has 64G RAM and 16 cores and runs a Debian Trixie, the virtual machine dedicated to Carbonio has 8Go and 4 cores

and is running Ubuntu 20.04 with KVM. That mail server is only for me and family and to receive some logs from a web server and other services.
The installation on the running machine was done "By hand" using the instructions given in the docs ... and is running since beginning 2024.

For the "new" installation I try it on another physical machine, the virtual machine under KVM with 8Go and 4 cores, i have a try with the script
found in the doc, but with no success with always far too many weird messages ....
If there is another script I will have a try with it.

 

List and status of services :

systemctl list-unit-files "carbonio*" | tee /var/tmp/list_unit_files.txt

UNIT FILE STATE VENDOR PRESET
carbonio-altermime-config.service disabled enabled
carbonio-antivirus.service disabled enabled
carbonio-appserver-db.service disabled enabled
carbonio-appserver.service disabled enabled
carbonio-certbot.service static enabled
carbonio-clamav-sidecar.service enabled enabled
carbonio-clamav-signature-provider-sidecar.service disabled enabled
carbonio-configd.service disabled enabled
carbonio-docs-connector-sidecar.service enabled enabled
carbonio-docs-connector.service enabled enabled
carbonio-docs-editor-sidecar.service enabled enabled
carbonio-docs-editor.service enabled enabled
carbonio-files-db-sidecar.service disabled enabled
carbonio-files-sidecar.service enabled enabled
carbonio-files-watches.service disabled enabled
carbonio-files.service enabled enabled
carbonio-freshclam.service enabled enabled
carbonio-mailbox-admin-sidecar.service disabled enabled
carbonio-mailbox-nslookup-sidecar.service enabled enabled
carbonio-mailbox-sidecar.service enabled enabled
carbonio-mailthreat.service static enabled
carbonio-memcached.service disabled enabled
carbonio-message-broker-sidecar.service enabled enabled
carbonio-message-broker.service enabled enabled
carbonio-milter.service disabled enabled
carbonio-mta-sidecar.service enabled enabled
carbonio-nginx.service disabled enabled
carbonio-opendkim.service disabled enabled
carbonio-openldap.service disabled enabled
carbonio-policyd.service disabled enabled
carbonio-postfix.service disabled enabled
carbonio-preview-sidecar.service enabled enabled
carbonio-preview.service enabled enabled
carbonio-prometheus-consul-exporter.service enabled enabled
carbonio-prometheus-mysqld-exporter.service enabled enabled
carbonio-prometheus-nginx-exporter.service enabled enabled
carbonio-prometheus-node-exporter.service enabled enabled
carbonio-prometheus-openldap-exporter.service enabled enabled
carbonio-prometheus-postgres-exporter.service enabled enabled
carbonio-prometheus.service enabled enabled
carbonio-proxy-sidecar.service disabled enabled
carbonio-saslauthd.service disabled enabled
carbonio-stats.service disabled enabled
carbonio-storages-sidecar.service enabled enabled
carbonio-storages.service enabled enabled
carbonio-user-management-sidecar.service enabled enabled
carbonio-user-management.service disabled enabled
carbonio.service generated enabled
carbonio-appserver.target disabled enabled
carbonio-directory-server.target disabled enabled
carbonio-mta.target disabled enabled
carbonio-proxy.target disabled enabled
carbonio-certbot.timer enabled enabled

53 unit files listed.

systemctl list-units --type=service carbonio*.service | tee list_unit_services.txt
UNIT LOAD ACTIVE SUB DESCRIPTION
carbonio-clamav-sidecar.service loaded activating auto-restart Carbonio clamav sidecar proxy
carbonio-docs-connector-sidecar.service loaded activating auto-restart Carbonio docs connector sidecar proxy
carbonio-docs-connector.service loaded active running Carbonio docs connector daemon
carbonio-docs-editor-sidecar.service loaded activating auto-restart Carbonio Docs server sidecar proxy
carbonio-docs-editor.service loaded active running Carbonio Docs Server
carbonio-files-sidecar.service loaded activating auto-restart Carbonio Files sidecar proxy
carbonio-files.service loaded activating auto-restart Carbonio Files daemon
carbonio-mailbox-nslookup-sidecar.service loaded activating auto-restart Carbonio Mailbox NSLookup proxy sidecar
carbonio-mailbox-sidecar.service loaded activating auto-restart Mailbox carbonio proxy sidecar
carbonio-message-broker-sidecar.service loaded activating auto-restart Carbonio message broker sidecar proxy
carbonio-message-broker.service loaded active running Carbonio message broker daemon
carbonio-mta-sidecar.service loaded activating auto-restart Carbonio mta sidecar proxy
carbonio-preview-sidecar.service loaded activating auto-restart Carbonio Preview sidecar proxy
carbonio-preview.service loaded active running Carbonio Preview daemon
carbonio-prometheus-consul-exporter.service loaded active running Carbonio Prometheus Consul exporter
carbonio-prometheus-mysqld-exporter.service loaded active running Carbonio Prometheus MySQL exporter
carbonio-prometheus-nginx-exporter.service loaded active running Carbonio Prometheus NGINX exporter
carbonio-prometheus-node-exporter.service loaded active running Carbonio Prometheus Node Exporter
carbonio-prometheus-openldap-exporter.service loaded active running Carbonio Prometheus OpenLDAP exporter
carbonio-prometheus-postgres-exporter.service loaded active running Carbonio Prometheus Postgres exporter
carbonio-prometheus.service loaded active running Carbonio Prometheus service
carbonio-storages-sidecar.service loaded activating auto-restart Storages-CE sidecar proxy
carbonio-storages.service loaded active running Carbonio Storages-CE daemon
carbonio-user-management-sidecar.service loaded activating auto-restart Carbonio User Management sidecar proxy
carbonio.service loaded active exited LSB: Carbonio Services

PS: I don't have Telegram on my phone, how to join Anahuac without it to get the better install script ?

Regards

JP P

 


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

OK. For Telegram click on the link I have posted above. Preferably use a Windows machine. Linux version is also available.

Then on the page you just opened, there is blue radio button that says DOWNLOAD, top right hand side. That will take you to the Telegram website. Download Telegram Desktop and install it.

Thereafter you can, again on the above provided link, click VIEW IN TELEGRAM button. That will then open the Desktop Telegram after you click Open Link in the little pop up window.

Once Telegram is open you should see on the left:

Geral

Instalacao -- click there. then on the right side you see 6 files under Topic info. click on 6 files, there you see October carbonioce_install.sh

Right click and save as. There you should have the latest installation script.

 

As I said before you really need 32GB of Ram and 8 cores, you might get away with 16GB for the installation.

 

 


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

Oh, and.....

Use either Ubuntu 22.04 or 24.04 Server installation (NOT the minimal version)

Note: looks like 24.04 and higher are listed as of now:

https://ubuntu.com/download/server#manual-install

 

Also follow:

https://docs.zextras.com/carbonio-ce/html/install/preliminary.html

Follow the steps down to the DNS settings -- including PTR Record step.

The SPF, DMARC and the rest of the steps is not needed as yet. Can be configured later.

 

Note: People have noticed a problem with login when they upgraded to Carbonio Ce 25.9. So, I don't know

if that also applies to a new installation. Just in case it shows after you install a new Carbonio Ce.

 

 


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

I did a new vm installation with Ubuntu Server 24.04 using the script from Telegram. That did not work for me well at all.

I created a new vm with Ubuntu Server 22.04 and that was successful.


   
ReplyQuote
(@itguy)
Eminent Member
Joined: 11 years ago
Posts: 59
 

An article about carbonio services should help. Need to know about dependencies. You can not just disable services any way you like.

https://www.anahuac.eu/carbonio-zmcontrol-death/


   
ReplyQuote
Page 3 / 3