[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976292#comment-16976292
 ] 

Suraj Kumar Agrahari commented on ZOOKEEPER-3603:
-------------------------------------------------

[~enixon] attaching the zkServer.sh file and zoo.cfg file.

[^zkServer.sh] [^zoo.cfg]

Check line number 116 in zkServer.sh

 

 

 

> 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, zkServer.sh, 
> zoo.cfg
>
>
> 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)

Reply via email to