Hi everyone,
I'm facing issues while trying to restart Zextras services on my server. Here’s what I’ve done so far:
-
Attempted to restart using the
zmcontrol
command as thezextras
user:root@mailbox:~# su - zextras -c 'zmcontrol restart'
Output:
Services are now handled by systemd. Enabled systemd targets: - carbonio-directory-server.target - carbonio-appserver.target - carbonio-proxy.target - carbonio-mta.target Please check the documentation for further details. Exiting.
-
Then, I tried restarting using
systemctl
:root@mailbox:~# sudo systemctl restart carbonio.target
Output:
Failed to restart carbonio.target: Unit carbonio.target not found.
It seems like carbonio.target
is not recognized, and I'm unsure how to proceed. Any advice on the correct way to restart Zextras services or troubleshoot this issue would be greatly appreciated.
Thanks in advance!
Hi,
It seems like you're running into an issue with restarting Zextras services due to incorrect or missing systemd targets. Here's a step-by-step guide to resolve the issue:
Check Available Targets: Verify the available systemd targets for Zextras. You can do this by running:
systemctl list-units | grep carbonio
-
This will show the active and available Zextras-related services.
-
Restart Specific Targets: If the
carbonio.target
is not found, try restarting the individual services mentioned in the output: -
sudo systemctl restart carbonio-directory-server.target
sudo systemctl restart carbonio-appserver.target
sudo systemctl restart carbonio-proxy.target
sudo systemctl restart carbonio-mta.target -
Check Logs for Errors: If any service fails to restart, check the logs for detailed error messages: