Re: [GENERAL] can't connect to server on localhost

2010-04-06 Thread Alban Hertroys
On 6 Apr 2010, at 21:00, Heine Ferreira wrote: > Hi > > Last night i mailed a message about me not being able to install Postgresql > 8.4.3 successfully on windows 7 professional. > I have since temporary quitted my antivirus and firewall programs and I could > install successfull. > In the ins

Re: [GENERAL] Can't connect

2009-10-29 Thread Richard Huxton
Bob Pawley wrote: > I am on Windows and am running an anti virus program. But I was running > the same programs on Windows before without this problem. Well, as long as you're happy you've ruled out your anti-virus, and you're running 8.3.8 then you'll want to monitor it and next time it happens r

Re: [GENERAL] Can't connect

2009-10-29 Thread Alvaro Herrera
Bob Pawley wrote: > FATAL: could not reattach to shared memory (key=1804, addr=0170): 487 > 2009-10-29 00:19:20 PDT WARNING: worker took too long to start; cancelled > > Is there some way of ensuring that the server always accepts a connection? This is a known bug, supposedly fixed in 8.3.

Re: [GENERAL] Can't connect

2009-10-29 Thread Bob Pawley
I am on Windows and am running an anti virus program. But I was running the same programs on Windows before without this problem. Bob - Original Message - From: "Richard Huxton" To: "Bob Pawley" Cc: Sent: Thursday, October 29, 2009 10:24 AM Subject: Re: [GE

Re: [GENERAL] Can't connect

2009-10-29 Thread Richard Huxton
Bob Pawley wrote: > Hi > > My copy of PostgreSQL version 8.3 has decided not to receive a > connection after an idle time measured in hours. Odd. > It acceptes the connection one I stop the server and then restart. At > this point, it always asks for the password. > > Here is the log of the eve

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-25 Thread Scott Marlowe
On 9/25/07, Morris Goldstein <[EMAIL PROTECTED]> wrote: > On 9/25/07, Scott Marlowe <[EMAIL PROTECTED]> wrote: > > But since it hit all of your machines, and at about the same time, I > > tend to think that someone did something to these machines that caused > > this issue, and it's not a 7.4.x pro

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-25 Thread Tom Lane
"Morris Goldstein" <[EMAIL PROTECTED]> writes: > We've recovered. There is root cause analysis going on. The question is > whether I can use an argument about 8.0 vs. 7.4 reliability from this fiasco > to help us get to 8.0. > 8.0 actually is more reliable than 7.4, I assume. I don't know that I'd

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-25 Thread Morris Goldstein
On 9/25/07, Scott Marlowe <[EMAIL PROTECTED]> wrote: > > But since it hit all of your machines, and at about the same time, I > tend to think that someone did something to these machines that caused > this issue, and it's not a 7.4.x problem. I'm sure it is pilot error, and we're still trying to

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-25 Thread Scott Marlowe
On 9/25/07, Morris Goldstein <[EMAIL PROTECTED]> wrote: > Thanks for your help with pg_resetxlog. It recovered all of our databases, > and it looks like we got lucky in that no updates were lost. > > We are deciding on the goals for our next release, and one of the issues on > the table is an upgra

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-25 Thread Morris Goldstein
Thanks for your help with pg_resetxlog. It recovered all of our databases, and it looks like we got lucky in that no updates were lost. We are deciding on the goals for our next release, and one of the issues on the table is an upgrade to postgres 8. Can you comment on the improvements in performa

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-22 Thread Tom Lane
"Morris Goldstein" <[EMAIL PROTECTED]> writes: > I looked at the pg_resetxlog documentation and have a question. Here > is output from pg_resetxlog -n: [ snipped to just the non-constant numbers ] > Current log file ID: 0 > Next log file segment:1 > Latest checkpo

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-22 Thread Morris Goldstein
On 9/22/07, Tom Lane <[EMAIL PROTECTED]> wrote: > "Morris Goldstein" <[EMAIL PROTECTED]> writes: > > ... > > 2007-09-22 07:06:05 [3060] LOG: could not open file > > "/var/lib/pgsql/data/pg_xlog/" (log file 0, segment 0): No > > such file or directory > > ... > > ... > > You might

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-22 Thread Morris Goldstein
Sorry to reply to myself but here's a bit more info. That strace shows a crash. The node that was denying logins is now complaining about checkpoint file 000...000. It appears to be the case that a few attempts to start converts a db that rejects logins to one that crashes on startup. (When I first

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-22 Thread Morris Goldstein
On 9/22/07, Tom Lane <[EMAIL PROTECTED]> wrote: > "Morris Goldstein" <[EMAIL PROTECTED]> writes: > > Two of the nodes have logs that look like this: > > > 2007-09-22 07:06:05 [3060] LOG: could not open file > > "/var/lib/pgsql/data/pg_xlog/" (log file 0, segment > > 0): No such fil

Re: [GENERAL] Can't connect (2 dbs) or login (2 others)

2007-09-22 Thread Tom Lane
"Morris Goldstein" <[EMAIL PROTECTED]> writes: > Two of the nodes have logs that look like this: > 2007-09-22 07:06:05 [3060] LOG: could not open file > "/var/lib/pgsql/data/pg_xlog/" (log file 0, segment > 0): No such file or directory > 2007-09-22 07:06:05 [3060] LOG: invalid p

Re: [GENERAL] Can't connect to postgresql using 'psql -d database -U user -W'

2006-01-05 Thread Rick Ellis
In article <[EMAIL PROTECTED]>, ctobini <[EMAIL PROTECTED]> wrote: >tobini% psql -d template1 -U postgres -W >password: postgres >psql: FATAL: IDENT authentication failed for user "postgres" > >Do you have an idea about this problem ? Use the su command to become user postgres and then run the p

Re: [GENERAL] Can't connect to postgresql using 'psql -d database -U user -W'

2006-01-05 Thread Larry Rosenman
ctobini wrote: > Hello, > > I have a problem with postgresql 7.4 installed on Linux Ubuntu 5.04 > (hoary). > > I made an 'alter' command for my db users : > > eg: alter user postgres with password 'postgres'; > ALTER USER > > but I can't connect to postgresql using : > > tobini% psql -d templa

Re: [GENERAL] Can't connect to instance with pgaccess

2005-09-09 Thread Douglas McNaught
stan <[EMAIL PROTECTED]> writes: > After several years away from Postgres, I'm back to using it for a small > project. > > I installed 7.4.8 on a FreeBSD 5.4-STABLE machine. Then I init'd the db and > added myself as a user, then created a ned db for the prohect. I can > connect fine with psql. >

Re: [GENERAL] Can't connect to posgresql server by using pgadmin

2005-07-29 Thread Richard Huxton
Chris Guo wrote: I just installed postgresql 0.8.3 on the fedora core linux 3, I also Version 8.0.3 I hope, 0.8.3 would be *very* old. installed pgadmin 1.0.2 in my computer. But I am having trouble connecting postgresql by using pgadmin, it shows me the error message" An error occurred: Erro

Re: [GENERAL] Can't connect after restart

2005-07-26 Thread Audrey Bergeron-Morin
Hi again, I still can't connect. I need someone to tell me what I can try to discover what the problem is. Again, here's the problem: pgSQL 8.0.3 install on WinXP SP1. The install works fine. The DB starts and works until we restart the computer. When the machine reboots, we can't connect to t

Re: [GENERAL] Can't connect after restart

2005-07-24 Thread Magnus Hagander
> Another question on the same matter: > > Do I need XP SP2 for pgSQL 8.0.3 to work correctly? I have > all the security patches, but not SP2. No, it shold work fine with both RTM and SP1. (That said, I'd definitly recommend SP2, but that is as a general matter not as a postgresql requirement)

Re: [GENERAL] Can't connect after restart

2005-07-22 Thread Audrey Bergeron-Morin
Another question on the same matter: Do I need XP SP2 for pgSQL 8.0.3 to work correctly? I have all the security patches, but not SP2. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

Re: [GENERAL] Can't connect after restart

2005-07-21 Thread Audrey Bergeron-Morin
--- "Matthew T. O'Connor" wrote: > Audrey Bergeron-Morin wrote: > > >We've been having trouble with a pgSQL 8.0.3 > install > >on a WXP machine. Install goes fine, DB works until > we > >restart the machine, then we can't connect. First > time > >we thought something was corrupted because we h

Re: [GENERAL] Can't connect after restart

2005-07-21 Thread Matthew T. O'Connor
Audrey Bergeron-Morin wrote: We've been having trouble with a pgSQL 8.0.3 install on a WXP machine. Install goes fine, DB works until we restart the machine, then we can't connect. First time we thought something was corrupted because we had a power outage, we uninstalled/reinstalled and it was

Re: [GENERAL] Can't connect to Windows port + other

2004-09-01 Thread Matthew T. O'Connor
Anony Mous wrote: Great, I found the part of the docs referring to this (ch 27.11) however, it refers to creating this file in the user's home directory. It seems this part of the documentation is assuming I'm using *nix. In Windows, where should this file be located? Also, .pgpass is an invalid

Re: [GENERAL] Can't connect to Windows port + other

2004-09-01 Thread Anony Mous
ame in Win. Thanks! -Original Message- From: Tom Lane [mailto:[EMAIL PROTECTED] Sent: September 1, 2004 5:19 PM To: Anony Mous Cc: [EMAIL PROTECTED] Subject: Re: [GENERAL] Can't connect to Windows port + other "Anony Mous" <[EMAIL PROTECTED]> writes: > If so, w

Re: [GENERAL] Can't connect to Windows port + other

2004-09-01 Thread Robby Russell
On Wed, 2004-09-01 at 16:12, Doug McNaught wrote: > "Anony Mous" <[EMAIL PROTECTED]> writes: > > > A few days ago there was a fellow that had trouble connecting remotely to > > the 8.0 beta win port. I had the same problem, but have since found the > > solution. In postgresql.conf file, ensure t

Re: [GENERAL] Can't connect to Windows port + other

2004-09-01 Thread Tom Lane
"Anony Mous" <[EMAIL PROTECTED]> writes: > If so, why not set the listen_addresses to '*' right away? Security. It was difficult enough to get people to accept the current liberalized default --- I don't think they'll go for defaulting to -i, which is essentially what you're asking for. It's see

Re: [GENERAL] Can't connect to Windows port + other

2004-09-01 Thread Doug McNaught
"Anony Mous" <[EMAIL PROTECTED]> writes: > A few days ago there was a fellow that had trouble connecting remotely to > the 8.0 beta win port. I had the same problem, but have since found the > solution. In postgresql.conf file, ensure the line "listen_addresses" is > set to '*', ie, > > listen_a

Re: [GENERAL] can't connect, strange error

2001-02-01 Thread Oliver Elphick
Jeff wrote: >It is still strange though that I get different behavior >from the exact same source when built on two different >computers. I installed 7.0.2 on my laptop and I get an >interactive prompt ">". On my linux box I installed 7.0.2 >and I get a "#" as the last character in the

Re: [GENERAL] can't connect, strange error

2001-01-31 Thread Jeff
Thanks, It is still strange though that I get different behavior from the exact same source when built on two different computers. I installed 7.0.2 on my laptop and I get an interactive prompt ">". On my linux box I installed 7.0.2 and I get a "#" as the last character in the psql prompt. The

Re: [GENERAL] Can't connect to 6.5.2 server with 7.0.2 client

2000-09-19 Thread Forest Wilkinson
>Recompile your 7.0.2 without --enable-multibyte option. That's a static setting, then? Oh, bother. I was hoping the pg7 clients would be smart enough to fall back as necessary, for connecting non-multibyte servers.

Re: [GENERAL] Can't connect to 6.5.2 server with 7.0.2 client

2000-09-18 Thread Tatsuo Ishii
> I was just about to give postgres 7.0.2 a try on my development machine, > but after installing it, I find that I can't connect to my 6.5.2 > production servers. The following error message is reported by both psql > and pgaccess, upon trying to connect: > > ERROR: MultiByte strings (MB) must