postmaster.pid does not exist,为啥呀?

简介:

很多时候,Deepgreen(Greenplum)启动过程中,会抛出一个postmastr.pid不存在的错误,产生这个问题的原因有很多,下面介绍一下,如有不足敬请补充:

1.Master没有启动所用的空间

解决办法:

  • 可以通过删除不用的数据(如log日志)的方式,留出足够的空间来启动数据库
  • 扩展磁盘空间
  • 临时转移log日志,带数据库启动并删除不用的数据库表数据后,重新把log日志转移回来

2.数据库升级后,忘了改环境变量或环境变量设置有问题

解决办法:

  • 重新修改.bash_profile或.bashrc文件,环境变量设置正确

gpadmin@mdw ~]$ more .bash_profile 
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
 
[gpadmin@mdw ~]$ more .bashrc 
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
# User specific aliases and functions
source /usr/local/greenplum-db/greenplum_path.sh
export MASTER_DATA_DIRECTORY=/data/master/gpseg-1
source /usr/local/greenplum-cc-web-1.2.0.1-build-2/gpcc_path.sh 
[gpadmin@mdw ~]$

3.pg_hba.conf中配置的客户端访问地址不对。

解决办法:

  • 修改pg_hba.conf文件,正确配置访问地址。
目录
相关文章
|
SQL 分布式计算 安全
jps查看进程出现「xxxx -- process information unavailable」
jps查看进程出现「xxxx -- process information unavailable」
1408 0
jps查看进程出现「xxxx -- process information unavailable」
|
数据库
使用mongod启动mongo数据库时报错ERROR: child process failed, exited with error number 100
使用mongod启动mongo数据库时报错ERROR: child process failed, exited with error number 100
使用mongod启动mongo数据库时报错ERROR: child process failed, exited with error number 100
|
网络协议 关系型数据库 数据库连接
致命错误: 锁文件 "postmaster.pid" 已经存在
测试备份命令时发现,数据库连接有问题
1897 0
|
关系型数据库 MySQL
MySQL提示:The server quit without updating PID file问题的解决办法
<p><span style="color:#3333ff">MySQL提示:The server quit without updating PID file问题的解决办法</span></p> <p><span style="color:#3333ff"><br></span></p> <p><span style="color:#3333ff">mysql 5.5 </span>
68663 0
|
Oracle 关系型数据库 Linux
oom_kill_process造成数据库挂起并出现found dead shared server
这篇博客是上一篇博客Oracle shutdown immediate遭遇ORA-24324 ORA-24323 ORA-01089的延伸(数据库挂起hang时,才去重启的),其实这是我们海外一工厂的遇到的案例,把内容拆开是因为这个case分开讲述显得主题明确一些。
1301 0
|
关系型数据库 MySQL
mysql配置完半同步复制之后报错[ERROR] The server quit without updating PID file
修改配置,MySQL启动报:[ERROR] The server quit without updating PID file     [root@localhost mysql]# /etc/init.
2022 0
|
关系型数据库 MySQL Linux
MySQL启动报:[ERROR] The server quit without updating PID file
修改配置后MySQL启动不了,报错: [root@localhost mysql]# service mysql restart Starting MySQL...[ERROR] The server quit without updating PID file (/usr/local/mysql/data/mysqld.pid). 看见这个不要惊慌,先把刚才修改的配置注释掉,看是不是配置有误!大部分是手误造成。
4681 0