From: Slava Dubrovskiy <slava@psv.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] postgreSQL
Date: Wed, 01 Oct 2003 10:25:19 +0300
Message-ID: <3F7A815F.9000506@psv.com.ua> (raw)
In-Reply-To: <3F7A48EC.1030201@krasmail.ru>
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 и должен
удаляться по окончании работы. Если не удаляется по каким-то причинам,
то потом ругается. Так же это может происходить при нарушении прав на
дирректории.
Слава Д.
prev parent reply other threads:[~2003-10-01 7:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-01 3:24 Shushensky USZN
2003-10-01 7:25 ` Slava Dubrovskiy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F7A815F.9000506@psv.com.ua \
--to=slava@psv.com.ua \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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