psql: FATAL: the database system is starting up
来源:互联网 发布:北京云计算公司 编辑:程序博客网 时间:2024/05/17 15:38
pg9.6.1在搭建同步流复制的standby库时,启动备库时,报错:[postgres@pghs ~]$ psqlpsql: FATAL: the database system is starting up后经检查,是postgresql.conf中hot_standby没有设置:hot_standby = on成功: [postgres@pghs ~]$ psqlpsql (9.6.1)Type "help" for help.postgres=#后经大神提点,在执行psql报错的时候,并非是启动备库时,只是是在连接备库时,此时备库时正常的,只是连不上:[postgres@pghs datass]$ psqlpsql: FATAL: the database system is starting up[postgres@pghs datass]$ ps -ef | grep postgresroot 1822 1777 0 01:00 pts/0 00:00:00 su - postgrespostgres 1823 1822 0 01:00 pts/0 00:00:00 -bashpostgres 1873 1823 0 01:01 pts/0 00:00:00 psqlroot 3962 3942 0 14:35 pts/2 00:00:00 su - postgrespostgres 3963 3962 0 14:35 pts/2 00:00:00 -bashpostgres 4084 1 0 14:41 pts/2 00:00:00 /usr/pg/postgresql-9.6.1/bin/postgres -D /PostgreSQL/9.6.1/datasspostgres 4085 4084 0 14:41 ? 00:00:00 postgres: logger process postgres 4086 4084 0 14:41 ? 00:00:00 postgres: startup process recovering 000000010000000000000015 postgres 4087 4084 0 14:41 ? 00:00:00 postgres: checkpointer process postgres 4088 4084 0 14:41 ? 00:00:00 postgres: writer process postgres 4096 3963 0 14:42 pts/2 00:00:00 ps -efpostgres 4097 3963 0 14:42 pts/2 00:00:00 grep postgres[postgres@pghs datass]$ netstat -a | grep PGSQLunix 2 [ ACC ] STREAM LISTENING 19502 /tmp/.s.PGSQL.5432[postgres@pghs datass]$
0 0
- psql: FATAL: the database system is starting up
- FATAL: the database system is starting up
- postgres 备库遇到 FATAL: the database system is starting up问题
- postgresql主备之the database system is starting up
- FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION
- vagrant up error: Valid states are 'starting, running'. The machine is in the 'poweroff' state 解决
- Fatal: the Postfix mail system is already running 的解决方案
- the path to become a better android developer is starting up
- psql: FATAL: role "root" is not permitted to log in
- struts2.1.8启动 FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION
- 133.Your database is open and the LISTENER listener is running. The new DBA of the system stops the
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: The remote end hung up unexpectedly
- fatal: The remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- ChucK初步(13)
- bzoj1008 [HNOI2008]越狱
- CSS实战(2)
- 23. Merge k Sorted Lists***
- Tarjan算法(OJ3899)
- psql: FATAL: the database system is starting up
- hdu3790 最短路径问题
- 利用spark做文本分类(朴素贝叶斯模型)
- ECMAScript 6 笔记(五)
- poj2449--A*算法求解k短路
- 小白的NoClassDefFoundError和ClassNotFoundException的解决方法
- 树状数组总结
- 【Mac系统】树莓派开机
- atoi() 和 itoa()