我在
mariadb104
服务器上运行FreeBSD freebsd 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 GENERIC amd64
。
每天晚上 7 点左右,我的数据库无法访问 这里有日志:
2023-03-08 7:02:49 0 [Note] Server socket created on IP: '127.0.0.1'.
2023-03-08 7:02:49 0 [ERROR] Can't start server : Bind on unix socket: Permission denied
2023-03-08 7:02:49 0 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysql/mysql.sock ?
2023-03-08 7:02:49 0 [ERROR] Aborting
2023-03-08 7:04:20 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2023-03-08 7:04:20 0 [Note] InnoDB: Uses event mutexes
2023-03-08 7:04:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2023-03-08 7:04:20 0 [Note] InnoDB: Number of pools: 1
2023-03-08 7:04:20 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-03-08 7:04:20 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2023-03-08 7:04:20 0 [Note] InnoDB: Completed initialization of buffer pool
2023-03-08 7:04:20 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-03-08 7:04:20 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-03-08 7:04:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-03-08 7:04:20 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2023-03-08 7:04:20 0 [Note] InnoDB: Waiting for purge to start
2023-03-08 7:04:20 0 [Note] InnoDB: 10.4.24 started; log sequence number 3708055255; transaction id 6982263169
2023-03-08 7:04:20 0 [Note] InnoDB: Loading buffer pool(s) from /var/db/mysql/ib_buffer_pool
2023-03-08 7:04:20 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-03-08 7:04:20 0 [Note] Server socket created on IP: '127.0.0.1'.
2023-03-08 7:04:20 0 [Note] Reading of all Master_info entries succeeded
2023-03-08 7:04:20 0 [Note] Added new Master_info '' to hash table
2023-03-08 7:04:20 0 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '10.4.24-MariaDB' socket: '/var/run/mysql/mysql.sock' port: 3306 FreeBSD Ports
2023-03-08 7:04:21 0 [Note] InnoDB: Buffer pool(s) load completed at 230308 7:04:21
2023-03-08 7:11:28 10 [Warning] Aborted connection 10 to db: 'feeder' user: 'feeder' host: 'localhost' (Got an error reading communication packets)
2023-03-08 13:45:26 4823 [Warning] Aborted connection 4823 to db: 'feeder' user: 'feeder' host: 'localhost' (Got an error writing communication packets)
2023-03-08 19:05:09 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2023-03-08 19:05:09 0 [Note] InnoDB: Uses event mutexes
2023-03-08 19:05:09 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2023-03-08 19:05:09 0 [Note] InnoDB: Number of pools: 1
2023-03-08 19:05:09 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-03-08 19:05:09 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2023-03-08 19:05:09 0 [Note] InnoDB: Completed initialization of buffer pool
2023-03-08 19:05:09 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=3731778195
2023-03-08 19:05:10 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-03-08 19:05:10 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2023-03-08 19:05:10 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-03-08 19:05:10 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-03-08 19:05:10 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
有人知道它为什么崩溃吗?
我用一些旧的更新了日志。