[ https://issues.apache.org/jira/browse/ZOOKEEPER-3603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suraj Kumar Agrahari updated ZOOKEEPER-3603: -------------------------------------------- Attachment: 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)