开发者社区> 问答> 正文

fid file doesn't exist(pidfile="run/observer.pid")

oceanbasev1.4安装报错 [14:51:53][INFO][setup starting]setup start. [14:51:53][INFO][metadb][starting]install start. [14:51:54][INFO][precheck][control]which expect [14:51:54][INFO][precheck][control]/usr/bin/expect

[14:51:54][INFO][precheck][control]which tar [14:51:56][INFO][precheck][control]/usr/bin/tar

[14:51:56][INFO][precheck][control]which sed [14:51:57][INFO][precheck][control]/usr/bin/sed

[14:51:57][INFO][precheck][control]which awk [14:51:59][INFO][precheck][control]/usr/bin/awk

[14:51:59][INFO][precheck][control]df -B 1G | sed -n '2p' | awk '{print $4 }' [14:52:00][INFO][precheck][control]12

[14:52:00][INFO][precheck][upload]rm -rf control-ocp-setup && mkdir -p control-ocp-setup [14:52:00][INFO][precheck][upload] [14:58:01][INFO][precheck][upload]cd control-ocp-setup && tar zxvf ocp-setup.tar.gz && chmod +x *.sh [15:02:48][INFO][precheck][upload]create_and_upload_ssh_key.sh env.sh generate_keys.sh install_metadb.sh install_obztools.sh install_ocp_api.sh install_ocp_console.sh install_rpms.sh install_zk.sh kill_tomcat.sh obproxy.sql ocp.sql ocp_yh/ ocp_yh/zookeeper-3.4.8.tar.gz ocp_yh/ali-jdk-8.3.6-1207901.el7.x86_64.rpm ocp_yh/apache-tomcat-8.0.30.tar.gz ocp_yh/config.conf.private ocp_yh/obproxy-1.3.3-1506155.el7.x86_64.rpm ocp_yh/ocpconsole.tar.gz ocp_yh/oceanbase-1.4.60-1571952.el7.x86_64.rpm ocp_yh/obztools.tar.gz ocp_yh/t-alipay-tengine-1.5.3-288596.el6u2.x86_64.rpm ocp_yh/obztools_config.conf ocp_yh/nodejs-6.10.1-1109130.alios6.x86_64.rpm ocp_yh/zoo.cfg ocp_yh/t-oceanbase-obagent-2.1.15-1570321.alios7.noarch.rpm ocp_yh/ROOT.tar.gz ocp_yh/api.properties start_obztools.sh start_ocp_console.sh start_zk.sh sync_authorized_keys.sh uninstall.sh

[15:02:48][INFO][precheck][SSH]control-ocp-setup/create_and_upload_ssh_key.sh root root 192.168.24.131 [15:02:53][INFO][precheck][SSH]creating /root/.ssh/id_rsa ... create /root/.ssh/id_rsa finished. uploading key to root@192.168.24.131 spawn ssh-copy-id root@192.168.24.131 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" The authenticity of host '192.168.24.131 (192.168.24.131)' can't be established. ECDSA key fingerprint is SHA256:wkMti5idmhftgVk0RiBzGRW68XGOlgqfz9x091Kqcxk. ECDSA key fingerprint is MD5:25:4e:67:e9:11:ab:56:dd:4e:8f:a0:9d:4c:8e:3e:36. Are you sure you want to continue connecting (yes/no)? yes /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys root@192.168.24.131's password:

Number of key(s) added: 1

Now try logging into the machine, with: "ssh 'root@192.168.24.131'" and check to make sure that only the key(s) you wanted were added.

uploading key to root@192.168.24.131 finished.

[15:02:53][INFO][precheck][syncKeys]control-ocp-setup/generate_keys.sh root root 192.168.24.131 [15:02:54][INFO][precheck][syncKeys]spawn ssh root@192.168.24.131 -t ([[ -f ~/.ssh/id_rsa && -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N '') && cat ~/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCs7u7HzKu7xAKom13jSIwlnkI3B5qwH5JwXq2NhQpO9eqN1PJfoo3dP8qZVUmvEZD7QY6w8oZxc+7dv+77kHzjKt02BaM2hG1Vfp9Yt4/4RoMKlDvVUsk8uv6Wa9sV/V9PdTZAnm9ByJsnZPGvAQTDhKf69MjINpFktNYfZ3XxCWq8rzTPvE4xJhDQRb2EbIvZcp1fkYhP0GX+uukl94zjEqdAyLMzg/yO0juWDfpMtXGUUbjeMo2LaL3EgQ/D9JrjI1/lbdcNMTG06n87i+mBfQcPUEP8PN0FO+VTaxZf//aR5eA1joVyWVoirKU7uWje/vN1ayCNlU3ZD4s1hDxB root@localhost.localdomain Connection to 192.168.24.131 closed.

generating key at root@192.168.24.131 finished.

[15:02:54][INFO][precheck][syncKeys]control-ocp-setup/sync_authorized_keys.sh root root 192.168.24.131 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCs7u7HzKu7xAKom13jSIwlnkI3B5qwH5JwXq2NhQpO9eqN1PJfoo3dP8qZVUmvEZD7QY6w8oZxc+7dv+77kHzjKt02BaM2hG1Vfp9Yt4/4RoMKlDvVUsk8uv6Wa9sV/V9PdTZAnm9ByJsnZPGvAQTDhKf69MjINpFktNYfZ3XxCWq8rzTPvE4xJhDQRb2EbIvZcp1fkYhP0GX+uukl94zjEqdAyLMzg/yO0juWDfpMtXGUUbjeMo2LaL3EgQ/D9JrjI1/lbdcNMTG06n87i+mBfQcPUEP8PN0FO+VTaxZf//aR5eA1joVyWVoirKU7uWje/vN1ayCNlU3ZD4s1hDxB root@localhost.localdomain' [15:02:55][INFO][precheck][syncKeys]spawn ssh root@192.168.24.131 -t (echo -e 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCs7u7HzKu7xAKom13jSIwlnkI3B5qwH5JwXq2NhQpO9eqN1PJfoo3dP8qZVUmvEZD7QY6w8oZxc+7dv+77kHzjKt02BaM2hG1Vfp9Yt4/4RoMKlDvVUsk8uv6Wa9sV/V9PdTZAnm9ByJsnZPGvAQTDhKf69MjINpFktNYfZ3XxCWq8rzTPvE4xJhDQRb2EbIvZcp1fkYhP0GX+uukl94zjEqdAyLMzg/yO0juWDfpMtXGUUbjeMo2LaL3EgQ/D9JrjI1/lbdcNMTG06n87i+mBfQcPUEP8PN0FO+VTaxZf//aR5eA1joVyWVoirKU7uWje/vN1ayCNlU3ZD4s1hDxB root@localhost.localdomain' >> ~/.ssh/authorized_keys) Connection to 192.168.24.131 closed.

add authorized keys at root@192.168.24.131 finished.

[15:02:55][INFO][precheck][servers]ssh root@192.168.24.131 "which expect" [15:02:57][INFO][precheck][servers]/usr/bin/expect

[15:02:57][INFO][precheck][servers]ssh root@192.168.24.131 "which tar" [15:02:58][INFO][precheck][servers]/usr/bin/tar

[15:02:58][INFO][precheck][servers]ssh root@192.168.24.131 "which sed" [15:02:59][INFO][precheck][servers]/usr/bin/sed

[15:02:59][INFO][precheck][servers]ssh root@192.168.24.131 "which awk" [15:03:00][INFO][precheck][servers]/usr/bin/awk

[15:03:00][INFO][precheck][servers]ssh root@192.168.24.131 "df -B 1G | sed -n '2p' | awk '{print $4 }'" [15:03:01][INFO][precheck][servers]11

[15:03:01][INFO][precheck][servers]control-ocp-setup/install_metadb.sh root root 192.168.24.131 control-ocp-setup [15:05:38][INFO][precheck][servers]start to kill existed process. start to uninstall old oceanbase.

observer has not been installed!! uninstall observer finished. start to delete old directory! finish to delete old directory! 鍑嗗涓?... ######################################## 姝e湪鍗囩骇/瀹夎... oceanbase-1.4.60-1571952.el7 ######################################## start to mkdir . change root mkdir -p /data/1/obtrial/{sstable,etc3,sort_dir} /data/log1/obtrial/{slog,clog,ilog,oob_clog,etc2} home_dir/oceanbase/store/obtrial make sure avialable for user mkdir finished. start observer ! CentOS Linux release 7.4.1708 (Core) observer has been started with pid 6953 successfully. observer has been started with pid 6953 successfully. Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! Server is initializing! bootstrap_and_resouce_unit_config failed.

[15:05:38][ERROR][precheck][servers]com.alipay.oceanbase.setup.exception.PreCheckException: /home/admin/oceanbase/bin/observer -i ens33 -p 2881 -P 2882 -n obtrial -z ZONE_1 -d /home/admin/oceanbase/store/obtrial -l info -o rootservice_list=192.168.24.131:2882:2881,datafile_disk_percentage=60,config_additional_dir=/data/log1/obtrial/etc2;/data/1/obtrial/etc3,cluster_id=1 devname: ens33 mysql port: 2881 rpc port: 2882 appname: obtrial zone: ZONE_1 data_dir: /home/admin/oceanbase/store/obtrial log level: info optstr: rootservice_list=192.168.24.131:2882:2881,datafile_disk_percentage=60,config_additional_dir=/data/log1/obtrial/etc2;/data/1/obtrial/etc3,cluster_id=1 [2019-10-28 15:04:02.681382] ERROR [LIB] pidfile_test (utility.cpp:1260) [6952][Y0-0000000000000000] [lt=0] fid file doesn't exist(pidfile="run/observer.pid") BACKTRACE:0x2de73a9 0x2d7f9f7 0x2deb6c1 0x51c424 0x7f023a899505 0x53abc5 ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111) ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.24.131' (111)

展开
收起
游客fe37xcjt46bl4 2019-10-28 20:06:20 2776 0
1 条回答
写回答
取消 提交回答
  • 精于基础,广于工具,熟于业务。

    您的这个台服务器是否安装了mysql。mysql -uroot -p 可以登陆吗?

    2019-11-04 19:05:03
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Why you should care about data layout in the file system 立即下载
Borgaonkar-New-Adventures-In-Spying-3G-And-4G-Users-Locate-Track-And-Monitor 立即下载
Why you should care about data 立即下载