FATAL:could not connect to the primary server:invalid connection option "application_name"
来源:互联网 发布:me软件是什么 编辑:程序博客网 时间:2024/06/04 01:32
最新的postgresql版本9.4发布之后,用postgresql9.4去搭建主备集群,和9.3一样的配置,遇到这么个问题:FATAL:could not connect to the primary server:invalid connection option "application_name",或者是FATAL:could not connect to the primary server:invalid connection option "replication",无效的选项。开始以为是9.4调整了参数,以前的参数不管用了。但是没有找到新的搭建方法,从官网api上也没有找到。
后来,自己在搭建着玩的时候发现没有报错。反复弄了几次,确实没有报错,版本也是9.4。
检查搭建过程,终于发现,是编译的原因。虽然说是,编译成功了,但编译好的安装包文件里面有错误。
至于为什么错了。现在正在研究。
解决方案:一种就是换一个环境编译 第二种就是多编译几次,然后尝试。我都尝试过了,能成功。但是还是推荐第一种,因为第二种不知道哪一次才能编译出来一个能用的。
0 0
- FATAL:could not connect to the primary server:invalid connection option "application_name"
- sqlalchemy.exc.OperationalError: (OperationalError) could not connect to server: Connection refused
- SFTP连接异常 Could not connect to SFTP server. Connection timed out
- 解决PostgreSQL远程访问报错could not connect to server:Connection refused (0x0000274D/10061)
- git clone时出现ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from
- Could not create connection to database server
- Failed to connect to the specified server. Server library could not be loaded
- SVN的could not connect to server
- Fatal error (2555922): Could not open connection to Siebel Gateway
- Failed to connect the specified server.Server library could not be loaded
- 问题解决:psql: could not connect to server: No such file or directory Is the server running
- [error] Could not connect to Selenium Server. Have you started the Selenium Server yet?
- the vsphere client could not connect to you do not have permission to login to the server
- Could not connect to '10.7.100.182' (port 22): Connection failed
- Could not connect to '127.0.0.1' (port 22): Connection failed.
- Could not connect to '10.203.87.140' (port 22): Connection faile
- Can’t connect to MySQL server on ‘localhost’(10055) + Can not open connection + Could not execute query
- svn could not connect to the server 不能连接到服务器的解决方法
- warning C4251 needs to have dll-interface解决办法
- nova中periodic task的实现
- PowerDesigner概念模型详解
- linux学习之十、变量的取用与配置:echo, 变量配置守则, unset
- MAC OS X10.10上Android开发环境搭建
- FATAL:could not connect to the primary server:invalid connection option "application_name"
- log4j logger,Threshold,additivity细节注意
- property_get/property_set
- 响应式设计时如何自动阻止移动浏览器自动调整页面大小
- 结构型模式-适配器
- 创业公司CEO54点
- 消费者对物联网的四大疑虑
- C/S动态生成控件的布局-时间拆分
- SecureCRT如何用RZ,SZ传文件,上传和下载