<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Не удается соединиться с базой postgres под windows.]]></title><description><![CDATA[<p dir="auto">Решил посмотреть, что такое NetXMS.<br />
И сразу возникла проблема при установке.<br />
ОС Windows XP Professional.<br />
Есть postgresql 8.1, запущенная на localhost.<br />
при установке NetXMS выдает ошибку (цитата из логов):<br />
[27-Nov-2007 22:07:30] Database driver "pgsql.ddr" loaded and initialized successfully<br />
[27-Nov-2007 22:07:55] Unable to establish connection with database<br />
Поддержку postgresql установил. Имя пользователя и пароль прописал верно.<br />
В чем еще может быть проблема?</p>
]]></description><link>https://forum.netxms.org/topic/147/не-удается-соединиться-с-базой-postgres-под-windows.</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:03:45 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/147.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Nov 2007 17:48:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Sat, 01 Dec 2007 18:28:20 GMT]]></title><description><![CDATA[<p dir="auto">Сработало. Спасибо. <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
Указал вместо localhost - 127.0.0.1<br />
Все подключилось, установилось и настроилось успешно.</p>
]]></description><link>https://forum.netxms.org/post/730</link><guid isPermaLink="true">https://forum.netxms.org/post/730</guid><dc:creator><![CDATA[Retter]]></dc:creator><pubDate>Sat, 01 Dec 2007 18:28:20 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Sat, 01 Dec 2007 15:33:52 GMT]]></title><description><![CDATA[<p dir="auto">Pohoze chto localhost po umolchaniju resolvitsja v IPv6 address ::1. Poprobujte localhost zamenit' na 127.0.0.1</p>
]]></description><link>https://forum.netxms.org/post/726</link><guid isPermaLink="true">https://forum.netxms.org/post/726</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 01 Dec 2007 15:33:52 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Sat, 01 Dec 2007 11:51:17 GMT]]></title><description><![CDATA[<p dir="auto">netxmsd.conf:</p>
<pre><code>LogFile = i:\Мои документы\netxms.log
DBDriver = pgsql.ddr
DBServer = localhost
DBName = netxms_db
DBLogin = postgres
DBPassword = 1234
LogFailedSQLQueries = yes
</code></pre>
<p dir="auto">Если выбираю создать новую базу с именем netxms_db, то в логах postgresql пишет:</p>
<pre><code>2007-12-01 18:41:11 FATAL:  no pg_hba.conf entry for host "::1", user "postgres", database "template1", SSL off
</code></pre>
<p dir="auto">Если создаю пустую базу с таким же именем вручную и указываю использовать существующую базу, то в логах пишет:</p>
<pre><code>2007-12-01 18:44:13 FATAL:  no pg_hba.conf entry for host "::1", user "postgres", database "netxms_db", SSL off
</code></pre>
]]></description><link>https://forum.netxms.org/post/725</link><guid isPermaLink="true">https://forum.netxms.org/post/725</guid><dc:creator><![CDATA[Retter]]></dc:creator><pubDate>Sat, 01 Dec 2007 11:51:17 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Fri, 30 Nov 2007 11:20:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/retter" aria-label="Profile: retter">@<bdi>retter</bdi></a> said in <a href="/post/716">Не удается соединиться с базой postgres под windows.</a>:</p>
<blockquote>
<p dir="auto">2007-11-30 15:59:37 FATAL:  no pg_hba.conf entry for host "::1", user "postgres", database "template1", SSL off</p>
</blockquote>
<p dir="auto">Это значит, что пытались подключится на localhost по IPv6, юзером postgres на базу template1.</p>
<p dir="auto">Покажите netxmsd.conf, пожалуйста.</p>
]]></description><link>https://forum.netxms.org/post/723</link><guid isPermaLink="true">https://forum.netxms.org/post/723</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 30 Nov 2007 11:20:41 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Fri, 30 Nov 2007 10:15:25 GMT]]></title><description><![CDATA[<p dir="auto">а базу netxms_db c данными создали?</p>
]]></description><link>https://forum.netxms.org/post/720</link><guid isPermaLink="true">https://forum.netxms.org/post/720</guid><dc:creator><![CDATA[weec]]></dc:creator><pubDate>Fri, 30 Nov 2007 10:15:25 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Fri, 30 Nov 2007 09:38:47 GMT]]></title><description><![CDATA[<p dir="auto">Да. Все полностью на localhost.</p>
]]></description><link>https://forum.netxms.org/post/719</link><guid isPermaLink="true">https://forum.netxms.org/post/719</guid><dc:creator><![CDATA[Retter]]></dc:creator><pubDate>Fri, 30 Nov 2007 09:38:47 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Fri, 30 Nov 2007 09:20:49 GMT]]></title><description><![CDATA[<p dir="auto">netxmsd на этой же машине?</p>
]]></description><link>https://forum.netxms.org/post/717</link><guid isPermaLink="true">https://forum.netxms.org/post/717</guid><dc:creator><![CDATA[weec]]></dc:creator><pubDate>Fri, 30 Nov 2007 09:20:49 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Fri, 30 Nov 2007 10:13:07 GMT]]></title><description><![CDATA[<p dir="auto">В логах postgresql пишет следующее:</p>
<p dir="auto">2007-11-30 15:59:37 FATAL:  no pg_hba.conf entry for host "::1", user "postgres", database "template1", SSL off</p>
<p dir="auto">Если честно, не совсем представляю, что это значит.<br />
postgres - это у меня суперпользователь. База template1 не знаю вообще откуда. Я указываю netxms_db.<br />
в файле pg_hba.conf  одна строчка по сути:</p>
<pre><code># TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
# IPv4 local connections:
host    all         all         127.0.0.1/32          md5
</code></pre>
<p dir="auto">Файрвол выключил. Не помогло.</p>
<p dir="auto">Локальный сайт на php под apache нормально работает со своей базой в postgresql.</p>
]]></description><link>https://forum.netxms.org/post/716</link><guid isPermaLink="true">https://forum.netxms.org/post/716</guid><dc:creator><![CDATA[Retter]]></dc:creator><pubDate>Fri, 30 Nov 2007 10:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается соединиться с базой postgres под windows. on Fri, 30 Nov 2007 06:51:30 GMT]]></title><description><![CDATA[<p dir="auto">есть, что в логах postgresql-сервера?<br />
нет ли у других приложений проблем с доступом к postgresql-серверу?<br />
возможно стоит отключить штатный firewall</p>
]]></description><link>https://forum.netxms.org/post/715</link><guid isPermaLink="true">https://forum.netxms.org/post/715</guid><dc:creator><![CDATA[weec]]></dc:creator><pubDate>Fri, 30 Nov 2007 06:51:30 GMT</pubDate></item></channel></rss>