{"t":{"$date":"2023-06-08T09:41:39.201+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2610","msg":"client metadata","attr":{"remote":"192.168.103.184:54053","client":"conn2610","doc":{"driver":{"name":"mongo-java-driver|sync|spring-boot","version":"4.6.1"},"os":{"type":"Windows","name":"Windows 10","architecture":"amd64","version":"10.0"},"platform":"Java/Oracle Corporation/1.8.0_131-b11"}}} {"t":{"$date":"2023-06-08T09:41:39.280+00:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn2610","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-1","speculative":true,"principalName":"root","authenticationDatabase":"admin","remote":"192.168.103.184:54053","extraInfo":{}}}完整记录
时间: 2023-07-12 15:04:53 浏览: 97
这是一个 MongoDB 数据库的认证成功的完整日志记录,其中包含了客户端元数据和认证信息。
客户端元数据记录了客户端的驱动程序信息、操作系统信息和平台信息等。认证信息记录了认证使用的机制、用户名和认证的数据库等信息,还包含了客户端的 IP 地址和端口号等连接信息。此外,该日志记录还包含了一些额外信息,但是由于你没有提供完整的日志内容,我无法确定这些信息的具体内容。
相关问题
2023-06-08T11:32:23.660+08:00 INFO 14980 --- [nio-8088-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-06-08T11:32:23.661+08:00 INFO 14980 --- [nio-8088-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2023-06-08T11:32:23.662+08:00 INFO 14980 --- [nio-8088-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
这段信息是一个Java Spring应用程序在启动时输出的日志信息。其中包含以下内容:
- 时间戳:2023-06-08T11:32:23.660+08:00 表示日志输出的时间。
- 日志级别:INFO 表示这是一条信息级别的日志,通常用来表示应用程序的正常运行状态。
- 线程信息:[nio-8088-exec-2] 表示这条日志信息是由哪个线程输出的。
- 日志内容:该段日志信息中输出了Spring DispatcherServlet初始化的相关信息,包括初始化的Servlet名称、初始化完成的时间等。
这些日志信息通常被用来帮助开发人员定位和解决应用程序中的问题,比如排查应用程序启动失败、性能问题等。
2023-06-08T02:25:37.583259Z 1 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> c443b2d8-05a0-11ee-86b8-2e0fddf21737:0 2023-06-08T02:25:39.261528Z WSREP_SST: [INFO] Streaming with xbstream 2023-06-08T02:25:39.273174Z WSREP_SST: [INFO] WARNING: Stale temporary SST directory: /data/mysql//.sst from previous state transfer. Removing 2023-06-08T02:25:39.279749Z WSREP_SST: [INFO] Proceeding with SST......... 2023-06-08T02:25:39.519583Z 0 [Note] WSREP: (c05c7a4e, 'tcp://0.0.0.0:4567') turning message relay requesting off 2023-06-08T02:25:39.553817Z WSREP_SST: [INFO] ............Waiting for SST streaming to complete! 2023-06-08T02:25:49.257301Z WSREP_SST: [ERROR] ******************* FATAL ERROR ********************** 2023-06-08T02:25:49.260159Z WSREP_SST: [ERROR] xtrabackup_checkpoints missing. xtrabackup/SST failed on DONOR. Check DONOR log 2023-06-08T02:25:49.262811Z WSREP_SST: [ERROR] ****************************************************** 2023-06-08T02:25:49.266472Z WSREP_SST: [ERROR] Cleanup after exit with status:2 2023-06-08T02:25:49.289335Z 0 [Warning] WSREP: 1.0 (host78): State transfer to 0.0 (host79) failed: -22 (Invalid argument) 2023-06-08T02:25:49.289400Z 0 [ERROR] WSREP: gcs/src/gcs_group.cpp:gcs_group_handle_join_msg():811: Will never receive state. Need to abort. 2023-06-08T02:25:49.289465Z 0 [Note] WSREP: gcomm: terminating thread 2023-06-08T02:25:49.289494Z 0 [Note] WSREP: gcomm: joining thread 2023-06-08T02:25:49.289662Z 0 [Note] WSREP: gcomm: closing backend 2023-06-08T02:25:49.593055Z 0 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '10.106.113.79' --datadir '/data/mysql/' --defaults-file '/etc/my.cnf' --defaults-group-suffix '' --parent '9996' --mysqld-version '5.7.41-44-57' '' : 2 (No such file or directory) 2023-06-08T02:25:49.593124Z 0 [ERROR] WSREP: Failed to read uuid:seqno from joiner script. 2023-06-08T02:25:49.593137Z 0 [ERROR] WSREP: SST script aborted with error 2 (No such file or directory) 2023-06-08T02:25:49.593186Z 0 [ERROR] WSREP: SST failed: 2 (No such file or directory) 2023-06-08T02:25:49.593234Z 0 [ERROR] Aborting 2023-06-08T02:25:49.593269Z 0 [Note] WSREP: Signalling cancellation of the SST request. 2023-06-08T02:25:49.593306Z 0 [Note] WSREP: SST request was cancelled 2023-06-08T02:25:49.593337Z 0 [Note] Giving 2 client threads a chance to die gracefully 2023-06-08T02:25:49.593357Z 1 [Note] WSREP: Closing send monitor... 2023-06-08T02:25:49.593370Z 1 [Note] WSREP: Closed send monitor. 2023-06-08T02:25:50.292465Z 0 [Note] WSREP: Current view of cluster as seen by this node
这段日志是一个 MySQL 集群中的一台机器(DONOR)在进行 SST(State Snapshot Transfer)时出现了错误。从日志中可以看到,xtrabackup_checkpoints 文件缺失导致 SST 失败,需要检查 DONOR 日志文件,以找到原因。因为 SST 失败,其他节点(joiner)无法接收状态,集群需要终止。最后,WSREP 进程由于遇到错误而退出。
阅读全文