Problem with installation of Confluent platform

Hi,

I’m Giuseppe from Italy and I’m new on Conluent platform.
I’m following this quick start guide:

https://docs.confluent.io/platform/current/quickstart/ce-quickstart.html#ce-quickstart

when I try to start services:

confluent local services start 

I receive the error:

Error: open ~/Documenti/confluent/etc/kafka/zookeeper.properties: no such file or directory

I downloaded the zip Confluent Platform and uncompress it on my dir ~/Documenti/confluent/

I’m on a remote VM based on Linux Ubuntu operating system.
Please someone help me?
Thanks.
Giuseppe

Hi Giuseppe,

I guess you’ve you set the CONFLUENT_HOME path correctly?

zookeeper.properties file exists?

br,
Michael

Hi,

Yes I have set CONFLUENT_HOME with:

export CONFLUENT_HOME="~/Documenti/confluent/"
export PATH=$PATH:$CONFLUENT_HOME/bin

and start confluent with:

confluent local services start

the zookeeper.properties file exists.
When I try to launch confluent the response is:

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.993290
Error: open ~/Documenti/confluent/etc/kafka/zookeeper.properties: no such file or directory

Hoping you can help me.
Thx

What’s the output of

du -sh ~/Documenti/confluent/

and

ls -l ~/Documenti/confluent/etc/kafka

Hi,

played around a little in my local env, seems the issue is related to the “” in setting CONFLUENT_HOME path.

would you please try

export CONFLUENT_HOME=~/Documenti/confluent/

instead of

export CONFLUENT_HOME="~/Documenti/confluent/"

HTH
Michael

1 Like

Hi,

the output of du -sh ~/Documenti/confluent/ is

1,8G /home/kafka/Documenti/confluent/

and for ls -l ~/Documenti/confluent/etc/kafka is

totale 88
-rw-r–r-- 1 kafka kafka 696 feb 4 17:40 aegis-log4j.properties
-rw-r–r-- 1 kafka kafka 114 feb 4 17:40 aegis.properties
-rw-r–r-- 1 kafka kafka 906 feb 4 17:40 connect-console-sink.properties
-rw-r–r-- 1 kafka kafka 909 feb 4 17:40 connect-console-source.properties
-rw-r–r-- 1 kafka kafka 5398 feb 22 12:56 connect-distributed.properties
-rw-r–r-- 1 kafka kafka 883 feb 4 17:40 connect-file-sink.properties
-rw-r–r-- 1 kafka kafka 881 feb 4 17:40 connect-file-source.properties
-rw-r–r-- 1 kafka kafka 2247 feb 4 17:40 connect-log4j.properties
-rw-r–r-- 1 kafka kafka 2540 feb 4 17:40 connect-mirror-maker.properties
-rw-r–r-- 1 kafka kafka 2339 feb 22 12:56 connect-standalone.properties
-rw-r–r-- 1 kafka kafka 1221 feb 4 17:40 consumer.properties
-rw-r–r-- 1 kafka kafka 6913 feb 4 17:40 log4j.properties
-rw-r–r-- 1 kafka kafka 1925 feb 4 17:40 producer.properties
-rw-r–r-- 1 kafka kafka 12407 feb 4 17:40 server.properties
-rw-r–r-- 1 kafka kafka 1032 feb 4 17:40 tools-log4j.properties
-rw-r–r-- 1 kafka kafka 1169 feb 4 17:40 trogdor.conf
-rwxrwxrwx 1 kafka kafka 1371 feb 22 15:33 zookeeper.properties

@ mmuehlbeyer GREAT!!! The problem was " " in the export! Now it seems work!
Thanks.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.