Dear Team.
Fresh install on AlmaLinux 8.7.
Looks like everything work fine exclude one.
System log is full off messages.....
Could you help me to resolve this.
Thanks.
Mar 24 12:54:05 mx carbonio-storages[1622]: [2023-03-24T10:54:05.553Z] [info] {"req":{"id":"req-fi","context":{"schema":{"tags":["health"],"description":"Checks if server is running, useful for health checks"},"contentTypeParser":{"customParsers":{"application/json":{"asString":true,"asBuffer":false,"bodyLimit":1048576},"text/plain":{"asString":true,"asBuffer":false,"bodyLimit":1048576},"multipart":{"asString":false,"asBuffer":false,"bodyLimit":1048576}},"parserList":["[Unknown]","[Unknown]","[Unknown]"],"parserRegExpList":"[Unknown]","cache":"[Unknown]"},"onRequest":"[Unknown]","onSend":"[Unknown]","onError":"[Unknown]","onTimeout":"[Unknown]","preHandler":"[Unknown]","onResponse":"[Unknown]","config":"[Unknown]","errorHandler":"[Unknown]","_middie":"[Unknown]","_parserOptions":"[Unknown]","logLevel":"[Unknown]","logSerializers":"[Unknown]","attachValidation":"[Unknown]","schemaErrorFormatter":"[Unknown]","preParsing":"[Unknown]","preValidation":"[Unknown]","preSerialization":"[Unknown]"},"params":"[Unknown]","raw":"[Unknown]","query":"[Unknown]","log":"[Unknown]","body":"[Unknown]","tmpUploads":"[Unknown]"}} Mar 24 12:54:05 mx carbonio-storages[1622]: [2023-03-24T10:54:05.554Z] [info] [id=req-fi, hostname=127.78.0.3:10000, ip=127.0.0.1 url=/health/live] Request received Mar 24 12:54:05 mx carbonio-storages[1622]: [2023-03-24T10:54:05.554Z] [debug] No auth checks performed on request req-fi Mar 24 12:54:05 mx carbonio-storages[1622]: [2023-03-24T10:54:05.554Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":true,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"_contentLength":null,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"socket":null,"_header":"HTTP/1.1 200 OK\r\ncontent-length: 0\r\nDate: Fri, 24 Mar 2023 10:54:05 GMT\r\nConnection: close\r\n\r\n","_keepAliveTimeout":5000,"_sent100":"[Unknown]","_expect_continue":"[Unknown]","statusMessage":"[Unknown]","statusCode":"[Unknown]"},"request":"[Unknown]","log":"[Unknown]"},"responseTime":"[Unknown]"} Mar 24 12:54:08 mx carbonio-storages[1622]: [2023-03-24T10:54:08.241Z] [info] {"req":{"id":"req-fj","context":{"schema":{"tags":["health"],"description":"Checks if server is running, useful for health checks"},"contentTypeParser":{"customParsers":{"application/json":{"asString":true,"asBuffer":false,"bodyLimit":1048576},"text/plain":{"asString":true,"asBuffer":false,"bodyLimit":1048576},"multipart":{"asString":false,"asBuffer":false,"bodyLimit":1048576}},"parserList":["[Unknown]","[Unknown]","[Unknown]"],"parserRegExpList":"[Unknown]","cache":"[Unknown]"},"onRequest":"[Unknown]","onSend":"[Unknown]","onError":"[Unknown]","onTimeout":"[Unknown]","preHandler":"[Unknown]","onResponse":"[Unknown]","config":"[Unknown]","errorHandler":"[Unknown]","_middie":"[Unknown]","_parserOptions":"[Unknown]","logLevel":"[Unknown]","logSerializers":"[Unknown]","attachValidation":"[Unknown]","schemaErrorFormatter":"[Unknown]","preParsing":"[Unknown]","preValidation":"[Unknown]","preSerialization":"[Unknown]"},"params":"[Unknown]","raw":"[Unknown]","query":"[Unknown]","log":"[Unknown]","body":"[Unknown]","tmpUploads":"[Unknown]"}} Mar 24 12:54:08 mx carbonio-storages[1622]: [2023-03-24T10:54:08.241Z] [info] [id=req-fj, hostname=127.78.0.2:20002, ip=127.0.0.1 url=/health/live] Request received Mar 24 12:54:08 mx carbonio-storages[1622]: [2023-03-24T10:54:08.242Z] [debug] No auth checks performed on request req-fj Mar 24 12:54:08 mx carbonio-storages[1622]: [2023-03-24T10:54:08.242Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":false,"chunkedEncoding":false,"shouldKeepAlive":true,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":true,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"_contentLength":null,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"socket":null,"_header":"HTTP/1.1 200 OK\r\ncontent-length: 0\r\nDate: Fri, 24 Mar 2023 10:54:08 GMT\r\nConnection: keep-alive\r\nKeep-Alive: timeout=5\r\n\r\n","_keepAliveTimeout":5000,"_sent100":"[Unknown]","_expect_continue":"[Unknown]","statusMessage":"[Unknown]","statusCode":"[Unknown]"},"request":"[Unknown]","log":"[Unknown]"},"responseTime":"[Unknown]"} Mar 24 12:54:10 mx carbonio-storages[1622]: [2023-03-24T10:54:10.555Z] [info] {"req":{"id":"req-fk","context":{"schema":{"tags":["health"],"description":"Checks if server is running, useful for health checks"},"contentTypeParser":{"customParsers":{"application/json":{"asString":true,"asBuffer":false,"bodyLimit":1048576},"text/plain":{"asString":true,"asBuffer":false,"bodyLimit":1048576},"multipart":{"asString":false,"asBuffer":false,"bodyLimit":1048576}},"parserList":["[Unknown]","[Unknown]","[Unknown]"],"parserRegExpList":"[Unknown]","cache":"[Unknown]"},"onRequest":"[Unknown]","onSend":"[Unknown]","onError":"[Unknown]","onTimeout":"[Unknown]","preHandler":"[Unknown]","onResponse":"[Unknown]","config":"[Unknown]","errorHandler":"[Unknown]","_middie":"[Unknown]","_parserOptions":"[Unknown]","logLevel":"[Unknown]","logSerializers":"[Unknown]","attachValidation":"[Unknown]","schemaErrorFormatter":"[Unknown]","preParsing":"[Unknown]","preValidation":"[Unknown]","preSerialization":"[Unknown]"},"params":"[Unknown]","raw":"[Unknown]","query":"[Unknown]","log":"[Unknown]","body":"[Unknown]","tmpUploads":"[Unknown]"}} Mar 24 12:54:10 mx carbonio-storages[1622]: [2023-03-24T10:54:10.556Z] [info] [id=req-fk, hostname=127.78.0.3:10000, ip=127.0.0.1 url=/health/live] Request received Mar 24 12:54:10 mx carbonio-storages[1622]: [2023-03-24T10:54:10.556Z] [debug] No auth checks performed on request req-fk Mar 24 12:54:10 mx carbonio-storages[1622]: [2023-03-24T10:54:10.556Z] [info] {"res":{"raw":{"_events":{},"_eventsCount":1,"outputData":[],"outputSize":0,"writable":true,"destroyed":false,"_last":true,"chunkedEncoding":false,"shouldKeepAlive":false,"_defaultKeepAlive":true,"useChunkedEncodingByDefault":true,"sendDate":true,"_removedConnection":false,"_removedContLen":false,"_removedTE":false,"_contentLength":null,"_hasBody":true,"_trailer":"","finished":true,"_headerSent":true,"socket":null,"_header":"HTTP/1.1 200 OK\r\ncontent-length: 0\r\nDate: Fri, 24 Mar 2023 10:54:10 GMT\r\nConnection: close\r\n\r\n","_keepAliveTimeout":5000,"_sent100":"[Unknown]","_expect_continue":"[Unknown]","statusMessage":"[Unknown]","statusCode":"[Unknown]"},"request":"[Unknown]","log":"[Unknown]"},"responseTime":"[Unknown]"}
+ One.
logger Stopped
[zextras@mx ~]$ zmcontrol status Host mx.########### amavis Running antispam Running antivirus Running directory-server Running logger Stopped mailbox Running memcached Running mta Running opendkim Running proxy Running service webapp Running service-discover Running stats Running config service Running
Confirmed for RHEL 8. Looks like they are reworking zmcontrol. I did this for the short term in /etc/rsyslogd.d/carbonio.conf and reloaded it until I can debug this as it was spewing a ton of messages fairly quickly.
# carbonio if $programname == "carbonio-storages" and ($msg contains "Checks if server" or $msg contains "debug" or $msg contains "id=req-") then stop
I don't know what the correct answer is but zmcontrol pulls services from ldap and they no longer appear to have code in /opt/zextras/bin or zmcontrol to start logger even though $services = getEnabledServices() would return an entry for logger. My guess is they pulled the code (zmlogswatchctl,etc) but forgot to remove the ldap key???. I did this:
# su - zextras % zmprov ms `zmhostname` -zimbraServiceEnabled logger % zmcontrol status Host mail.example.com amavis Running antispam Running antivirus Running directory-server Running mailbox Running memcached Running mta Running opendkim Running proxy Running service webapp Running service-discover Running stats Running config service Running