confluentinc / confluent-cli

Confluent Platform CLI
Other
60 stars 38 forks source link

Printed to "failed to start". But is UP. It's not Down. #135

Open Hidetomi opened 4 years ago

Hidetomi commented 4 years ago

I'm annoyed by prompt error messages. help me.

execute.

[root@kafka-lab confluent]# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.224239
Starting ZooKeeper
Error: ZooKeeper failed to start

result.

[root@kafka-lab confluent]# confluent local services status
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.224239
Connect is [DOWN]
Control Center is [DOWN]
Kafka is [DOWN]
Kafka REST is [DOWN]
ksqlDB Server is [DOWN]
Schema Registry is [DOWN]
ZooKeeper is [UP]

zookeeper log(confluent local services zookeeper log -f).

[2020-10-22 13:11:04,935] INFO minSessionTimeout set to 6000 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-10-22 13:11:04,935] INFO maxSessionTimeout set to 60000 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-10-22 13:11:04,935] INFO Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 datadir /tmp/confluent.224239/zookeeper/data/version-2 snapdir /tmp/confluent.224239/zookeeper/data/version-2 (org.apache.zookeeper.server.ZooKeeperServer)
[2020-10-22 13:11:04,949] INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.ServerCnxnFactory)
[2020-10-22 13:11:04,963] INFO Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 2 worker threads, and 64 kB direct buffers. (org.apache.zookeeper.server.NIOServerCnxnFactory)
[2020-10-22 13:11:04,966] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)
[2020-10-22 13:11:05,017] INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase)
[2020-10-22 13:11:05,024] INFO Snapshotting: 0x0 to /tmp/confluent.224239/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2020-10-22 13:11:05,026] INFO Snapshotting: 0x0 to /tmp/confluent.224239/zookeeper/data/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
[2020-10-22 13:11:05,073] INFO Using checkIntervalMs=60000 maxPerMinute=10000 (org.apache.zookeeper.server.ContainerManager)

I believe the version is correct.

[root@kafka-lab confluent]# confluent local version
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Confluent Platform: 6.0.0
[root@kafka-lab confluent]# confluent version
confluent - Confluent CLI

Version:     v1.19.1
Git Ref:     d494fa6
Build Date:  2020-10-17T03:26:15Z
Go Version:  go1.14.7 (linux/amd64)
Development: false
[root@kafka-lab confluent]# java -version
openjdk version "1.8.0_262"
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)
superpep commented 3 years ago

Any clue on this? Having exact same problem.

trumple commented 3 years ago

Having exact same problem on Confluent Platform: 6.2.0

aalexandrov commented 3 years ago

:+1: I am seeing the same issue on 6.0.1.

tudorcgb commented 2 years ago

Having the exact same issue with Confluent 7.2.1, Java 1.8.0_342 on Ubuntu 18.04.