{"id":6536,"date":"2021-08-31T13:47:15","date_gmt":"2021-08-31T04:47:15","guid":{"rendered":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/?p=6536"},"modified":"2021-08-31T16:22:07","modified_gmt":"2021-08-31T07:22:07","slug":"%e3%80%90%e6%97%a2%e7%9f%a5%e3%81%ae%e4%b8%8d%e5%85%b7%e5%90%88%e3%80%91%e3%83%aa%e3%82%b9%e3%83%88%e3%82%a2%e3%81%ab%e5%a4%b1%e6%95%97%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/?p=6536","title":{"rendered":"\u3010\u65e2\u77e5\u306e\u4e0d\u5177\u5408\u3011\u30ea\u30b9\u30c8\u30a2\u306b\u5931\u6557\u3059\u308b"},"content":{"rendered":"<h5>\u78ba\u8a8d\u30d3\u30eb\u30c9<\/h5>\n<p>ServiceDesk Plus\u30d3\u30eb\u30c911144\u300111204\u300111208<\/p>\n<h5>\u554f\u984c<\/h5>\n<p>\u30ea\u30b9\u30c8\u30a2\u306b\u5931\u6557\u3057\u307e\u3059\u3002<\/p>\n<h5>\u539f\u56e0<\/h5>\n<p>\u73fe\u884c\u306e\u4ed5\u69d8\u306e\u30ea\u30b9\u30c8\u30a2\u306f\u3001\u4e00\u5ea6\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u3059\u3079\u3066\u306e\u30c6\u30fc\u30d6\u30eb\u306e\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u3001\u305d\u306e\u5f8c\u3001\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u306e\u30ea\u30b9\u30c8\u30a2\u304c\u884c\u308f\u308c\u307e\u3059\u304c\u3001\u4e00\u90e8\u306e\u74b0\u5883\u3067\u306f\u3001\u30c7\u30fc\u30bf\u306e\u524a\u9664\u30af\u30a8\u30ea\u304c\u3059\u3079\u3066\u540c\u3058\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u5185\u3067\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001\u5171\u6709\u30e1\u30e2\u30ea\u4e0d\u8db3\u306b\u3088\u308b\u969c\u5bb3\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<h5>\u672c\u4e0d\u5177\u5408\u306e\u898b\u5206\u3051\u65b9<\/h5>\n<p>\uff1c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1e\\ManageEngine\\ServiceDesk\u306e\u300cSDPRestore.log\u300d\u306b\u4ee5\u4e0b\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote><p>Deleting all tables...<br \/>\nError occurred while deletion of all the table,<br \/>\nNote: Reinitialize, start and stop the application and perform the restore<br \/>\nError Tables : wordmap,wordoccurrences,errorlog,softwarelist,softwaremanufacturer<br \/>\nSB_Applications<br \/>\nReason For failure: \u30d0\u30c3\u30c1 0 INSERT INTO SB_Applications (appl_id,appl_name,appl_desc,template_meta_handler,dc_type) VALUES(1, 'MetaPersistence', NULL, NULL, NULL) \u306f\u30a2\u30dc\u30fc\u30c8\u3057\u307e\u3057\u305f: ERROR: duplicate key value violates unique constraint \"sb_applications_pk\"<br \/>\n\u8a73\u7d30: Key (appl_id)=(1) already exists. \u3053\u306e\u30d0\u30c3\u30c1\u306e\u4ed6\u306e\u30a8\u30e9\u30fc\u306f getNextException \u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002java.sql.BatchUpdateException: \u30d0\u30c3\u30c1 0 INSERT INTO SB_Applications (appl_id,appl_name,appl_desc,template_meta_handler,dc_type) VALUES(1, 'MetaPersistence', NULL, NULL, NULL) \u306f\u30a2\u30dc\u30fc\u30c8\u3057\u307e\u3057\u305f: ERROR: duplicate key value violates unique constraint \"sb_applications_pk\"<br \/>\n\u8a73\u7d30: Key (appl_id)=(1) already exists. \u3053\u306e\u30d0\u30c3\u30c1\u306e\u4ed6\u306e\u30a8\u30e9\u30fc\u306f getNextException \u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\nat org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:169)<br \/>\nat org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:52)<br \/>\nat org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2286)<br \/>\nat org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:521)<br \/>\nat org.postgresql.jdbc.PgStatement.internalExecuteBatch(PgStatement.java:870)<br \/>\nat org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:893)<br \/>\nat com.adventnet.servicedesk.tools.RestoreSDBackup.restoreTableData(RestoreSDBackup.java:992)<br \/>\nat com.adventnet.servicedesk.tools.RestoreSDBackup.restoreDatabase(RestoreSDBackup.java:459)<br \/>\nat com.adventnet.servicedesk.tools.RestoreSDBackup.main(RestoreSDBackup.java:144)<br \/>\nat com.adventnet.servicedesk.tools.RestoreDialog$5.run(RestoreDialog.java:188)<br \/>\nat java.lang.Thread.run(Thread.java:748)<br \/>\nCaused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint \"sb_applications_pk\"<br \/>\n\u8a73\u7d30: Key (appl_id)=(1) already exists.<br \/>\nat org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2553)<br \/>\nat org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2285)<br \/>\n... 8 more<\/p><\/blockquote>\n<div class=\"attention\">\u4e0a\u8a18\u3068\u540c\u69d8\u306e\u30c8\u30ec\u30fc\u30b9\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u4ed6\u306e\u8981\u56e0\u304c\u539f\u56e0\u3067\u30ea\u30b9\u30c8\u30a2\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u969b\u306f\u672c\u624b\u9806\u3092\u5b9f\u65bd\u305b\u305a\u3001<a href=\"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/?p=5614\" target=\"_blank\" rel=\"noopener\">\u6280\u8853\u30b5\u30dd\u30fc\u30c8<\/a>\u3078\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/div>\n<h5>\u89e3\u6c7a\u7b56<\/h5>\n<p>\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\uff1c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1e\\ManageEngine\\ServiceDesk\\pgsql\\data\u306b\u3042\u308b\u300cpostgresql.conf\u300d\u3092\u30e1\u30e2\u5e33\u3067\u958b\u304d\u307e\u3059\u3002<\/li>\n<li>\u300c#max_locks_per_transaction = 64\u300d\u3092\u63a2\u3057\u307e\u3059\u3002<\/li>\n<li>\u4e0a\u8a18\u3092\u300cmax_locks_per_transaction = 2512\u300d\u306b\u5909\u66f4\u3057\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/servicedeskplus.helpdocsonline.com\/restore-process\" target=\"_blank\" rel=\"noopener\">\u30ea\u30b9\u30c8\u30a2\u51e6\u7406<\/a>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/li>\n<li>\u30ea\u30b9\u30c8\u30a2\u304c\u6210\u529f\u5f8c\u3001\u300cpostgresql.conf\u300d\u306e\u300cmax_locks_per_transaction = 2512\u300d\u3092\u300c#max_locks_per_transaction = 64\u300d\u306b\u5909\u66f4\u3057\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<li>ServiceDesk Plus\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u4e0a\u8a18\u624b\u9806\u3088\u308a\u3001\u5171\u6709\u30e1\u30e2\u30ea\u3092\u5897\u5f37\u3057\u3001\u30ea\u30b9\u30c8\u30a2\u304c\u6b63\u5e38\u306b\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n<div class=\"point\">\n<p>\u300cmax_locks_per_transaction\u300d\u306f\u3001\u5404\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30ed\u30c3\u30af\u6570\u3092\u5236\u5fa1\u3057\u3066\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u3053\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3067\u30ed\u30c3\u30af\u3067\u304d\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6570\u3092\u6307\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u5024\u306f\u300c64\u300d\u3067\u3001\u901a\u5e38\u3067\u3042\u308c\u3070\u30ea\u30b9\u30c8\u30a2\u51e6\u7406\u304c\u52d5\u4f5c\u3059\u308b\u305f\u3081\u306b\u306f\u5341\u5206\u306a\u5024\u3067\u3059\u304c\u3001\u56de\u907f\u7b56\u3068\u3057\u3066\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3054\u3068\u306b\u30ed\u30c3\u30af\u3067\u304d\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6570\u306e\u5024\u3092\u5897\u3084\u3059\u3053\u3068\u3067\u4e0d\u5177\u5408\u3092\u56de\u907f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n<h5>\u4fee\u6b63\u4e88\u5b9a\u30d3\u30eb\u30c9<\/h5>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f311.3\u306e\u30ea\u30ea\u30fc\u30b9\u3067\u4fee\u6b63\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u78ba\u8a8d\u30d3\u30eb\u30c9 ServiceDesk Plus\u30d3\u30eb\u30c911144\u300111204\u300111208 \u554f\u984c \u30ea\u30b9\u30c8\u30a2\u306b\u5931\u6557\u3057\u307e\u3059\u3002 \u539f\u56e0 \u73fe\u884c\u306e\u4ed5\u69d8\u306e\u30ea\u30b9\u30c8\u30a2\u306f\u3001\u4e00\u5ea6\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/?p=6536\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":80,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[3,5],"tags":[243,320,3612150,186],"class_list":["post-6536","post","type-post","status-publish","format-standard","hentry","category-trouble-sdp","category-knownissue-sdp","tag-243","tag-320","tag-3612150","tag-186"],"modified_by":"kohei","_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts\/6536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/users\/80"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6536"}],"version-history":[{"count":7,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts\/6536\/revisions"}],"predecessor-version":[{"id":10790,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=\/wp\/v2\/posts\/6536\/revisions\/10790"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/ServiceDesk_Plus\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}