[
https://issues.apache.org/jira/browse/ZOOKEEPER-3603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976277#comment-16976277
]
Brian Nixon commented on ZOOKEEPER-3603:
----------------------------------------
[~suraj_agrahari], we need more information in order to reproduce this issue in
a way that anyone can follow. Can you upload a zoo.cfg configuration file and
the start command you used?
For reference, the mentioned line in bin/zkServer.sh was added with
ZOOKEEPER-2536.
> Zookeeper (3.5.6) not starting on mac
> -------------------------------------
>
> Key: ZOOKEEPER-3603
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3603
> Project: ZooKeeper
> Issue Type: Bug
> Components: build
> Affects Versions: 3.5.6
> Environment: Mac 10.14
> Reporter: Suraj Kumar Agrahari
> Priority: Major
> Labels: triaged
> Attachments: Screenshot 2019-11-01 at 7.35.43 PM.png
>
>
> I downloaded zookeeper 3.5.6 and was unable to start because the
> zookeeper_server.pid file was not being created.
> The problem was in the line *ZOO_DATADIR="$(echo -e "${ZOO_DATADIR}" | sed -e
> 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"*
>
> After removing -e option from the echo command, it started successfully.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)