[英]failed to connect to postgres server
I have a strange issue. 我有一个奇怪的问题。 Until 2 days back, my setup has been working for almost 2 years.
直到两天前,我的设置已经工作了将近两年。 the setup that always worked :
始终有效的设置:
1. I use postgress 9.3 for development on my laptop.
2. I use intellij idea database tools to browse data
3. sometimes I use pgadmin
4. I run maven build of our application
for the past 2 days, when I run maven install , build fails with 在过去的2天里,当我运行maven install时,构建失败
[main] ERROR SqlExceptionHelper.logExceptions(146) | Cannot create PoolableConnectionFactory (The connection attempt failed.)
but, my idea client, pgadmin have no problem connecting. 但是,我的主意客户端pgadmin连接没有问题。
2015-11-06 11:08:02 CST LOG: could not receive data from client: An operation was attempted on something that is not a socket.
2015-11-06 11:08:02 CST LOG: incomplete startup packet
2015-11-06 11:08:17 CST LOG: could not receive data from client: An operation was attempted on something that is not a socket.
2015-11-06 11:08:17 CST LOG: incomplete startup packet
2015-11-06 11:08:35 CST WARNING: pgstat wait timeout
2015-11-06 11:08:46 CST WARNING: pgstat wait timeout
2015-11-06 11:09:35 CST WARNING: pgstat wait timeout
2015-11-06 11:09:45 CST WARNING: pgstat wait timeout
I also disabled firewall and tried. 我也禁用了防火墙并尝试了。 It still fails.
它仍然失败。
any hints on what could be happening ? 关于可能发生什么的任何提示?
It looks like something's wrong with the windows TCP/IP stack. Windows TCP / IP堆栈似乎有问题。
See: 看到:
Possible actions include: 可能的动作包括:
Completely uninstall your antivirus product or (worse) "internet security" suite if you have one. 如果有,请完全卸载防病毒产品或(更糟糕的)“互联网安全性”套件。 Disabling it is not likely to be enough.
禁用它不太可能是不够的。 You can reinstall or install a better one once you've confirmed it's the cause.
确认这是原因之后,您可以重新安装或安装更好的产品。
Do a windows TCP/IP stack reset . 执行Windows TCP / IP堆栈重置 。 Exact steps depend on your Windows version, which you did not mention, so you might need to look around a bit.
确切步骤取决于您未提及的Windows版本,因此您可能需要四处看看。 This might have side effects like clearing settings that break other applications.
这可能会产生一些副作用,例如清除会破坏其他应用程序的设置。 You should know what you're doing, be willing to accept possible problems, or get professional support from a tech with Windows skills.
您应该知道自己在做什么,愿意接受可能的问题,或者从具有Windows技能的技术那里获得专业支持。
Check the system for possible rootkit or undetected virus activity 检查系统中可能的rootkit或未检测到的病毒活动
Uninstall any unnecessary drivers for 3G modems, cable providers, etc 卸载3G调制解调器,电缆提供商等不需要的驱动程序
If you installed any software recently, remove it 如果您最近安装了任何软件,请将其删除
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.