pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6521: cannot make connection due to "getsockname() failed: Invalid argument"
2+ messages / 2 participants
[nested] [flat]
* BUG #6521: cannot make connection due to "getsockname() failed: Invalid argument"
@ 2012-03-06 05:46 maczniak@gmail.com
2012-04-09 14:15 ` Re: BUG #6521: cannot make connection due to "getsockname() failed: Invalid argument" Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: maczniak@gmail.com @ 2012-03-06 05:46 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 6521
Logged by: Jeongho Jeon
Email address: maczniak@gmail.com
PostgreSQL version: 9.1.1
Operating system: Windows 7
Description:
Hi!
PostgreSQL 9.1.1.1 does not accept connections from clients sometimes.
PostgreSQL is installed by Windows installer and it is started by Windows
service on boot time automatically. PostgreSQL logs are like below. My
coworkers encounter these phenomena occasionally. After restarting the
PostgreSQL service, it works well. This log entry comes from
src/backend/libpq/pqcomm.c. I am not certain that this is a bug. I searched
but could not find a clue. Thanks!
WSAEINVAL - The socket has not been bound to an address with bind, or
ADDR_ANY is specified in bind but connection has not yet occurred.
from MSDN,
http://msdn.microsoft.com/en-us/library/windows/desktop/ms738543(v=vs.85).aspx
EINVAL - namelen is invalid (e.g., is negative).
from Linux getsockname(2) manpage
-----[log begin]-----
2012-03-01 11:33:49 KST LOG: database system was shut down at 2012-02-29
20:52:02 KST
2012-03-01 11:33:50 KST LOG: database system is ready to accept
connections
2012-03-01 11:33:50 KST LOG: autovacuum launcher started
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:24 KST LOG: could not receive data from client: No
connection could be made because the target machine actively refused it.
2012-03-01 11:42:24 KST LOG: unexpected EOF on client connection
2012-03-01 11:42:27 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:42:27 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:42:27 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:42:27 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:44:24 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:44:24 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:44:24 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:44:24 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:46:00 KST LOG: getsockname() failed: Invalid argument
2012-03-01 11:46:00 KST LOG: getsockname() failed: Invalid argument
-----[log end]-----
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #6521: cannot make connection due to "getsockname() failed: Invalid argument"
2012-03-06 05:46 BUG #6521: cannot make connection due to "getsockname() failed: Invalid argument" maczniak@gmail.com
@ 2012-04-09 14:15 ` Robert Haas <robertmhaas@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Robert Haas @ 2012-04-09 14:15 UTC (permalink / raw)
To: maczniak@gmail.com; +Cc: pgsql-bugs
On Tue, Mar 6, 2012 at 12:46 AM, <maczniak@gmail.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6521
> Logged by: Jeongho Jeon
> Email address: maczniak@gmail.com
> PostgreSQL version: 9.1.1
> Operating system: Windows 7
> Description:
>
> Hi!
>
> PostgreSQL 9.1.1.1 does not accept connections from clients sometimes.
> PostgreSQL is installed by Windows installer and it is started by Windows
> service on boot time automatically. PostgreSQL logs are like below. My
> coworkers encounter these phenomena occasionally. After restarting the
> PostgreSQL service, it works well. This log entry comes from
> src/backend/libpq/pqcomm.c. I am not certain that this is a bug. I searched
> but could not find a clue. Thanks!
Sometimes this sort of issue can be caused by anti-virus software
(even if it's disabled).
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-04-09 14:15 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-03-06 05:46 BUG #6521: cannot make connection due to "getsockname() failed: Invalid argument" maczniak@gmail.com
2012-04-09 14:15 ` Robert Haas <robertmhaas@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox