{"id":7972,"date":"2017-01-05T10:48:55","date_gmt":"2017-01-05T01:48:55","guid":{"rendered":"http:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=7972"},"modified":"2017-01-05T10:48:55","modified_gmt":"2017-01-05T01:48:55","slug":"postgresql%e3%81%ab%e6%8e%a5%e7%b6%9a%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84%e3%80%82%ef%bc%88no-pg_hba-conf-entry-for-host-user-postgres-database-opmanagerdb-ssl-off%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=7972","title":{"rendered":"PostgreSQL\u306b\u63a5\u7d9a\u3067\u304d\u306a\u3044\u3002\uff08no pg_hba.conf entry for host \"<IP\u30a2\u30c9\u30ec\u30b9>\", user \"postgres\", database \"OpManagerDB\", SSL off\uff09"},"content":{"rendered":"<p>\u3010\u73fe\u8c61\/\u8981\u671b\u3011<br \/>\nOpManager\u304c\u8d77\u52d5\u305b\u305a\u3001PostgreSQL\u3078\u3082\u63a5\u7d9a\u3067\u304d\u306a\u3044\u3002<br \/>\nOpManager\\pgsql\\data\\pg_logs\\postgresql-&lt;\u65e5\u6642&gt;.csv\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u6b21\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<p><em>YYYY-MM-DD hh:mm:ss.ms JST postgres OpManagerDB NNNN &lt;IP\u30a2\u30c9\u30ec\u30b9&gt;:&lt;\u30dd\u30fc\u30c8\u756a\u53f7&gt; xxxxxxxx.xxxx 1 authentication YYYY-MM-DD hh:mm:ss JST 2\/400 0 FATAL 28000 no pg_hba.conf entry for host \"&lt;IP\u30a2\u30c9\u30ec\u30b9&gt;\", user \"postgres\", database \"OpManagerDB\", SSL off<\/em><\/p>\n<p>\u4f8b\uff1a<br \/>\n<em>2015-01-30 10:22:10.123 JST postgres OpManagerDB 4568 192.168.10.123:57893 274e1256.10a1 1 authentication 2015-01-30 10:22:10 JST 2\/400 0 FATAL 28000 no pg_hba.conf entry for host \"192.168.10.123\", user \"postgres\", database \"OpManagerDB\", SSL off<\/em><\/p>\n<p><em>no pg_hba.conf entry for host \"&lt;IP\u30a2\u30c9\u30ec\u30b9&gt;\", user \"postgres\", database \"OpManagerDB\", SSL off<\/em><\/p>\n<p>\u3010\u539f\u56e0\u3011<br \/>\nOpManager\u306b\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u3066\u3044\u308bPostgreSQL\u306f\u3001<br \/>\n\u6a19\u6e96\u3067127.0.0.1(\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8)\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u30de\u30b7\u30f3\u5074\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u5909\u66f4\u7b49\u3067<br \/>\nOpManager\u30b5\u30fc\u30d0\u304b\u3089PostgreSQL\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308bIP\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u66f4\u3055\u308c\u305f\u5834\u5408\u3001<br \/>\n\u672c\u73fe\u8c61\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3010\u89e3\u6c7a\u65b9\u6cd5\u3011<br \/>\nPostgreSQL \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e\u3088\u3046\u306b\u30a8\u30f3\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fb\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb<br \/>\n<em>\uff1cOpManager\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\uff1e\\pgsql\\data\\pg_hba.conf<\/em><\/p>\n<p>\u30fb\u5909\u66f4\u524d<br \/>\n----------------------------<br \/>\n<em># IPv4 local connections:<\/em><br \/>\n<em>host all all 127.0.0.1\/32 trust<\/em><br \/>\n----------------------------<\/p>\n<p>\u30fb\u5909\u66f4\u5f8c<br \/>\n----------------------------<br \/>\n<em># IPv4 local connections:<\/em><br \/>\n<em>host all all 127.0.0.1\/32 trust<\/em><br \/>\n<strong><em>host all all &lt;IP\u30a2\u30c9\u30ec\u30b9&gt;\/32 trust<\/em><\/strong><br \/>\n----------------------------<br \/>\n\u203b&lt;IP\u30a2\u30c9\u30ec\u30b9&gt;\u306b\u306fpostgresql-&lt;\u65e5\u6642&gt;.csv\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u542b\u307e\u308c\u308bIP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\uff1a<br \/>\n<em>host all all 192.168.10.123\/32 trust<\/em><\/p>\n<p>\u30a8\u30f3\u30c8\u30ea\u3092\u8ffd\u52a0\u5f8c\u3001OpManager\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\u3010\u5bfe\u5fdc\u30ea\u30ea\u30fc\u30b9\u3011 9450\u4ee5\u964d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u73fe\u8c61\/\u8981\u671b\u3011 OpManager\u304c\u8d77\u52d5\u305b\u305a\u3001PostgreSQL\u3078\u3082\u63a5\u7d9a\u3067\u304d\u306a\u3044\u3002 OpManager\\pgsql\\data\\pg_logs\\pos\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=7972\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[15,14],"tags":[],"class_list":["post-7972","post","type-post","status-publish","format-standard","hentry","category-7-trouble-opm","category-6-knownissue-opm"],"modified_by":"yuka","_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/7972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7972"}],"version-history":[{"count":3,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/7972\/revisions"}],"predecessor-version":[{"id":19044,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/7972\/revisions\/19044"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}