ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergei <serpiph@pochtamt.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Postgres
Date: Wed Jun 20 16:46:01 2001
Message-ID: <01062017072001.04228@pif.b5.mephi.ru> (raw)
In-Reply-To: <17259345674.20010620004746@mail.ru>

20 Июнь 2001 00:47 Вы написали:
> Hello mandrake-russian,
> 
>   Люди, как запустить сабж, чтобы к нему можно было по TCP/IP
>   обращаться на интерфейсе 127.0.0.1  на порту 5432 ?
В /etc/rc.d/init.d/postgresql в строке запуска параметр -i:
		if [ $PG_CHROOT_DIR ];
		 then
		  daemon /usr/bin/postmaster -D $PGDATA -S -r $PG_CHROOT_DIR -i
		 else
		  daemon --user postgres /usr/bin/postmaster -D $PGDATA -S -i
		 fi

Также смотрите в файл /var/lib/pgsql/data/pg_hba.conf. Должны быть строки 
(для входа без пароля):
host         all         127.0.0.1     255.255.255.255     trust
с паролем:
host         all         127.0.0.1     255.255.255.255     password

-- 
С уважением, Епифанов Сергей



      parent reply	other threads:[~2001-06-20 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20  0:37 Andy
2001-06-20  8:11 ` Sergey Krivulja
2001-06-20  8:56   ` Re[2]: " Andy
2001-06-20 16:46 ` Sergei [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=01062017072001.04228@pif.b5.mephi.ru \
    --to=serpiph@pochtamt.ru \
    --cc=mandrake-russian@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