[GENERAL] can't connect to server on localhost - solved

2010-04-07 Thread Heine Ferreira
Hi I have been experimenting with Postgresql on windows since version 8.3. However I never read much documentation. Previously I was always using Windows XP Prof. with older versions of Kaspersky Internet Security. Recently I bought Windows 7 Prof. 32 bit and also the 2010 version of Kaspersky. I

[GENERAL] can't connect to server on localhost

2010-04-06 Thread Heine Ferreira
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 installation it askes you for a password which it uses for for the

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

[GENERAL] Can't connect

2009-10-29 Thread Bob Pawley
Hi My copy of PostgreSQL version 8.3 has decided not to receive a connection after an idle time measured in hours. 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 event - FATAL: could not reattach to

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 event -

Re: [GENERAL] Can't connect

2009-10-29 Thread Bob Pawley
, 2009 10:24 AM Subject: Re: [GENERAL] Can't connect 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

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.8.

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

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

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 upgrade to

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 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 make

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 problem.

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

2007-09-22 Thread Morris Goldstein
We have a cluster with four nodes, each running a postgres 7.4.8 database. Due to a large amount of pilot error and possibly hardware problems (still trying to get to the bottom of it all), two of the databases won't start, and I can't login to two others, with any registered user. Two of the

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 primary

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 file or directory

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

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 be able to recover, at

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 checkpoint's

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

2006-01-05 Thread ctobini
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 template1 -U postgres -W password: postgres

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 template1 -U

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 psql

[GENERAL] Can't connect to instance with pgaccess

2005-09-09 Thread stan
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. Then I built pgaccess, and p5-DBD-Pg-13 from

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. Then I

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:

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

2005-07-28 Thread Chris Guo
Dear all, I just installed postgresql 0.8.3 on the fedora core linux 3, I also 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: Error connecting to the server: could connect to

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

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

[GENERAL] Can't connect after restart

2005-07-21 Thread Audrey Bergeron-Morin
Hi, 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 fine until, again, we

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 after restart

2005-07-21 Thread Audrey Bergeron-Morin
--- Matthew T. O'Connor matthew@zeut.net 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

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_addresses =

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 seen as

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 the line

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

2004-09-01 Thread Anony Mous
. 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, why not set the listen_addresses

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

[GENERAL] Can't connect to server (postgresql6.2.1)

2001-06-14 Thread Stefan Mertl
A software package i want to use requires postgresql version 6.2.1 Therefor i compiled and installed it, everything works fine. I can connect to the server via psql in xterm. But the software claims, that there is no postgre server running. My hd_dba.conf has the correct settings: host

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 psql

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

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

2000-09-18 Thread Forest Wilkinson
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 be enabled

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 be