You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/07/25 13:25:40 UTC

[jira] [Commented] (ZOOKEEPER-1937) init script needs fixing for ZOOKEEPER-1719

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

Hudson commented on ZOOKEEPER-1937:
-----------------------------------

SUCCESS: Integrated in ZooKeeper-trunk #2385 (See [https://builds.apache.org/job/ZooKeeper-trunk/2385/])
ZOOKEEPER-1937. init script needs fixing for ZOOKEEPER-1719 (Marshall McMullen via phunt) (phunt: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1613326)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/packages/rpm/init.d/zookeeper


> init script needs fixing for ZOOKEEPER-1719
> -------------------------------------------
>
>                 Key: ZOOKEEPER-1937
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1937
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.6
>         Environment: Linux (Ubuntu 12.04)
>            Reporter: Nathan Sullivan
>            Assignee: Marshall McMullen
>         Attachments: ZOOKEEPER-1719.patch, ZOOKEEPER-1937.patch
>
>
> ZOOKEEPER-1719 changed the interpreter to bash for zkCli.sh, zkServer.sh and zkEnv.sh, but did not change src/packages/deb/init.d/zookeeper 
> This causes the following failure using /bin/sh
> [...] root@hostname:~# service zookeeper stop
> /etc/init.d/zookeeper: 81: /usr/libexec/zkEnv.sh: Syntax error: "(" unexpected (expecting "fi")
> Simple fix, change the shebang to #!/bin/bash - tested and works fine.



--
This message was sent by Atlassian JIRA
(v6.2#6252)