Unix Technical Forum

[HELP]InstallationStepByStep?

This is a discussion on [HELP]InstallationStepByStep? within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> Dear PgAdmin Forum, I had installed postgresql and pgadmin, but something is wrong. I have Debian experimental and kernel ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 07:33 PM
Andrew Toth
 
Posts: n/a
Default [HELP]InstallationStepByStep?



Dear PgAdmin Forum,


I had installed postgresql and pgadmin, but something is wrong.

I have Debian experimental and kernel 2.6.17 running;

apt-get install postgresql-common odbc-postgresql postgresql-client-8.1
postgresql-client-common postgresql-8.1 pgadmin3

and some other packages...

I modified postgresql.conf:
listen_addresses = '*'
port = 5432
max_connections = 50
unix_socket_directory = '/var/run/postgresql'
ssl = true


I started pgadmin3 on the same computer and hit connection button:
address: localhost
description: proba
service:
port: 5432
SSL: require
MaintanceDB: postgres
Username: postgres
password: a
storepassword:true
connect now: true

But I got a message:
//An error has occured:

Error connecting to the server: FATAL: password authentication failed
for user "postgres"//

But in bash shell, "su postgres" and typing password allows me to login
to its sh. So i really don't know how to install it correctly to get it
go...
(ARe there step-by-step- or complete idiot's installation instructions
for my machine?)



--




Tisztelettel: / Grüße / Yours sincerely,
Andrew Toth
tothaa@freestart.hu
MSN: tothaa@msn.com
ICQ: 311-837-922






---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 07:33 PM
=?UTF-8?B?UmFwaGHDq2wgRW5yaWNp?=
 
Posts: n/a
Default Re: [HELP]InstallationStepByStep?

Hi Andrew,

Andrew Toth wrote:
>
> Dear PgAdmin Forum,
> I had installed postgresql and pgadmin, but something is wrong.
>
> I have Debian experimental and kernel 2.6.17 running;
>
> apt-get install postgresql-common odbc-postgresql postgresql-client-8.1
> postgresql-client-common postgresql-8.1 pgadmin3
>
> and some other packages...
>
> I modified postgresql.conf:
> listen_addresses = '*'
> port = 5432
> max_connections = 50
> unix_socket_directory = '/var/run/postgresql'
> ssl = true
>
>
> I started pgadmin3 on the same computer and hit connection button:
> address: localhost
> description: proba
> service:
> port: 5432
> SSL: require
> MaintanceDB: postgres
> Username: postgres
> password: a
> storepassword:true
> connect now: true
> But I got a message:
> //An error has occured:
>
> Error connecting to the server: FATAL: password authentication failed
> for user "postgres"//
>
> But in bash shell, "su postgres" and typing password allows me to login
> to its sh. So i really don't know how to install it correctly to get it
> go...
> (ARe there step-by-step- or complete idiot's installation instructions
> for my machine?)


Try to put "/var/run/postgresql" as the address field instead of
localhost in the pgAdmin III connection window. This should do the trick.

When you use psql from bash without option, psql uses the unix domain
socket (a file socket, located in "unix_socket_directory=<dir name>")...
Permissions are handled differently when using TCP/IP socket and UNIX
domain sockets (see the pg_hba.conf file)... When you specify localhost
as the address field in pgAdmin III this is just like "psql -h localhost".

Let us now if it's ok.

Regards,
Raphaël

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:30 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com