PostgreSQL和Greenplum 数据库故障排查3)服务器日志(PostgreSQL server error log) 2018年PostgreSQL中国技术大会 微信号:laohouzi999 服务器日志(PostgreSQL server error log) -bash-4.1$ locate pg_ctl /usr/pgsql-10/bin/pg_ctl /usr/pgsql-10/share/locale/cs/LC_MESSAGES/pg_ctl-10.mo ~]# su - postgres -bash-4.1$ /usr/pgsql-11/bin/pg_ctl status pg_ctl: server is running (PID: 3642) /usr/pgsql-11/bin/postgres "-D" "/var/lib/pgsql/11/data" 2018年PostgreSQL中国技术大会 -bash-4.1$ cd /var/lib/pgsql/11/data /var/lib/pgsql/11/data -bash-4.1$ ll total 128 drwx------ 5 postgres postgres 4096 Dec 8 11:16 base -rw------- 1 postgres postgres 30 Dec 8 11:16 current_logfiles drwx------ 2 postgres postgres 4096 Dec0 码力 | 84 页 | 12.61 MB | 1 年前3
Greenplum 编译安装和调试[-j4] $ make install 在苹果系统上初始化Greenplum单节点集群时,需要做些准备工作: ● 添加export PGHOST=localhost至~/.bash_profile ● 将本机的hostname与127.0.0.1的map写到/etc/hosts中。例如 127.0.0.1 yydzero yydzero.local mirrorless -b 20 -C 18 -z 0" start 有时候单独执行各种命令没有问题,但是使用 SSH 执行时报错。 这通常是由于 ssh 改变了环境变量造成的,查看 .bash_profile, .bashrc, 发现 .bashrc 设 置了不同的默认 PGHOST,删除这个配置后就可以了。 2.2.6 不能连接到server:找不到domain socket 2.2.8 小技巧 Greenplum使用 Bash 和 Python 脚本初始化集群和管理集群。可以通过在合适的地方设置日志或 者调试信息可以帮助分析某些难以解决的问题。 ● 集群初始化工具 gpinitsystem 是Bash脚本工具,有些时候它的报错信息很不清楚。这个 时候可以 ○ 使用 -D 选项 ○ gp_bash_functions.sh 是内部一个被频繁调用执行系统命令的函数,可以通过0 码力 | 15 页 | 2.07 MB | 1 年前3
VMware Greenplum 6 Documentationwith Greenplum Database operations. VMware Greenplum 6 Documentation VMware, Inc 256 apr-util bash bzip2 curl krb5 libcurl libevent libxml2 libyaml zlib openldap openssh-client openssl dependencies when you install Greenplum Database with the Debian package installer: libapr1 libaprutil1 bash bzip2 krb5-multidev libcurl3-gnutls VMware Greenplum 6 Documentation VMware, Inc 257 libcurl4 message: Dec 02 20:30:32 mdw bash[2228]: 2021-12-02 20:30:32 Starting the gpcc agents and webse VMware Greenplum 6 Documentation VMware, Inc 350 rver... Dec 02 20:30:35 mdw bash[2228]: 2021-12-02 20:30:350 码力 | 2374 页 | 44.90 MB | 1 年前3
VMware Tanzu Greenplum v6.23 Documentationinstalled automatically as dependencies when you install the Greenplum RPM package): apr apr-util bash bzip2 curl krb5 libcurl libevent libxml2 libyaml zlib openldap openssh-client openssl dependencies when you install Greenplum Database with the Debian package installer: libapr1 libaprutil1 bash bzip2 krb5-multidev libcurl3-gnutls libcurl4 libevent-2.1-6 libxml2 libyaml-0-2 zlib1g libldap-2 Dec 02 20:30:32 mdw bash[2228]: 2021-12-02 20:30:32 Starting the gpcc agents and webse VMware Tanzu Greenplum 6 Documentation VMware, Inc 340 rver... Dec 02 20:30:35 mdw bash[2228]: 2021-12-02 20:30:350 码力 | 2298 页 | 40.94 MB | 1 年前3
VMware Tanzu Greenplum 6 Documentationinstalled automatically as dependencies when you install the Greenplum RPM package): apr apr-util bash bzip2 curl krb5 libcurl libevent libxml2 libyaml zlib openldap openssh-client openssl dependencies when you install Greenplum Database with the Debian package installer: libapr1 libaprutil1 bash bzip2 krb5-multidev libcurl3-gnutls libcurl4 libevent-2.1-6 libxml2 libyaml-0-2 zlib1g libldap-2 Documentation VMware, Inc. 336 Dec 02 20:30:32 mdw bash[2228]: 2021-12-02 20:30:32 Starting the gpcc agents and webse rver... Dec 02 20:30:35 mdw bash[2228]: 2021-12-02 20:30:35 Agent successfully started0 码力 | 2311 页 | 17.58 MB | 1 年前3
VMware Tanzu Greenplum v6.21 Documentationinstalled automatically as dependencies when you install the Greenplum RPM package): apr apr-util bash bzip2 curl krb5 libcurl libevent libxml2 libyaml zlib openldap openssh-client openssl dependencies when you install Greenplum Database with the Debian package installer: libapr1 libaprutil1 bash bzip2 krb5-multidev libcurl3-gnutls VMware Tanzu Greenplum 6 Documentation VMware, Inc 223 libcurl4 mdw bash[2228]: 2021-12-02 20:30:32 Starting the gpcc agents and webse rver... Dec 02 20:30:35 mdw bash[2228]: 2021-12-02 20:30:35 Agent successfully started on 6/6 hosts Dec 02 20:30:35 mdw bash[2228]:0 码力 | 2025 页 | 33.54 MB | 1 年前3
VMware Greenplum v6.25 Documentationinstalled automatically as dependencies when you install the Greenplum RPM package): apr apr-util bash bzip2 curl krb5 libcgroup (RHEL/CentOS 6) libcgroup-tools (RHEL/CentOS 7) libcurl libevent dependencies when you install Greenplum Database with the Debian package installer: libapr1 libaprutil1 bash bzip2 krb5-multidev libcurl3-gnutls libcurl4 libevent-2.1-6 libxml2 libyaml-0-2 zlib1g libldap-2 5. Create the service file /etc/gpv/gpdb-service on mdw and paste the following content. #!/bin/bash set -e echo ========================================================== echo [the begin timestamp0 码力 | 2400 页 | 18.02 MB | 1 年前3
VMware Greenplum 6 Documentationinstalled automatically as dependencies when you install the Greenplum RPM package): apr apr-util bash bzip2 curl compat-openssl11 (RHEL/Rocky 9) iproute krb5-devel libcgroup (RHEL/CentOS 6) libcgroup-tools Database with the Debian package installer: VMware Greenplum 6 Documentation VMware by Broadcom 288 bash bzip2 iproute2 iputils-ping krb5-multidev libapr1 libaprutil1 libcurl3-gnutls libcurl4 libevent-2 Host 1. Log in to the master as root 2. Start a subshell that has access to the Greenplum commands bash --rcfile /usr/local/greenplum-db/greenplum_path.sh 3. Stop the HA service on the master systemctl0 码力 | 2445 页 | 18.05 MB | 1 年前3
Greenplum Database 管理员指南 6.2.1TYPE: input CONTENT: data COMMAND: /bin/bash /tmp/input.sh %filename% output: TYPE: output CONTENT: data COMMAND: /bin/bash /tmp/output.sh %filename% $ cat input.sh Greenplum 版权所有:Esena(陈淼 +86 18616691889) 编写:陈淼 - 247 - #!/bin/bash cd $(cd "$(dirname "$0")"; pwd) URI=$1 echo $URI $ cat output.sh #!/bin/bash cd $(cd "$(dirname "$0")"; pwd) URI=$1 more > $URI 议使用7.3及之后版本,7.3及之后的版本解 决了这个问题。 软件依赖 在使用rpm安装6版本GP时,下列的软件包是自动检查依赖关系的: apr,apr-util,bash,bzip2,curl,krb5,libcurl,libevent,libxml2, libyaml,zlib,openldap,openssh,openssl,openssl-libs,perl0 码力 | 416 页 | 6.08 MB | 1 年前3
VMware Greenplum 7 Documentationinstalled automatically as dependencies when you install the Greenplum RPM package): apr apr-util bash bzip2 curl iproute Note If you use endpoint security software on your Greenplum Database hosts install the Greenplum Database dependencies to each host system: $ sudo yum install apr apr-util bash bzip2 curl krb5 libcurl libevent \ libxml2 libyaml zlib openldap openssh openssl openssl-libs perl initializing your Greenplum Database array. The following example shows how to run the backout script: $ bash ~/gpAdminLogs/backout_gpinitsystem_gpadmin_20071031_121053 Setting the Greenplum Database Timezone0 码力 | 2221 页 | 14.19 MB | 1 年前3
共 14 条
- 1
- 2













