ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: community@lists.altlinux.org
Subject: [Comm] PostgreSQL
Date: Wed, 26 Oct 2005 22:19:39 +0400
Message-ID: <1978176844.20051026221939@mail.ru> (raw)

Здравствуйте!

Полгода назад я взвёл на компьютере PostgreSQL, пользовался им
пару месяцев --- всё было нормально. Сейчас после перерыва psql
понадобился опять, но несмотря на то, что я ничего по этому
поводу в системе не менял запустить его не удаётся:

root # service postgresql start
Adjusting environment for postgresql:                                   [ DONE ]
Starting postmaster service:                                            [ DONE ]
Link postgresql socket:                                                 [ DONE ]

на 12-й консоли:

pam_tcb[410]: su: Session opened for postgres by root(uid=0)
pam_tcb[410]: su: Session closed for postgres
postgresql: Adjusting environment for postgresql: succeeded
pam_tcb[1688]: su: Session opened for postgres by root(uid=0)
pam_tcb[1688]: su: Session closed for postgres
postgresql: postmaster startup succeeded

Но, если сразу после этого:

root # service postgresql status
postmaster is stopped

Ну и соответственно:

root # psql my_db
psql: could not connect to server: Connection refused
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Т.е. останавливается всё быстро и без следов в /var/log/messages.

Из системных изменений за последнее время был dist-upgrade после
лета.

Система АЛМ2.4 + updates:
root # uname -r
2.4.26-std-up-alt12

root # psql --version
psql (PostgreSQL) 7.4.7
contains support for command-line editing

Подскажите, пожалуйста, как бы это починить.

-- 
С уважением,
 Vladimir                          



             reply	other threads:[~2005-10-26 18:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26 18:19 Vladimir Karpinsky [this message]
2005-10-26 20:47 ` spider
2005-10-27  5:54   ` Vladimir Karpinsky
2005-10-27  7:17 ` [Comm] PostgreSQL Michael Shigorin
2005-10-27 10:44   ` Vladimir Karpinsky

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=1978176844.20051026221939@mail.ru \
    --to=vkarpinsky@mail.ru \
    --cc=community@lists.altlinux.org \
    /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