Get hundredth of lo...
 
Notifications
Clear all

Get hundredth of log messages

7 Posts
3 Users
0 Reactions
133 Views
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

I am getting tons of messages in syslog, syslog > 100Mo, most messages are like :

Nov 11 17:17:27 mail rabbitmq-server[621]: #033[38;5;160m2024-11-11 17:17:27.921843+01:00 [error] <0.460492.0> Error running Consul health check: "{failed_connect,[{to_address,{\"127.0.0.1\",8500}},{inet,[inet],econnrefused}]}"#033[0m
Nov 11 17:17:28 mail carbonio-prometheus-consul-exporter[625]: ts=2024-11-11T16:17:28.643Z caller=consul_exporter.go:370 level=error msg="Failed to query for services" err="Get \"http://localhost:8500/v1/catalog/services?stale=\": dial tcp 127.0.0.1:8500: connect: connection refused"
Nov 11 17:17:28 mail carbonio-prometheus-consul-exporter[625]: ts=2024-11-11T16:17:28.646Z caller=consul_exporter.go:259 level=error msg="Can't query consul" err="Get \"http://localhost:8500/v1/status/peers\": dial tcp 127.0.0.1:8500: connect: connection refused"
Nov 11 17:17:28 mail carbonio-prometheus-consul-exporter[625]: ts=2024-11-11T16:17:28.649Z caller=consul_exporter.go:271 level=error msg="Can't query consul" err="Get \"http://localhost:8500/v1/status/leader\": dial tcp 127.0.0.1:8500: connect: connection refused"
Nov 11 17:17:28 mail carbonio-prometheus-consul-exporter[625]: ts=2024-11-11T16:17:28.652Z caller=consul_exporter.go:289 level=error msg="Failed to query catalog for nodes" err="Get \"http://localhost:8500/v1/catalog/nodes?stale=\": dial tcp 127.0.0.1:8500: connect: connection refused"
Nov 11 17:17:28 mail carbonio-prometheus-consul-exporter[625]: ts=2024-11-11T16:17:28.655Z caller=consul_exporter.go:301 level=error msg="Failed to query member info" err="Get \"http://localhost:8500/v1/agent/members\": dial tcp 127.0.0.1:8500: connect: connection refused"

 

No updates sera made except installation of  new Letsencrypt SSL cert.

Regards

JP P


   
Quote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

I get other messages in mail.log :

Nov 12 18:10:51 mail postfix/postscreen[4398]: CONNECT from [127.0.0.1]:54306 to [127.0.0.1]:25
Nov 12 18:10:51 mail postfix/postscreen[4398]: ALLOWLISTED [127.0.0.1]:54306
Nov 12 18:10:51 mail postfix/smtpd[28727]: connect from localhost[127.0.0.1]:54306
Nov 12 18:10:51 mail postfix/smtpd[28727]: lost connection after CONNECT from localhost[127.0.0.1]:54306
Nov 12 18:10:51 mail postfix/smtpd[28727]: disconnect from localhost[127.0.0.1]:54306 commands=0/0

Every ten seconds the same message block .

In syslog :

Nov 12 18:13:27 mail service-discoverd[2622]: 2024-11-12T18:13:27.463+0100 [ERROR] agent.http: Request error: method=PUT url=/v1/kv/rabbitmq/default/startup_lock?acquire=1cad39b1-9f75-b590-5080-664bae23190a from=127.0.0.1:40574 error="Permission denied: token with AccessorID 'b2855e10-0026-33f3-e8b0-906713faf4a3' lacks permission 'key:write' on \"rabbitmq/default/startup_lock\""

every second approx

Regards

JP P

Tha mail system is working and sends and receive mails ...


   
ReplyQuote
(@sharif)
Admin
Joined: 3 years ago
Posts: 593
 

@jppo 

Posted by: @jppo

Nov 12 18:13:27 mail service-discoverd[2622]: 2024-11-12T18:13:27.463+0100 [ERROR] agent.http: Request error: method=PUT url=/v1/kv/rabbitmq/default/startup_lock?acquire=1cad39b1-9f75-b590-5080-664bae23190a from=127.0.0.1:40574 error="Permission denied: token with AccessorID 'b2855e10-0026-33f3-e8b0-906713faf4a3' lacks permission 'key:write' on \"rabbitmq/default/startup_lock\""

this could help you:

Invalid Rabbitmq Token

Regards,

Sharif


   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

OK, token is invalid, but how to "make" a new token ?

Regards

JP P


   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

I try (as root) :

carbonio-message-broker setup

I get now bunch of messages like :

Nov 14 14:59:45 mail service-discoverd[2622]: 2024-11-14T14:59:45.509+0100 [ERROR] agent.http: Request error: method=GET url=/v1/agent/self from=127.0.0.1:57478 error="Permission denied: token with AccessorID '51d6f289-7a3c-a682-ec76-93fac18dc8aa' lacks permission 'agent:read' on \"mail-jpp-fr\""

WIll try to reboot ... after reboot ...

From mail.log every 10 seconds :
Nov 14 15:38:39 mail postfix/postscreen[4070]: CONNECT from [127.0.0.1]:60292 to [127.0.0.1]:25
Nov 14 15:38:39 mail postfix/postscreen[4070]: ALLOWLISTED [127.0.0.1]:60292
Nov 14 15:38:39 mail postfix/smtpd[20592]: connect from localhost[127.0.0.1]:60292
Nov 14 15:38:39 mail postfix/smtpd[20592]: lost connection after CONNECT from localhost[127.0.0.1]:60292
Nov 14 15:38:39 mail postfix/smtpd[20592]: disconnect from localhost[127.0.0.1]:60292 commands=0/0
Nov 14 15:38:40 mail postfix/postscreen[4070]: CONNECT from [127.0.0.1]:60296 to [127.0.0.1]:25

Same log in carbonio.log

From syslog :

Every 5 seconds :
Nov 14 15:41:31 mail carbonio-preview-start.sh[1171]: "[2024-11-14 15:41:31,004] INFO [uvicorn.access.send:476] 127.0.0.1:38658 - "GET /health/ready/ HTTP/1.1" 200"

EVery 15 seconds :

Nov 14 15:43:00 mail prometheus[624]: ts=2024-11-14T14:43:00.536Z caller=consul.go:285 level=error component="discovery manager scrape" discovery=consul config=ldap msg="Error retrieving datacenter name" err="Unexpected response code: 403 (Permission denied: token with AccessorID '51d6f289-7a3c-a682-ec76-93fac18dc8aa' lacks permission 'agent:read' on \"mail-jpp-fr\")"

Regards

JP P

 

 


   
ReplyQuote
(@perez54)
Joined: 1 month ago
Posts: 1
 

I have also a same problem, Thank you for sharing this information...

 


   
ReplyQuote
 jppo
(@jppo)
Joined: 1 year ago
Posts: 57
Topic starter  

Hello,

No news since 3 weeks ? Is it normal ?

Regards

JPPO


   
ReplyQuote