You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Akira Kitada (Commented) (JIRA)" <ji...@apache.org> on 2011/12/10 08:01:41 UTC
[jira] [Commented] (ZOOKEEPER-982) zkServer.sh won't start
zookeeper on an ubuntu 10.10 system due to a bug in the startup script.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166805#comment-13166805 ]
Akira Kitada commented on ZOOKEEPER-982:
----------------------------------------
This bug seems to be, as Thomas Koch said, Debian/Ubuntu specific.
I filed a report and patch for this to Debian BTS:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650882
I think this ticket may be closed as Invalid.
> zkServer.sh won't start zookeeper on an ubuntu 10.10 system due to a bug in the startup script.
> -----------------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-982
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-982
> Project: ZooKeeper
> Issue Type: Bug
> Components: scripts
> Affects Versions: 3.3.1
> Reporter: Bjørn Remseth
> Assignee: Thomas Koch
> Priority: Minor
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-982.patch
>
>
> When running "zkServer.sh start" I get these error messages:
> ====
> $sudo sh bin/zkServer.sh start
> MX enabled by default
> bin/zkServer.sh: 69: cygpath: not found
> Using config:
> grep: : No such file or directory
> Starting zookeeper ...
> STARTED
> $ Invalid config, exiting abnormally
> ====
> The "Invalid config..." text is output from the server which terminates immediately after this message has been printed.
> The fix is easy: Inside zkServer.sh change the line
> ====
> if $cygwin
> ====
> into
> ====
> if [ -n "$cygwin" ]
> ====
> This fixes the problem and makes the server run
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira