<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Kłopot z pg_hba.conf linux(ubuntu)]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=370&amp;type=atom"/>
	<updated>2010-01-08T21:51:11Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=370</id>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1688#p1688"/>
			<content type="html"><![CDATA[No tak sorki moja głupota... Tak to jest jak się siedziało w Widowsie (bezmyślne klikanie "Dalej") teraz wychodzi mi bokiem.

W każdym razie " * Starting PostgreSQL 8.3 database server                              
 [ OK ]"  jeszcze raz dzięki za pomoc rski.]]></content>
			<author>
				<name><![CDATA[noobek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1035</uri>
			</author>
			<updated>2010-01-08T21:51:11Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1688#p1688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1687#p1687"/>
			<content type="html"><![CDATA[No przecież pisze
[quote]
2010-01-08 17:12:46 GMT KATASTROFALNY:  data directory "/var/lib/postgresql/8.3/main" has group or world access
2010-01-08 17:12:46 GMT SZCZEGÓŁY:  Permissions should be u=rwx (0700).
[/quote]

Zmien prawa
[code]
chmod -R 700 /var/lib/postgresql/8.3/main
[/code]]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-08T21:06:15Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1687#p1687</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1686#p1686"/>
			<content type="html"><![CDATA["root@marcin-desktop:/home/marcin# /etc/init.d/postgresql-8.3 stop
 * Stopping PostgreSQL 8.3 database server                               [ OK ] 
root@marcin-desktop:/home/marcin# /etc/init.d/postgresql-8.3 start
 * Starting PostgreSQL 8.3 database server                                       * The PostgreSQL server failed to start. Please check the log output:
2010-01-08 17:12:46 GMT KATASTROFALNY:  data directory "/var/lib/postgresql/8.3/main" has group or world access
2010-01-08 17:12:46 GMT SZCZEGÓŁY:  Permissions should be u=rwx (0700).
                                                                         [fail]
Hm ,  stop działa start, restart nie chce coś... Brak praw ? Ale do czego ?]]></content>
			<author>
				<name><![CDATA[noobek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1035</uri>
			</author>
			<updated>2010-01-08T17:21:04Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1686#p1686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1685#p1685"/>
			<content type="html"><![CDATA[Problem w tym ze kolega nie wie gdzie sobie zainstalowal klaster z baza. Odszukaj plik postmaster.pid i jesli serwer chodzi o z twoich bledow wynika ze chodzi to ten plik bedzie w katalogu z klastre,. ten katalog podaj po -D w pg_ctl restart.

Ewentualnie sprawdz czy w /etc/init.d nie ma jakiegos skryptu do restartu postgresa.]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-08T11:22:25Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1685#p1685</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1684#p1684"/>
			<content type="html"><![CDATA[hej,

Jak instalowałem postgreSQL na Red Hacie, to w liście ip pojawiła mi się linijką "local". Spójrz poniżej. Spróbuj dodać tę linijkę z local i zrestartować pgsql.

[code]
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               md5
# IPv4 local connections:
host    all         all         127.0.0.1/32          md5
host all all  0.0.0.0/0 md5
# IPv6 local connections:
host    all         all         ::1/128               md5
[/code]

Pamiętam, jak mocowałem się z instalowaniem postgresa, to miałem problem z reinstalacją. Jak dawałem uninstall, to nie wykasowywał mi pliku systemowego, który ma zapisane ścieżki, gdzie postgres ma szukać pg_hba.conf itd. Niestety nie pamiętam, gdzie on był!]]></content>
			<author>
				<name><![CDATA[Myziot]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=947</uri>
			</author>
			<updated>2010-01-08T09:28:32Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1684#p1684</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1682#p1682"/>
			<content type="html"><![CDATA[ehhh... "pg_ctl: PID file "/etc/postgresql/8.3/main/postmaster.pid" does not exist
Is server running?
starting server anyway
pg_ctl: could not read file "/etc/postgresql/8.3/main/postmaster.opts"

hm...
No nic może jakoś to po meczę. W każdym razię wielkie dzięki za pomoc ;)]]></content>
			<author>
				<name><![CDATA[noobek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1035</uri>
			</author>
			<updated>2010-01-07T22:58:21Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1682#p1682</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1681#p1681"/>
			<content type="html"><![CDATA[no tak myślałem, widze ze niestety instalowales postgresa z paczek.
No dobra może tak
[code]
/usr/lib/postgresql/8.3/bin/pg_ctl restart -D /etc/postgresql/8.3/main
[/code]]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-07T22:49:27Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1681#p1681</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1680#p1680"/>
			<content type="html"><![CDATA["pg_ctl: no database directory specified and environment variable PGDATA unset
Try "pg_ctl --help" for more information."
hm ?? nadal nie mogę... 

 /usr/lib/postgresql/8.3/bin/pg_ctl restart]]></content>
			<author>
				<name><![CDATA[noobek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1035</uri>
			</author>
			<updated>2010-01-07T22:41:57Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1680#p1680</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1679#p1679"/>
			<content type="html"><![CDATA[chyba nieznane :).

NIe wiem gdzie masz binarki postgresa musisz sobie poszukac, raczej nie sa w /etc (tam gdzie pg_gba.conf)

Odszukac mozesz poleceniem (najlepiej z konta root'a)
[code]
find / -iname pg_ctl 2>/dev/null
[/code]]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-07T22:34:20Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1679#p1679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1678#p1678"/>
			<content type="html"><![CDATA[pg_ctl restart <- nieprawidłowe polecenie.

niestety też nieprawidłowe -> pg_ctl reload]]></content>
			<author>
				<name><![CDATA[noobek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1035</uri>
			</author>
			<updated>2010-01-07T22:31:56Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1678#p1678</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1677#p1677"/>
			<content type="html"><![CDATA[?! :)
A po co restartujesz apache'a ?
Zmieniasz plik konfiguracyjny postgresa wiec jego powinienes restartowac
Jak masz odpowiednia ustawione sciezki to powinna wystaczyc
[code]
pg_ctl restart
[/code]

albo 

[code]
pg_ctl reload
[/code]]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-07T22:29:23Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1677#p1677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1676#p1676"/>
			<content type="html"><![CDATA[/etc/init.d/apache2 restart]]></content>
			<author>
				<name><![CDATA[noobek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1035</uri>
			</author>
			<updated>2010-01-07T22:28:06Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1676#p1676</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1675#p1675"/>
			<content type="html"><![CDATA[Jak restartujesz serwer? Jakim poleceniem?]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-07T22:27:28Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1675#p1675</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1674#p1674"/>
			<content type="html"><![CDATA[Hm ale co nie zrobie w pliku pg_hba to i tak to samo jest po restarcie hm..]]></content>
			<author>
				<name><![CDATA[noobek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1035</uri>
			</author>
			<updated>2010-01-07T22:26:25Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1674#p1674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Odp: Kłopot z pg_hba.conf linux(ubuntu)]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1673#p1673"/>
			<content type="html"><![CDATA[Jak restartowałeś serwer?
Masz zainstalowanego tylko jednego postgresa?
To co pokazujesz to zawartość pliku /etc/postgresql/8.3/main/pg_hba.conf  ?]]></content>
			<author>
				<name><![CDATA[rski]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=26</uri>
			</author>
			<updated>2010-01-07T22:25:41Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1673#p1673</id>
		</entry>
</feed>
