Notifications
Clear all

[Solved] Disable Services

4 Posts
2 Users
1 Reactions
150 Views
(@carloscunha)
Active Member
Joined: 7 months ago
Posts: 32
Topic starter  

Hello!

My email server focuses on email/webmail/IMAP.
So, I disable video calling/tasks/files services via the web interface, but I can also do it via the CLI.

Do this:

systemctl disable carbonio-files
systemctl stop carbonio-files

systemctl disable carbonio-tasks
systemctl stop carbonio-tasks

systemctl stop carbonio-ws-collaboration
systemctl disable carbonio-ws-collaboration

And everything works fine 😀

I'd like to know if there's any problem with doing this?

And how do I remove the warning alerts like these that keep being generated:

-> /var/log/syslog

2025-09-16T20:04:23.047938-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-message-dispatcher-db
2025-09-16T20:04:23.047974-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-files-db error="dial tcp 127.0.0.1:5432: connect: connection refused"
2025-09-16T20:04:23.047989-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-files-db
2025-09-16T20:04:23.048006-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-ws-collaboration-db error="dial tcp 127.0.0.1:5432: connect: connection ref
used"
2025-09-16T20:04:23.048022-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-ws-collaboration-db
2025-09-16T20:04:23.048038-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-tasks-db error="dial tcp 127.0.0.1:5432: connect: connection refused"
2025-09-16T20:04:23.048056-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.047-0300 [WARN] agent: Check is now critical: check=service:carbonio-tasks-db
2025-09-16T20:04:23.368899-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.368-0300 [WARN] agent: Check is now critical: check=service:carbonio-files
2025-09-16T20:04:23.369020-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.368-0300 [WARN] agent: Check is now critical: check=live
2025-09-16T20:04:23.369058-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:23.368-0300 [WARN] agent: Check is now critical: check=service:carbonio-tasks
2025-09-16T20:04:27.005349-03:00 srv-mail carbonio-preview-start.sh[1877]: "[2025-09-16 20:04:27,004] INFO [uvicorn.access.send:473] 127.0.0.1:55880 - "GET /health/live/ HTTP/1.1" 200"
2025-09-16T20:04:27.010571-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:27.010-0300 [WARN] agent: Check TCP connection failed: check=service:carbonio-ws-collaboration-db-sidecar-proxy:1 error="dial tcp 127.0.0.1:21024: connect
t: connection refused"
2025-09-16T20:04:27.010631-03:00 srv-mail service-discoverd[3236]: 2025-09-16T20:04:27.010-0300 [WARN] agent: Check is now critical: check=service:carbonio-ws-collaboration-db-sidecar-proxy:1

Another question in my use case: could I disable service-discoverd?

Regards; 

This topic was modified 1 month ago by CarlosCunha

   
Quote
(@carloscunha)
Active Member
Joined: 7 months ago
Posts: 32
Topic starter  

Hello!

I believe the error about Postgres is something else (as I mentioned in this other post https://community.zextras.com/forum/carbonio-general-thread/carbonio-not-run-postgressql-porta-5432).

However, I still have questions about the services. Can I disable the ones I'm not using, or should I just disable them via Web Admin?

regards;


   
ReplyQuote
(@sharif)
Reputable Member Admin
Joined: 3 years ago
Posts: 805
 

@carloscunha 

Yes, disabling them (Some of them) from one of the following would be sufficient.

  1. CLI
  2. From Admin Panel: COS > Details > Features/Chats

But as even after being disabled, they have active connection points registered into the Consul; we get logs from service-discover. 

I would discuss this with the team to estimate if we could include a section in the documentation to guide users how to safely/clearly disable or uninstall a service.

Regards,


   
CarlosCunha reacted
ReplyQuote
(@carloscunha)
Active Member
Joined: 7 months ago
Posts: 32
Topic starter  

@sharif 

Hello!

Thanks for your reply.

Yes, I think a documentation page about this would be helpful 😀

regards;


   
ReplyQuote