Notifications
Clear all

Services not running


Sharif
(@imsilsa)
Joined: 7 days ago
Posts: 4
Topic starter  

Hi, 

I have finished the installation without any issue. But from admin panel it is showing that some services are not running. 

CLI status:


Host mail.example.com
amavis Running
antispam Running
antivirus Stopped
zmclamdctl is not running
zmfreshclamctl is not running
directory-server Running
logger Stopped
zmlogswatchctl is not running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running


log status:

Jan 11 2354 mail zmconfigd[90357]: Watchdog: skipping service antivirus. Service not yet available for restarts.
Jan 11 2354 mail zmconfigd[90357]: File "/opt/zextras/common/lib/jylibs/state.py", line 796, in rewriteConfig for line in open(fr).readlines():
Jan 11 2354 mail zmconfigd[90357]: Rewrite failed: [Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/zimbra.web.xml.in' ([Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/zimbra.web.xml.in')
Jan 11 2354 mail zmconfigd[90357]: File "/opt/zextras/common/lib/jylibs/state.py", line 796, in rewriteConfig for line in open(fr).readlines():
Jan 11 2354 mail zmconfigd[90357]: Rewrite failed: [Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/jetty-env.xml.in' ([Errno 2] No such file or directory: '/opt/zextras/mailboxd/etc/jetty-env.xml.in')
Jan 11 2354 mail zmconfigd[90357]: All rewrite threads completed in 0.00 sec

 

Anyone has any clue so far?

This topic was modified 7 days ago by Sharif

Quote
webseregas
(@webseregas)
Joined: 1 week ago
Posts: 6
 

A similar situation. Even after the restart, the services do not start automatically.


ReplyQuote
jnoel
(@jnoel)
Joined: 1 week ago
Posts: 9
 

Same here. After reboot ubuntu, we need to do a zmcontrol start to get webmail login page work again.

But, zmcontrol status says :

zmclamdctl is not running
zmfreshclamctl is not running
zmlogswatchctl is not running
...
The other services are Running

The admin panel monitor check in red every services.

But, webmail seams to work correctly except that each received email are flagged UNCHECKED probably due to the clamav not running.


ReplyQuote
jnoel
(@jnoel)
Joined: 1 week ago
Posts: 9
 
Posted by: @jnoel

zmclamdctl is not running

When we do that you suggest in this post :

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

antivirus is running again and new incoming mails are not flagged UNCHECKED anymore ! Thanks

Posted by: @arman

You could also try apt install libpcre2-8-0 as the root user and then freshclam --config-file=./conf/freshclam.conf and zmantivirusctl start as the zextras and check them again.


ReplyQuote
nitram
(@nitram)
Joined: 1 month ago
Posts: 6
 

On my deployment, i have noticed that there are discrepancies in running services, where the server admin shows no services are running, but on the backend they are shown to be running properly


ReplyQuote
adriangibanelbtactic
(@adriangibanelbtactic)
Joined: 4 days ago
Posts: 10
 

I confirm this bug. As nitram says basically zmcontrol status might show that every service is running. However when checking the Admin Console it shows that all of them are stopped.

This problem might be caused because of zmlogger dependencies not being installed properly. I found out that zmlogswatchctl was not able to run properly as in /opt/zextras/log/zmlogswatch.out file you found:

Can't load '/opt/zextras/common/lib/perl5/x86_64-linux-gnu-thread-multi/auto/RRDs/RRDs.so' for module RRDs: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory at /usr/lib/x86_64-linux-gnu/perl/5.26/DynaLoader.pm line 187.
^@ at /opt/zextras/libexec/zmlogger line 13.
Compilation failed in require at /opt/zextras/libexec/zmlogger line 13.
BEGIN failed--compilation aborted at /opt/zextras/libexec/zmlogger line 13.


The workaround for this specific error is to run:

apt install libpangocairo-1.0-0

and restart the system thanks to zmcontrol restart .

The problem is that, even after installing this package the services are never shown as running in the Admin Console. I tried to regenerate keys, recreate zmloggerhostmap, apply zmsyslogsetup or even reset /opt/zextras/logger/db/data . None of this works.

So, I'll leave the Zextras team to take a look at this one.

Note: This Carbonio version was installed on 2022-01-13 from an Ubuntu 18.04 minimal installation.


ReplyQuote
el_kab0ng
(@el_kab0ng)
Joined: 2 days ago
Posts: 1
 

Logwatch errors can also be solved with the apt-get install -y librrds-perl command (at least that worked well for me)


ReplyQuote