* [Comm] postgreSQL
@ 2003-10-01 3:24 Shushensky USZN
2003-10-01 7:25 ` Slava Dubrovskiy
0 siblings, 1 reply; 2+ messages in thread
From: Shushensky USZN @ 2003-10-01 3:24 UTC (permalink / raw)
To: community
Здравствуйте ...
Помогите разобраться с сабжем.
Иногда, после загрузки получаю:
psql: не получилось подсоединится к серверу: No such file or directory
Работает ли сервер локально и принимает
подсоединения по сокету Unix'овского домена "/tmp/.s.PGSQL.5432"?
Если делаю :
$ sudo service postgresql restart
Shutting down postgresql:
[FAILED]
Adjusting environment for postgresql:
[ OK ]
Starting postgresql:
[ OK ]
Link postgresql socket: -- это не запускается (в 12 консоли -- failed)
Перегружаю компьютер -- все работает. Как "вылечить" без перезагрузки
компа ?
Система: Junior 2.2, PostgreSQL - 7.2 из Мастера 2.0
Заранее благодарю...
--
Астапкевич Владислав
Заведующий отделом ИТО
Шушенское УСЗН e-mail: szn59@krasmail.ru
-----------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] postgreSQL
2003-10-01 3:24 [Comm] postgreSQL Shushensky USZN
@ 2003-10-01 7:25 ` Slava Dubrovskiy
0 siblings, 0 replies; 2+ messages in thread
From: Slava Dubrovskiy @ 2003-10-01 7:25 UTC (permalink / raw)
To: community
Shushensky USZN пишет:
> Здравствуйте ...
>
> Помогите разобраться с сабжем.
> Иногда, после загрузки получаю:
>
> psql: не получилось подсоединится к серверу: No such file or directory
> Работает ли сервер локально и принимает
> подсоединения по сокету Unix'овского домена "/tmp/.s.PGSQL.5432"?
>
> Если делаю :
> $ sudo service postgresql restart
> Shutting down postgresql: [FAILED]
> Adjusting environment for postgresql: [ OK ]
> Starting postgresql: [ OK ]
> Link postgresql socket: -- это не запускается (в 12 консоли -- failed)
>
> Перегружаю компьютер -- все работает. Как "вылечить" без перезагрузки
> компа ?
>
> Система: Junior 2.2, PostgreSQL - 7.2 из Мастера 2.0
>
> Заранее благодарю...
>
Это он не может подключиться к socket. Socket это специальный файл,
обычно во временной дирректории (ищи в директории postgresql т.к. он в
chroot работает). Он создается при включении Postgresql и должен
удаляться по окончании работы. Если не удаляется по каким-то причинам,
то потом ругается. Так же это может происходить при нарушении прав на
дирректории.
Слава Д.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-01 7:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 3:24 [Comm] postgreSQL Shushensky USZN
2003-10-01 7:25 ` Slava Dubrovskiy
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git