Have you looked at the zookeeper log to see why it is failing to start?

On the zookeeper host do

ps -ef | grep zookeeper | grep zookeeper.log.dir --color
Says something like below

hduser   26214     1  0 23:18 pts/2    00:00:01 /opt/jdk1.8.0_201/bin/java
-Dzookeeper.log.dir=/home/hduser/hadoop-3.1.1/logs
-Dzookeeper.log.file=zookeeper-hduser-server-rhes75.log

Go to that directory and look at the log file(example here ->
/home/hduser/hadoop-3.1.1/logs/zookeeper-hduser-server-rhes75.log

To find out the cause of error

HTH

Mich Talebzadeh,
Lead Solutions Architect/Engineering Lead
Palantir Technologies Limited
London
United Kingdom


   view my Linkedin profile
<https://www.linkedin.com/in/mich-talebzadeh-ph-d-5205b2/>


 https://en.everybodywiki.com/Mich_Talebzadeh



*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.




On Wed, 17 May 2023 at 14:08, Lemi Odidi <lemi.od...@ascential.com> wrote:

> I need help in starting up  zookeeper.
> see below the console output when I try to star it
>
>
> --------------------------------------------------------------------------------------------------------
> bitnami@ip-172-21-2-143:/var/log$ sudo /opt/bitnami/ctlscript.sh status
> zookeeper not running
> kafka already running
>
> bitnami@ip-172-21-2-143:/var/log$ sudo /opt/bitnami/ctlscript.sh stop
>
> /opt/bitnami/kafka/scripts/ctl.sh : kafka stopped
> /opt/bitnami/zookeeper/scripts/ctl.sh : zookeeper not running
>
> bitnami@ip-172-21-2-143:/var/log$ sudo /opt/bitnami/ctlscript.sh status
>
> zookeeper not running
> kafka not running
>
> bitnami@ip-172-21-2-143:/var/log$ sudo /opt/bitnami/ctlscript.sh start
>
> ZooKeeper JMX enabled by default
> Using config: /opt/bitnami/zookeeper/bin/../conf/zoo.cfg
> Starting zookeeper ... STARTED
> /opt/bitnami/zookeeper/scripts/ctl.sh : zookeeper could not be started
> /opt/bitnami/kafka/scripts/ctl.sh : kafka started
>
> bitnami@ip-172-21-2-143:/var/log$ sudo /opt/bitnami/ctlscript.sh status
> zookeeper not running
> kafka already running
> bitnami@ip-172-21-2-143:/var/log$
>
> About Ascential plc
> Ascential delivers specialist information, analytics and ecommerce
> optimisation platforms to the world's leading consumer brands and their
> ecosystems.
> Our world-class businesses improve performance and solve problems for our
> customers by delivering immediately actionable information combined with
> visionary longer-term thinking across Digital Commerce, Product Design and
> Marketing. We also serve customers across Retail & Financial Services.
> With over 3,000 employees across five continents, we combine local
> expertise with a global footprint for clients in over 120 countries.
> Ascential is listed on the London Stock Exchange.
> The information in or attached to this email is confidential and may be
> legally privileged. If you are not the intended recipient of this message,
> any use, disclosure, copying, distribution or any action taken in reliance
> on it is prohibited and may be unlawful.
> If you have received this message in error, please notify the sender
> immediately by return email and delete this message and any copies from
> your computer and network. Ascential does not warrant that this email and
> any attachments are free from viruses and accepts no liability for any loss
> resulting from infected email transmissions.
> Ascential reserves the right to monitor all email through its networks.
> Any view expressed may be those of the originator and not necessarily of
> Ascential plc. Please be advised all phone calls may be recorded for
> training and quality purposes and by accepting and/or making calls to us
> you acknowledge and agree to calls being recorded.
> Ascential plc, number 9934451 (England and Wales). Registered Office: 33
> Kingsway, London, WC2B 6UF.
>

Reply via email to