質問編集履歴

1

journalctl -xeログ、/var/log/mysqld.logログを追加しました

2021/07/20 08:04

投稿

hujio362
hujio362

スコア5

test CHANGED
File without changes
test CHANGED
@@ -118,19 +118,27 @@
118
118
 
119
119
  ```
120
120
 
121
+ Jul 20 07:38:33 ip-172-32-52-159.ap-northeast-1.compute.internal sudo[22233]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/sbin/service mysqld star
122
+
123
+ Jul 20 07:38:33 ip-172-32-52-159.ap-northeast-1.compute.internal sudo[22233]: pam_unix(sudo:session): session opened for user root by ec2-user(uid=0)
124
+
125
+ Jul 20 07:38:33 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: Starting MySQL Server...
126
+
127
+ -- Subject: Unit mysqld.service has begun start-up
128
+
129
+ -- Defined-By: systemd
130
+
121
131
  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
122
132
 
123
133
  --
124
134
 
125
- -- Unit user-0.slice has finished shutting down.
135
+ -- Unit mysqld.service has begun starting up.
126
-
127
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal sudo[21837]:
136
+
128
-
129
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal sudo[21837]: pa
137
+ Jul 20 07:38:34 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
130
-
138
+
131
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: Sta
139
+ Jul 20 07:38:34 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: Failed to start MySQL Server.
132
-
140
+
133
- -- Subject: Unit mysqld.service has begun start-up
141
+ -- Subject: Unit mysqld.service has failed
134
142
 
135
143
  -- Defined-By: systemd
136
144
 
@@ -138,37 +146,119 @@
138
146
 
139
147
  --
140
148
 
141
- -- Unit mysqld.service has begun starting up.
142
-
143
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: mys
144
-
145
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: Fai
146
-
147
- -- Subject: Unit mysqld.service has failed
149
+ -- Unit mysqld.service has failed.
148
-
149
- -- Defined-By: systemd
150
-
151
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
152
150
 
153
151
  --
154
152
 
155
- -- Unit mysqld.service has failed.
156
-
157
- --
158
-
159
153
  -- The result is failed.
160
154
 
161
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: Uni
155
+ Jul 20 07:38:34 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: Unit mysqld.service entered failed state.
162
-
156
+
163
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: mys
157
+ Jul 20 07:38:34 ip-172-32-52-159.ap-northeast-1.compute.internal systemd[1]: mysqld.service failed.
164
-
158
+
165
- Jul 20 06:30:18 ip-172-32-52-159.ap-northeast-1.compute.internal sudo[21837]: pa
159
+ Jul 20 07:38:34 ip-172-32-52-159.ap-northeast-1.compute.internal sudo[22233]: pam_unix(sudo:session): session closed for user root
166
-
167
- Jul 20 06:31:26 ip-172-32-52-159.ap-northeast-1.compute.internal dhclient[777]:
160
+
168
-
169
- ```
161
+ ```
162
+
163
+
164
+
170
-
165
+ /var/log/mysqld.log
166
+
171
-
167
+ ```
168
+
169
+ 2021-07-19T16:17:16.374543Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.26) initializing of server in progress as process 12155
170
+
171
+ 2021-07-19T16:17:16.428930Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
172
+
173
+ 2021-07-19T16:17:16.904320Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
174
+
175
+ 2021-07-19T16:17:17.977254Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
176
+
177
+ 2021-07-19T16:17:17.977632Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
178
+
179
+ 2021-07-19T16:17:18.168868Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: AEb;9.Ba=oxI
180
+
181
+ 2021-07-19T16:17:21.501872Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.26) starting as process 12201
182
+
183
+ 2021-07-19T16:17:21.517859Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
184
+
185
+ 2021-07-19T16:17:21.523224Z 0 [ERROR] [MY-012681] [InnoDB] mmap(137101312 bytes) failed; errno 12
186
+
187
+ 2021-07-19T16:17:21.523341Z 1 [ERROR] [MY-012956] [InnoDB] Cannot allocate memory for the buffer pool
188
+
189
+ 2021-07-19T16:17:21.523418Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
190
+
191
+ 2021-07-19T16:17:21.523495Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
192
+
193
+ 2021-07-19T16:17:21.523658Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
194
+
195
+ 2021-07-19T16:17:21.523805Z 0 [ERROR] [MY-010119] [Server] Aborting
196
+
197
+ 2021-07-19T16:17:21.525279Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.26) MySQL Community Server - GPL.
198
+
199
+ 2021-07-19T16:25:12.986789Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.26) initializing of server in progress as process 12484
200
+
201
+ 2021-07-19T16:25:13.043362Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
202
+
203
+ 2021-07-19T16:25:13.522811Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
204
+
205
+ 2021-07-19T16:25:14.718035Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
206
+
207
+ 2021-07-19T16:25:14.718442Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
208
+
209
+ 2021-07-19T16:25:14.847610Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: ?k3aB;;aD?mc
210
+
211
+ 2021-07-19T16:25:18.123201Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.26) starting as process 12535
212
+
213
+ 2021-07-19T16:25:18.142247Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
214
+
215
+ 2021-07-19T16:25:18.146734Z 0 [ERROR] [MY-012681] [InnoDB] mmap(137101312 bytes) failed; errno 12
216
+
217
+ 2021-07-19T16:25:18.146844Z 1 [ERROR] [MY-012956] [InnoDB] Cannot allocate memory for the buffer pool
218
+
219
+ 2021-07-19T16:25:18.146910Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
220
+
221
+ 2021-07-19T16:25:18.147003Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
222
+
223
+ 2021-07-19T16:25:18.147168Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
224
+
225
+ 2021-07-19T16:25:18.147316Z 0 [ERROR] [MY-010119] [Server] Aborting
226
+
227
+ 2021-07-19T16:25:18.148748Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.26) MySQL Community Server - GPL.
228
+
229
+ 2021-07-19T16:25:33.259848Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.26) starting as process 12569
230
+
231
+ 2021-07-19T16:25:33.267424Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
232
+
233
+ 2021-07-19T16:25:33.272721Z 0 [ERROR] [MY-012681] [InnoDB] mmap(137101312 bytes) failed; errno 12
234
+
235
+ 2021-07-19T16:25:33.272839Z 1 [ERROR] [MY-012956] [InnoDB] Cannot allocate memory for the buffer pool
236
+
237
+ 2021-07-19T16:25:33.272904Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
238
+
239
+ 2021-07-19T16:25:33.272980Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
240
+
241
+ 2021-07-19T16:25:33.273141Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
242
+
243
+ 2021-07-19T16:25:33.273272Z 0 [ERROR] [MY-010119] [Server] Aborting
244
+
245
+ 2021-07-19T16:25:33.274406Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.26) MySQL Community Server - GPL.
246
+
247
+ 2021-07-20T02:08:00.147536Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.26) starting as process 15783
248
+
249
+ 2021-07-20T02:08:00.206262Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
250
+
251
+ 2021-07-20T02:08:00.232128Z 0 [ERROR] [MY-012681] [InnoDB] mmap(137101312 bytes) failed; errno 12
252
+
253
+ 2021-07-20T02:08:00.232248Z 1 [ERROR] [MY-012956] [InnoDB] Cannot allocate memory for the buffer pool
254
+
255
+ 2021-07-20T02:08:00.232318Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
256
+
257
+ 2021-07-20T02:08:00.232396Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
258
+
259
+ 2021-07-20T02:08:00.232564Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
260
+
261
+ ```
172
262
 
173
263
 
174
264