Mongo connecting error Failed to connect to: *.*.201.18:27018: Remote server has closed the conne
2014-06-27 11:42
483 查看
服务使用redis+mongo集群,因为mongo集群机器内存太小,所以迁移到其他大一点空间的机器,以做压力测试。
可是机器迁移以后,client调用,发现如下报错
mongo不能连接,但是在server端测试ok。
找寻了半天发现一个英文资料,说client端的mongo扩展也需要重启。
所以赶紧重启php:
client刷新页面,报错消失。
可是机器迁移以后,client调用,发现如下报错
Mongo connecting error Failed to connect to: *.*.201.18:27018: Remote server has closed the connection
mongo不能连接,但是在server端测试ok。
找寻了半天发现一个英文资料,说client端的mongo扩展也需要重启。
所以赶紧重启php:
kill -USR2 `cat /usr/local/php/var/run/php-fpm.pid`
client刷新页面,报错消失。
相关文章推荐
- WinRM不起作用 Connecting to remote server failed with the following error message : WinRM cannot complete the operation
- Error:The Citrix Presentation Server failed to Connect to the Data Store
- error 18483: could not connect to server 'dalian' because 'distributor_admin' is not defined as a remote login at the server.
- ARCSDE直连Oracle时出现错误Failed to connect to the specified server. Underlying DBMS error[ORA-12154: TNS:could not resolve the connect identifier specified. No extended error]
- “psql: could not connect to server: Connection refused” Error when connecting to remote database
- Error message when you try to use the Live Meeting console to connect to Communications Server 2007: "Live Meeting cannot connect to the meeting."
- An error has occurred while establishing a connection to the server处理方法
- Understanding the error message: “Login failed for user ''. The user is not associated with a trusted SQL Server connect
- 在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"的解决方案
- Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."
- 如何解决sql server2005的“不允许远程连接”错误.(how to resolve the error: "SQL Server does not allow remote connections" for SQL Server2005)
- Launch error: Failed to connect to remote VM. Connection timed out
- Error message when you try to install a SQL Server 2005 service pack or a SQL Server 2005 hotfix package: "Error 29528. The setup has encountered an unexpected error while Setting Internal Properties"
- 解决 android "launch error failed to connect to remote vm"
- Error when connecting to Windows Server 2003 using Remote Desktop
- "A transport-level error has occurred when sending the request to the server"的解决办法
- WCF分布式开发常见错误(26):Authentication failed because the remote party has closed the transport stream.
- “Launch error: Failed to connect to remote VM” 解决方法
- 【转】Vmware ESX 3.0出现“error connecting: can not connect to host x.x.x.x: a connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed……的解决方法