运行 bin/zkServer.sh start 没看到zooKeeper运行状态

来源:6-5 初始化ZK并配置MyCAT支持ZK

qq_醉生梦死_16

2020-07-24

[root@ebs-53140 zookeeper]# bin/zkServer.sh start
ZooKeeper JMX enabled by default
Using config: /usr/local/zookeeper/bin/…/conf/zoo.cfg
Starting zookeeper … STARTED
[root@ebs-53140 zookeeper]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 2019 ? 00:43:22 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
root 2 0 0 2019 ? 00:00:01 [kthreadd]
root 3 2 0 2019 ? 00:01:17 [ksoftirqd/0]
root 5 2 0 2019 ? 00:00:00 [kworker/0:0H]
root 7 2 0 2019 ? 00:00:44 [migration/0]
root 8 2 0 2019 ? 00:00:00 [rcu_bh]
root 9 2 0 2019 ? 02:33:44 [rcu_sched]
root 10 2 0 2019 ? 00:00:00 [lru-add-drain]
root 11 2 0 2019 ? 00:02:04 [watchdog/0]
root 12 2 0 2019 ? 00:02:43 [watchdog/1]
root 13 2 0 2019 ? 00:00:41 [migration/1]
root 14 2 0 2019 ? 00:01:58 [ksoftirqd/1]
root 16 2 0 2019 ? 00:00:00 [kworker/1:0H]
root 18 2 0 2019 ? 00:00:00 [kdevtmpfs]
root 19 2 0 2019 ? 00:00:00 [netns]
root 20 2 0 2019 ? 00:01:41 [khungtaskd]
root 21 2 0 2019 ? 00:00:00 [writeback]
root 22 2 0 2019 ? 00:00:00 [kintegrityd]
root 23 2 0 2019 ? 00:00:00 [bioset]
root 24 2 0 2019 ? 00:00:00 [bioset]
root 25 2 0 2019 ? 00:00:00 [bioset]
root 26 2 0 2019 ? 00:00:00 [kblockd]
root 27 2 0 2019 ? 00:00:00 [md]
root 28 2 0 2019 ? 00:00:00 [edac-poller]
root 29 2 0 2019 ? 00:00:00 [watchdogd]
root 35 2 0 2019 ? 1-23:37:53 [kswapd0]
root 36 2 0 2019 ? 00:00:00 [ksmd]
root 37 2 0 2019 ? 00:08:51 [khugepaged]
root 38 2 0 2019 ? 00:00:00 [crypto]
root 46 2 0 2019 ? 00:00:00 [kthrotld]
root 48 2 0 2019 ? 00:00:00 [kmpath_rdacd]
root 49 2 0 2019 ? 00:00:00 [kaluad]
root 51 2 0 2019 ? 00:00:00 [kpsmoused]
root 52 2 0 2019 ? 00:00:00 [ipv6_addrconf]
root 65 2 0 2019 ? 00:00:00 [deferwq]
root 96 2 0 2019 ? 00:00:02 [kauditd]
root 267 2 0 2019 ? 00:00:00 [ata_sff]
root 281 2 0 2019 ? 00:00:00 [ttm_swap]
root 298 2 0 2019 ? 00:00:00 [scsi_eh_0]
root 299 2 0 2019 ? 00:00:00 [scsi_tmf_0]
root 300 2 0 2019 ? 00:00:00 [scsi_eh_1]
root 301 2 0 2019 ? 00:00:00 [scsi_tmf_1]
root 314 2 0 2019 ? 01:46:04 [kworker/0:1H]
root 325 2 0 2019 ? 00:01:04 [jbd2/vda1-8]
root 326 2 0 2019 ? 00:00:00 [ext4-rsv-conver]
root 332 2 0 2019 ? 01:51:04 [kworker/1:1H]
root 395 1 0 2019 ? 00:03:07 /usr/lib/systemd/systemd-journald
root 428 1 0 2019 ? 00:00:00 /usr/lib/systemd/systemd-udevd
root 443 1 0 Jun19 ? 00:00:02 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 448 2 0 2019 ? 00:38:01 [jbd2/vdb1-8]
root 449 2 0 2019 ? 00:00:00 [ext4-rsv-conver]
root 576 1 0 2019 ? 00:00:50 /sbin/auditd
root 598 1 0 2019 ? 00:34:15 /usr/sbin/irqbalance --foreground
avahi 600 1 0 2019 ? 00:00:06 avahi-daemon: running [ebs-53140.local]
root 602 1 0 2019 ? 00:02:14 /usr/lib/systemd/systemd-logind
polkitd 603 1 0 2019 ? 00:00:56 /usr/lib/polkit-1/polkitd --no-debug
dbus 604 1 0 2019 ? 00:02:07 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-act
avahi 608 600 0 2019 ? 00:00:00 avahi-daemon: chroot helper
root 609 1 0 2019 ? 00:01:54 /usr/sbin/crond -n
root 617 1 0 2019 ? 00:00:30 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
root 618 1 0 2019 ? 00:13:20 /usr/sbin/NetworkManager --no-daemon
root 1114 1 0 2019 ? 00:00:01 /usr/sbin/sshd -D
root 1116 1 0 2019 ? 01:54:11 /usr/bin/python2 -Es /usr/sbin/tuned -l -P
root 1132 1 0 2019 ? 00:37:55 /usr/sbin/rsyslogd -n
root 1139 1 0 2019 ? 00:00:00 /root/centos
root 1150 1 0 2019 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
root 2255 2 0 07:30 ? 00:00:00 [kworker/0:2]
root 2258 2 0 07:30 ? 00:00:00 [kworker/1:2]
root 2261 1 0 2019 ? 00:03:30 /usr/libexec/postfix/master -w
postfix 2272 2261 0 2019 ? 00:00:57 qmgr -l -t unix -u
root 2410 1 0 2019 ? 19:57:16 python task.py
root 4328 1114 0 08:12 ? 00:00:00 sshd: root@pts/0
root 4331 4328 0 08:12 pts/0 00:00:00 -bash
root 5220 2 0 08:30 ? 00:00:00 [kworker/u4:2]
postfix 6294 2261 0 08:52 ? 00:00:00 pickup -l -t unix -u
www 8233 19723 0 09:30 ? 00:00:00 nginx: worker process
www 8234 19723 0 09:30 ? 00:00:00 nginx: worker process
www 8235 19723 0 09:30 ? 00:00:00 nginx: cache manager process
root 8236 1 0 09:30 ? 00:00:00 php-fpm: master process (/www/server/php/71/etc/php-fpm.conf)
www 8238 8236 0 09:30 ? 00:00:00 php-fpm: pool www
www 8239 8236 0 09:30 ? 00:00:00 php-fpm: pool www
www 8240 8236 0 09:30 ? 00:00:00 php-fpm: pool www
www 8241 8236 0 09:30 ? 00:00:00 php-fpm: pool www
www 8242 8236 0 09:30 ? 00:00:00 php-fpm: pool www
root 8247 2 0 09:30 ? 00:00:00 [kworker/u4:1]
root 8790 1114 0 09:40 ? 00:00:00 sshd: root@pts/1
root 8792 8790 0 09:40 pts/1 00:00:00 -bash
root 8899 8792 0 09:42 pts/1 00:00:00 ps -ef
root 16488 1 0 Jul21 ? 00:00:00 /bin/sh /www/server/mysql/bin/mysqld_safe --datadir=/www/server/data --pid-file=/ww
mysql 17091 16488 0 Jul21 ? 00:02:26 /www/server/mysql/bin/mysqld --basedir=/www/server/mysql --datadir=/www/server/data
root 19723 1 0 Jun23 ? 00:00:14 nginx: master process /www/server/nginx/sbin/nginx -c /www/server/nginx/conf/nginx.
root 25997 1 0 Jun05 ? 00:18:16 /usr/bin/python /www/server/panel/BT-Panel
root 27352 2 0 05:01 ? 00:00:00 [kworker/1:0]
root 30301 2 0 06:01 ? 00:00:02 [kworker/0:0]

写回答

1回答

sqlercn

2020-07-24

可以使用./zkServer status命令查看zk服务运行状态


0
0

MyCAT+MySQL搭建高可用企业级数据库集群

国内顶级DBA亲授,精讲企业级MyCAT应用

816 学习 · 223 问题

查看课程