GreenPlum数据库启动失败 Failed to start Master instance in admin mode
2013-05-27 14:49
429 查看
[gpadmin@sggp ~]$ gpstart
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Starting gpstart with args:
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Gathering information and validating the environment...
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.2.1.2 build 2'
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Greenplum Catalog Version: '201109210'
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Starting Master instance in admin mode
20130527:14:17:33:003814 gpstart:sggp:gpadmin-[CRITICAL]:-Failed to start Master instance in admin mode
20130527:14:17:33:003814 gpstart:sggp:gpadmin-[CRITICAL]:-Error occurred: non-zero rc: 1
Command was: 'env GPSESSID=0000000000 GPKILL=NEVER GPERA=None $GPHOME/bin/pg_ctl -D /data/masterdata/gpseg-1 -l /data/masterdata/gpseg-1/pg_log/startup.log -w -t 600 -o " -p 5432 -b 1 -z 0 --silent-mode=true -i -M master -C -1 -x 0 -c gp_role=utility " start'
rc=1, stdout='waiting for server to start......could not start server
', stderr='pg_ctl: PID file "/data/masterdata/gpseg-1/postmaster.pid" does not exist
'
[gpadmin@sggp ~]$
出现这个问题有以下几种可能:
1.gpmaster/目录下磁盘已满,没有启动所用的空间;
解决:删除不用的数据。留有足够的空间
2.数据库升过级后,忘了改环境变量或是环境变量设置的有问题
解决:环境变量修改正确即可,实例如下:
[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 ~]$
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Starting gpstart with args:
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Gathering information and validating the environment...
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Greenplum Binary Version: 'postgres (Greenplum Database) 4.2.1.2 build 2'
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Greenplum Catalog Version: '201109210'
20130527:14:17:31:003814 gpstart:sggp:gpadmin-[INFO]:-Starting Master instance in admin mode
20130527:14:17:33:003814 gpstart:sggp:gpadmin-[CRITICAL]:-Failed to start Master instance in admin mode
20130527:14:17:33:003814 gpstart:sggp:gpadmin-[CRITICAL]:-Error occurred: non-zero rc: 1
Command was: 'env GPSESSID=0000000000 GPKILL=NEVER GPERA=None $GPHOME/bin/pg_ctl -D /data/masterdata/gpseg-1 -l /data/masterdata/gpseg-1/pg_log/startup.log -w -t 600 -o " -p 5432 -b 1 -z 0 --silent-mode=true -i -M master -C -1 -x 0 -c gp_role=utility " start'
rc=1, stdout='waiting for server to start......could not start server
', stderr='pg_ctl: PID file "/data/masterdata/gpseg-1/postmaster.pid" does not exist
'
[gpadmin@sggp ~]$
出现这个问题有以下几种可能:
1.gpmaster/目录下磁盘已满,没有启动所用的空间;
解决:删除不用的数据。留有足够的空间
2.数据库升过级后,忘了改环境变量或是环境变量设置的有问题
解决:环境变量修改正确即可,实例如下:
[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 ~]$
相关文章推荐
- GreenPlum 启动失败 Failed to start Master instance in admin mode
- Nexus启动失败The nexus-webapp service was launched, but failed to start. .
- Failed to start LSB 网络服务启动失败的四种解决方法
- Memcache 安装 启动失败的问题:failed to start service
- 启动 Tomcat 报错 One or more listeners failed to start. Full details will be found in the appropriate
- Nexus 启动失败 nexus-webapp service was launched, but failed to start.
- Tomcat启动失败 提示Server Tomcat v7.0 Server at localhost failed to start.
- Tomcat启动失败-提示Server Tomcat v7.0 Server at localhost failed to start.
- SpringBoot 启动服务器失败 报错 spring-boot Failed to start component [StandardServer[-1]]
- tomcat启动失败 ----Server Tomcat v8.0 Server at localhost failed to start.
- 17. error: cannot connect to daemon(adb.exe start-server' failed启动失败,端口占用)
- tomcat 启动失败问题:Server Tomcat v8.0 Server at localhost failed to start.
- Weblogic AdminServer启动失败,<Security> <BEA-090870> <The realm "myrealm" failed to be loaded
- tomcat加入某一项目后启动失败:failed to start
- android adb启动失败问题 adb server is out of date. killing... ADB server didn't ACK * failed to start daem
- Ubuntu 16.04 开机启动失败 Failed to start Load Kernel Modules
- shiny-server 启动失败:start: Job failed to start
- Nexus启动失败处理:The nexus service was launched, but failed to start.
- Nexus启动失败处理:The nexus service was launched, but failed to start.
- 关于nginx启动失败 [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)