

{"id":1089,"date":"2017-05-11T08:00:19","date_gmt":"2017-05-10T23:00:19","guid":{"rendered":"https:\/\/curecode.jp\/tech\/?p=1089"},"modified":"2017-05-09T18:47:33","modified_gmt":"2017-05-09T09:47:33","slug":"mysql-table-cactipoller_output-is-marked-as-crashed-and-should-be-repaired","status":"publish","type":"post","link":"https:\/\/curecode.jp\/tech\/mysql-table-cactipoller_output-is-marked-as-crashed-and-should-be-repaired\/","title":{"rendered":"MySQL \u306e\u30ed\u30b0\u306b\u5927\u91cf\u306e Table &#8216;.\/cacti\/poller_output&#8217; is marked as crashed and should be repaired \u304c\u51fa\u529b\u3055\u308c\u308b"},"content":{"rendered":"<p>\n  MySQL \u306e\u30ed\u30b0\u304c\u6025\u306b\u80a5\u5927\u5316\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u8abf\u3079\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ed\u30b0\u304c\u5927\u91cf\u306b\u51fa\u3066\u3044\u307e\u3057\u305f\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" >170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n170502 16:35:04 [ERROR] \/usr\/libexec\/mysqld: Table '.\/cacti\/poller_output' is marked as crashed and should be repaired\r\n<\/pre>\n<p>\u307e\u305f\u3001cacti \u306e\u30ed\u30b0\u3082\u80a5\u5927\u5316\u3057\u3066\u304a\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ed\u30b0\u304c\u51fa\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"lang:default decode:true \" >05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  LIMIT 10000\"\r\n05\/02\/2017 04:55:07 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:\"select  poller_output.output,  poller_output.time,  UNIX_TIMESTAMP(poller_output.time) as unix_time,  poller_output.local_data_id,  poller_item.rrd_path,  poller_item.rrd_name,  poller_item.rrd_num  from (poller_output,poller_item)  where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)  \"\r\n<\/pre>\n<p>\n  cacti \u304c\u66f8\u304d\u8fbc\u3093\u3067\u3044\u308b MySQL \u306e\u30c6\u30fc\u30d6\u30eb\u304c\u4f55\u3089\u304b\u306e\u7406\u7531\u3067\u58ca\u308c\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\u3002\n<\/p>\n<h3>\u4fee\u5fa9\u65b9\u6cd5<\/h3>\n<p>\n  phpMyAdmin \u304c\u5165\u3063\u3066\u3044\u308c\u3070\u7c21\u5358\u306b\u4fee\u5fa9\u53ef\u80fd\u3067\u3059\u3002\n<\/p>\n<p>\n  cacti \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u69cb\u9020\u3092\u898b\u308b\u3068\u3001\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u308b poller_output \u30c6\u30fc\u30d6\u30eb\u304c\u300c\u4f7f\u7528\u4e2d\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n poller_output \u306b\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u3066\u3001\u300c\u30c6\u30fc\u30d6\u30eb\u3092\u4fee\u5fa9\u3059\u308b\u300d\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n<\/p>\n<p>\n   \u4fee\u5fa9\u304c\u5b8c\u4e86\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306f\u7121\u304f\u306a\u308a\u307e\u3059\u3002\u3082\u3063\u3068\u3082\u3053\u306e\u3068\u304d\u306f\u4fee\u5fa9\u5f8c\u30ec\u30b3\u30fc\u30c9\u304c 0\u4ef6\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u7a7a\u306b\u3057\u3066\u3082\u540c\u3058\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\n<\/p>\n<h3>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5b9f\u884c<\/h3>\n<p>\n  \u540c\u3058\u3053\u3068\u3067\u3059\u304c\u3001phpMyAdmin \u304b\u3089\u3067\u306f\u306a\u304f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089 MySQL \u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u5165\u3063\u3066\u5b9f\u884c\u3059\u308b\u5834\u5408\u306e\u65b9\u6cd5\u3067\u3059\u3002\n<\/p>\n<pre><code class=\"sql\">\r\nREPAIR TABLE `poller_output` ;\r\n<\/code><\/pre>\n<p>\n  \u307e\u305f\u3001SQL \u306e\u5b9f\u884c\u3067\u306f\u306a\u304f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" ># mysqlcheck -u root -p --repair --databases cacti\r\nEnter password:\r\ncacti.cdef                                         OK\r\ncacti.cdef_items                                   OK\r\ncacti.colors                                       OK\r\ncacti.data_input                                   OK\r\ncacti.data_input_data                              OK\r\ncacti.data_input_fields                            OK\r\ncacti.data_local                                   OK\r\ncacti.data_template                                OK\r\ncacti.data_template_data                           OK\r\ncacti.data_template_data_rra                       OK\r\ncacti.data_template_rrd                            OK\r\ncacti.graph_local                                  OK\r\ncacti.graph_template_input                         OK\r\ncacti.graph_template_input_defs                    OK\r\ncacti.graph_templates                              OK\r\ncacti.graph_templates_gprint                       OK\r\ncacti.graph_templates_graph                        OK\r\ncacti.graph_templates_item                         OK\r\ncacti.graph_tree                                   OK\r\ncacti.graph_tree_items                             OK\r\ncacti.host                                         OK\r\ncacti.host_graph                                   OK\r\ncacti.host_snmp_cache                              OK\r\ncacti.host_snmp_query                              OK\r\ncacti.host_template                                OK\r\ncacti.host_template_graph                          OK\r\ncacti.host_template_snmp_query                     OK\r\ncacti.plugin_config                                OK\r\ncacti.plugin_db_changes                            OK\r\ncacti.plugin_hooks                                 OK\r\ncacti.plugin_realms                                OK\r\ncacti.poller                                       OK\r\ncacti.poller_command                               OK\r\ncacti.poller_item                                  OK\r\ncacti.poller_output                                OK\r\ncacti.poller_reindex                               OK\r\ncacti.poller_time                                  OK\r\ncacti.rra                                          OK\r\ncacti.rra_cf                                       OK\r\ncacti.settings                                     OK\r\ncacti.settings_graphs                              OK\r\ncacti.settings_tree                                OK\r\ncacti.snmp_query                                   OK\r\ncacti.snmp_query_graph                             OK\r\ncacti.snmp_query_graph_rrd                         OK\r\ncacti.snmp_query_graph_rrd_sv                      OK\r\ncacti.snmp_query_graph_sv                          OK\r\ncacti.user_auth                                    OK\r\ncacti.user_auth_perms                              OK\r\ncacti.user_auth_realm                              OK\r\ncacti.user_log                                     OK\r\ncacti.version                                      OK<\/pre>\n<p>\n  \u3053\u308c\u3060\u3051\u3067\u3059\u304c\u304a\u56f0\u308a\u306e\u6642\u306f\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\n<\/p>\n<h3>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u4e2d\uff01<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u5c11\u4eba\u6570\u306e\u8077\u5834\u306a\u306e\u3067\u3001\u4e0a\u6d41\u30fb\u4e0b\u6d41\u3084\u30b5\u30fc\u30d0\u30fc\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5bfe\u5fdc\u306e\u57a3\u6839\u306a\u304f\u3001\u3042\u306a\u305f\u306e\u5f37\u307f\u3092\u6d3b\u304b\u3057\u306a\u304c\u3089 \u3044\u308d\u3044\u308d\u306a\u3053\u3068\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u53ef\u80fd\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u672a\u7d4c\u9a13\u306e\u65b9\u3001\u7d4c\u9a13\u304c\u5c11\u306a\u3044\u65b9\u3082\u6b53\u8fce\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u3088\u308aIT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u306e\u63a1\u7528\u60c5\u5831\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/curecode.jp\/recruit\/itengineer\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/it_recruit.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n<h3>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u516c\u5f0f\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306e\u65b0\u30b5\u30fc\u30d3\u30b9\u60c5\u5831\u3084\u3001\u30aa\u30d5\u30a3\u30b9\u30e9\u30a4\u30d5\u306e\u7d20\u6575\u306a\u77ac\u9593\u307e\u3067\u3002\u79c1\u305f\u3061\u306e\u65e5\u3005\u306e\u55b6\u307f\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/www.instagram.com\/curecode\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/insta_bn.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MySQL \u306e\u30ed\u30b0\u304c\u6025\u306b\u80a5\u5927\u5316\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u8abf\u3079\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ed\u30b0\u304c\u5927\u91cf\u306b\u51fa\u3066\u3044\u307e\u3057\u305f\u3002 1705 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":593,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[115,134,71],"class_list":["post-1089","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql","tag-cacti","tag-log","tag-mysql"],"_links":{"self":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/comments?post=1089"}],"version-history":[{"count":2,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1089\/revisions"}],"predecessor-version":[{"id":1091,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1089\/revisions\/1091"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media\/593"}],"wp:attachment":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media?parent=1089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/categories?post=1089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/tags?post=1089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}