{"id":2153,"date":"2010-11-21T10:39:27","date_gmt":"2010-11-21T01:39:27","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=2153"},"modified":"2019-06-08T10:43:28","modified_gmt":"2019-06-08T01:43:28","slug":"post-2153","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2010\/11\/21\/post-2153\/","title":{"rendered":"zabbix 1.6.8 \u304b\u3089 1.8.3\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3068\u304d\u306b\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306e\u56de\u907f\u65b9\u6cd5"},"content":{"rendered":"\n<p>yum \u3092\u4f7f\u3063\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u81ea\u4f53\u306f\u30011.8.3\u306b\u7c21\u5358\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u3002\u305d\u306e\u5f8c\u306eDB\uff08MySQL\uff09\u3078\u306e\u30d1\u30c3\u30c1\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3002\u3053\u306e\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3059\u308b\u65b9\u6cd5\u3092\u63a2\u3059\u306e\u306b\u3001\u3061\u3087\u3063\u3068\u624b\u9593\u53d6\u3063\u305f\u306e\u3067\u66f8\u3044\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<p><strong>\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc<\/strong><\/p>\n\n\n\n<pre>\n [root@your-0bb7513658 mysql]# mysql -u root zabbix < \/usr\/share\/doc\/zabbix-server-1.8.3\/db\n patches\/1.8\/mysql\/patch.sql\n ERROR 1061 (42000) at line 1: Duplicate key name 'actions_1'\n<\/pre>\n\n\n\n<p><strong>\u5bfe\u5fdc\u65b9\u6cd5<\/strong><\/p>\n\n\n\n<p>\u5148\u306bIndex\u3092\u524a\u9664\u3059\u308b\u3002MySQL\u3067Zabbix\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3059\u308b\u3002<\/p>\n\n\n\n<pre>\n alter table dhosts drop index dhosts_1;\n alter table dservices drop index dservices_1;\n alter table httptest drop index httptest_2;\n alter table httptest drop index httptest_3;\n alter table history_log drop index history_log_2;\n alter table history_text drop index history_text_2;\n alter table actions drop index actions_1;\n alter table escalations drop index escalations_2;\n alter table graphs_items drop index graphs_items_1;\n alter table graphs_items drop index graphs_items_2;\n alter table services drop index services_1; \n<\/pre>\n\n\n\n<p>\u53c2\u8003\uff1a<a href=\"http:\/\/www.zabbix.com\/documentation\/1.8\/manual\/installation\/upgrading\">http:\/\/www.zabbix.com\/documentation\/1.8\/manual\/installation\/upgrading<\/a><\/p>\n\n\n\n<p>Index\u524a\u9664\u5f8c\u306b\u3001\u3082\u3046\u4e00\u5ea6\u3001patch.sql\u3092\u5f53\u3066\u3066\u3084\u308c\u3070\u3001\u4eca\u5ea6\u306f\u6210\u529f\u3059\u308b\u3002\u3053\u306e\u30d1\u30c3\u30c1\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u8981\u6ce8\u610f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>yum \u3092\u4f7f\u3063\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u81ea\u4f53\u306f\u30011.8.3\u306b\u7c21\u5358\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u3002\u305d\u306e\u5f8c\u306eDB\uff08MySQL\uff09\u3078\u306e\u30d1\u30c3\u30c1\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3002\u3053\u306e\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3059\u308b\u65b9\u6cd5\u3092\u63a2\u3059\u306e\u306b\u3001\u3061\u3087\u3063\u3068\u624b\u9593\u53d6\u3063\u305f\u306e\u3067\u66f8\u3044\u3066\u304a\u304f\u3002 \u767a\u751f\u3057\u305f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,7],"tags":[162],"class_list":["post-2153","post","type-post","status-publish","format-standard","hentry","category-network","category-tech-memo","tag-zabbix"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/2153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=2153"}],"version-history":[{"count":1,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/2153\/revisions"}],"predecessor-version":[{"id":2154,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/2153\/revisions\/2154"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=2153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=2153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=2153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}