Your message dated Sat, 07 Jan 2012 13:05:26 +0000
with message-id <e1rjvxe-00024o...@franck.debian.org>
and subject line Bug#650882: fixed in zookeeper 3.3.4+dfsg1-2
has caused the Debian Bug report #650882,
regarding zookeeper: zkServer.sh fails to start zookeeper
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
650882: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650882
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: zookeeper
Version: 3.3.4+dfsg1-1
Severity: important

Dear Maintainer,

zkServer.sh does not work because, unlike upstream ZooKeeper release,
$cygwin variable is not set by zkEnv.sh.

====
$ sudo -u zookeeper /usr/share/zookeeper/bin/zkServer.sh start 
/etc/zookeeper/conf/zoo.cfg                                           
JMX enabled by default                                                          
                                                                     
Using config:/etc/zookeeper/conf/zoo.cfg                                        
                                                                     
/usr/share/zookeeper/bin/zkServer.sh: 1: /usr/share/zookeeper/bin/zkServer.sh: 
cygpath: not found                                                    
Using config:                                                                   
                                                                     
grep: : No such file or directory                                               
                                                                     
Starting zookeeper ... /usr/share/zookeeper/bin/zkServer.sh: 103: 
/usr/share/zookeeper/bin/zkServer.sh: cannot create /zookeeper_server.pid: 
Permission denied                                                               
                                                                             
FAILED TO WRITE PID        
====

The following patch fixes the issue.

====
--- /usr/share/zookeeper/bin/zkServer.sh.orig   2011-11-30 19:50:33.000000000 
+0900
+++ /usr/share/zookeeper/bin/zkServer.sh        2011-12-04 18:12:56.000000000 
+0900
@@ -70,15 +70,6 @@
     echo "Using config:$2" >&2
 fi
 
-if $cygwin
-then
-    ZOOCFG=`cygpath -wp "$ZOOCFG"`
-    # cygwin has a "kill" in the shell itself, gets confused
-    KILL=/bin/kill
-else
-    KILL=kill
-fi
-
 echo "Using config: $ZOOCFG" >&2
 
 if [ -z $ZOOPIDFILE ]
@@ -126,7 +117,7 @@
     then
       echo "no zookeeper to stop (could not find file $ZOOPIDFILE)"
     else
-      $KILL -9 $(cat "$ZOOPIDFILE")
+      kill -9 $(cat "$ZOOPIDFILE")
       rm "$ZOOPIDFILE"
       echo STOPPED
     fi
====

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages zookeeper depends on:
ii  adduser                                          3.113        
ii  default-jre-headless [java6-runtime-headless]    1:1.6-44     
ii  libzookeeper-java                                3.3.4+dfsg1-1
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b23~pre11-1 
ii  sun-java6-jre [java6-runtime-headless]           6.26-3       

zookeeper recommends no packages.

zookeeper suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: zookeeper
Source-Version: 3.3.4+dfsg1-2

We believe that the bug you reported is fixed in the latest version of
zookeeper, which is due to be installed in the Debian FTP archive:

libzookeeper-java-doc_3.3.4+dfsg1-2_all.deb
  to main/z/zookeeper/libzookeeper-java-doc_3.3.4+dfsg1-2_all.deb
libzookeeper-java_3.3.4+dfsg1-2_all.deb
  to main/z/zookeeper/libzookeeper-java_3.3.4+dfsg1-2_all.deb
libzookeeper-mt-dev_3.3.4+dfsg1-2_amd64.deb
  to main/z/zookeeper/libzookeeper-mt-dev_3.3.4+dfsg1-2_amd64.deb
libzookeeper-mt2_3.3.4+dfsg1-2_amd64.deb
  to main/z/zookeeper/libzookeeper-mt2_3.3.4+dfsg1-2_amd64.deb
libzookeeper-st-dev_3.3.4+dfsg1-2_amd64.deb
  to main/z/zookeeper/libzookeeper-st-dev_3.3.4+dfsg1-2_amd64.deb
libzookeeper-st2_3.3.4+dfsg1-2_amd64.deb
  to main/z/zookeeper/libzookeeper-st2_3.3.4+dfsg1-2_amd64.deb
libzookeeper2_3.3.4+dfsg1-2_amd64.deb
  to main/z/zookeeper/libzookeeper2_3.3.4+dfsg1-2_amd64.deb
python-zookeeper_3.3.4+dfsg1-2_amd64.deb
  to main/z/zookeeper/python-zookeeper_3.3.4+dfsg1-2_amd64.deb
zookeeper-bin_3.3.4+dfsg1-2_amd64.deb
  to main/z/zookeeper/zookeeper-bin_3.3.4+dfsg1-2_amd64.deb
zookeeper_3.3.4+dfsg1-2.debian.tar.gz
  to main/z/zookeeper/zookeeper_3.3.4+dfsg1-2.debian.tar.gz
zookeeper_3.3.4+dfsg1-2.dsc
  to main/z/zookeeper/zookeeper_3.3.4+dfsg1-2.dsc
zookeeper_3.3.4+dfsg1-2_all.deb
  to main/z/zookeeper/zookeeper_3.3.4+dfsg1-2_all.deb
zookeeperd_3.3.4+dfsg1-2_all.deb
  to main/z/zookeeper/zookeeperd_3.3.4+dfsg1-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 650...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Page <james.p...@ubuntu.com> (supplier of updated zookeeper package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 12 Dec 2011 13:31:47 +0000
Source: zookeeper
Binary: libzookeeper-java zookeeper zookeeperd libzookeeper-java-doc 
libzookeeper-mt2 libzookeeper-st2 libzookeeper2 libzookeeper-mt-dev 
libzookeeper-st-dev zookeeper-bin python-zookeeper
Architecture: source all amd64
Version: 3.3.4+dfsg1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: James Page <james.p...@ubuntu.com>
Description: 
 libzookeeper-java - Core Java libraries for zookeeper
 libzookeeper-java-doc - API Documentation for zookeeper
 libzookeeper-mt-dev - Development files for multi threaded zookeeper C bindings
 libzookeeper-mt2 - Multi threaded C bindings for zookeeper
 libzookeeper-st-dev - Development files for single threaded zookeeper C 
bindings
 libzookeeper-st2 - Single threaded C bindings for zookeeper
 libzookeeper2 - C bindings for zookeeper - transitional package
 python-zookeeper - Python bindings for zookeeper
 zookeeper  - High-performance coordination service for distributed application
 zookeeper-bin - Command line utilities for zookeeper
 zookeeperd - Init control scripts for zookeeper
Closes: 579791 650882 650938
Changes: 
 zookeeper (3.3.4+dfsg1-2) unstable; urgency=low
 .
   * Added new libzookeeper-st{2,-dev} packages (Closes: #650938) and
     renamed libzookeeper{2,-dev} -> libzookeeper-mt{2,-dev}.
   * Added transitional package libzookeeper2 -> libzookeeper-mt2.
   * Convert libzookeeper-{st,mt}2 for MultiArch support.
   * Disable detection of cygwin as not relevant for Debian based
     installs and complicates configuration (Closes: #650882). Thanks
     to Akira Kitada for this patch.
   * Really close RFH (Closes: #579791).
Checksums-Sha1: 
 ddc35066c21ce1e5b3f401537a1dc4950bb817b7 2865 zookeeper_3.3.4+dfsg1-2.dsc
 1d183e5f6d574d46cf9afeb4b7487ea688862450 25358 
zookeeper_3.3.4+dfsg1-2.debian.tar.gz
 b94f454ef89c4542aa94fa00bd49ed7c4aec060d 1141116 
libzookeeper-java_3.3.4+dfsg1-2_all.deb
 03b9673146049522f34c999daa3d9ed632fa1320 106848 zookeeper_3.3.4+dfsg1-2_all.deb
 c4c3eafd518146a1769e2446c1f86f15327e2acf 3306 zookeeperd_3.3.4+dfsg1-2_all.deb
 532935bd66ca046db26d6f8fffdc32b2ed3c0486 524568 
libzookeeper-java-doc_3.3.4+dfsg1-2_all.deb
 dec0f2f4a9bad4515075379d74a4860836f43e4c 63438 
libzookeeper-mt2_3.3.4+dfsg1-2_amd64.deb
 80017056f475f4c97670be757a1a4e0f3b4f0683 60584 
libzookeeper-st2_3.3.4+dfsg1-2_amd64.deb
 bfce72cf2f119c3dd56d2f678a04cc84c37f3129 920 
libzookeeper2_3.3.4+dfsg1-2_amd64.deb
 9771108c2ff6e01d1b2e7b6424fdc942f43230de 61100 
libzookeeper-mt-dev_3.3.4+dfsg1-2_amd64.deb
 cf64fea46648fc7598d0fb99ad10b09c8fb0a32e 57618 
libzookeeper-st-dev_3.3.4+dfsg1-2_amd64.deb
 45f1dd1ec59f32424c58cc45614db450fa20d612 59586 
zookeeper-bin_3.3.4+dfsg1-2_amd64.deb
 81de3214f04bd799443451f16abc734b5bf8531d 43372 
python-zookeeper_3.3.4+dfsg1-2_amd64.deb
Checksums-Sha256: 
 155c0e5087766fe772a183be19fa57c3ca749c1845b3080e7e42f0120748c015 2865 
zookeeper_3.3.4+dfsg1-2.dsc
 0d80a793b103ff43f2d9bb33a61372a667d16549834f0c96362f37e508910201 25358 
zookeeper_3.3.4+dfsg1-2.debian.tar.gz
 5dab8adc051eeb99b122adfe5d227950c70a8d190b38706d7ae49e7b7525dac1 1141116 
libzookeeper-java_3.3.4+dfsg1-2_all.deb
 7464e78c990be892074ace6e8961b1a8ba0763a5b376e9f2ef42058f809779fb 106848 
zookeeper_3.3.4+dfsg1-2_all.deb
 531af0c1c12f82a3cea48a191edcf75fbd7c579eaec0777f2c81224ecc2b1419 3306 
zookeeperd_3.3.4+dfsg1-2_all.deb
 16259d00800ce2ee48114f222d56cb96c0ffcb8cddaa9fa128eaab5f498f0fcb 524568 
libzookeeper-java-doc_3.3.4+dfsg1-2_all.deb
 cadc6c90f825689d2e6a3042ac7a0e0855bb1a918714fed29cc6415b0c9fea56 63438 
libzookeeper-mt2_3.3.4+dfsg1-2_amd64.deb
 dffd1a223f5290716a9594dcba07db1aa3c61ce92b5a7b00cc95d06ffa24287e 60584 
libzookeeper-st2_3.3.4+dfsg1-2_amd64.deb
 8619e865a6c0d9e90b470d116d0404facecdd3c8d0540224ef6c888e06b46358 920 
libzookeeper2_3.3.4+dfsg1-2_amd64.deb
 53d24f9f6129ba70f44ff6f2b7375b7ddccebca168656d1f82a1f6f0a8101905 61100 
libzookeeper-mt-dev_3.3.4+dfsg1-2_amd64.deb
 55e7c82b169ba4e3499e9b5c0dd5a1b85d6b6f0944f4fd0746623610ca653385 57618 
libzookeeper-st-dev_3.3.4+dfsg1-2_amd64.deb
 a681368070583d15403718d2d25d98a0d69a6bf886256de39c3c2416e57d40dd 59586 
zookeeper-bin_3.3.4+dfsg1-2_amd64.deb
 d1ea656744354338000220f9456b50a0ec87151c38d57c3abd546293fc960474 43372 
python-zookeeper_3.3.4+dfsg1-2_amd64.deb
Files: 
 44a9bb1ee8ab8eed8f3250f6e0d0a3ec 2865 java optional zookeeper_3.3.4+dfsg1-2.dsc
 a2a88ee7df0121fb132948357c633e5b 25358 java optional 
zookeeper_3.3.4+dfsg1-2.debian.tar.gz
 ae43f283a4ab3320de80f60c1ec737fd 1141116 java optional 
libzookeeper-java_3.3.4+dfsg1-2_all.deb
 705ae8837d2d0fae4858aefa7792a589 106848 java optional 
zookeeper_3.3.4+dfsg1-2_all.deb
 a8df425e72deb685f855fa86b5c27b25 3306 java optional 
zookeeperd_3.3.4+dfsg1-2_all.deb
 c0ac82357682875af6cc58dff9af6917 524568 doc optional 
libzookeeper-java-doc_3.3.4+dfsg1-2_all.deb
 1673583c37a1025f6e13884cace77b8c 63438 libs optional 
libzookeeper-mt2_3.3.4+dfsg1-2_amd64.deb
 58bbf3044a586ed33dbf37c2690cc658 60584 libs optional 
libzookeeper-st2_3.3.4+dfsg1-2_amd64.deb
 9d9cd668a67150805e86a08d20ae8c87 920 oldlibs extra 
libzookeeper2_3.3.4+dfsg1-2_amd64.deb
 79625d1df645b833d89904109d30d0c4 61100 libdevel optional 
libzookeeper-mt-dev_3.3.4+dfsg1-2_amd64.deb
 a1a2e37785d06db1cc6a9f0e11e8a562 57618 libdevel optional 
libzookeeper-st-dev_3.3.4+dfsg1-2_amd64.deb
 31ee5d36fa0475f02ca59e9a248801b8 59586 misc optional 
zookeeper-bin_3.3.4+dfsg1-2_amd64.deb
 bdce3aa704e5ae9e5c0739f8fe23b3bd 43372 python optional 
python-zookeeper_3.3.4+dfsg1-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPBjvNAAoJEHXiDM0z50n8vJUP/jNkPUvwVw7467vZX3zzvXiT
/yZMSc6nXYFR5yQ+LohObosg1EwZNMKU0230PYstWDqniWMCqwoHeI7tZPHxVEt/
a8+KRox2bPVgo0AHajKj0rYwDMVeBX8bnNOLPJc2+gUQGdaOsKyCzPE49pQfGC3b
1kQles1F1Kg0wiveRfeUzOnRUflc2ZdmzA+/CHuoif8PxKoZMpQ4mPiQCLmEdKgo
PZO3bl8AhwE8/8EDLhFxq0yfebI93/ADAvyfP+/j/w+IGuJcax/gyRA3E26pMpK9
FS/p91O9PBzOHMF+c8ONopCKPAQ/txCB2kOxBkTJMYJeaqKUqi9E1C0ijWpWv0Bb
BwH/Lj5tvoPNtIEsNrPOTqr8k46jXJm3oZEvEVtMCwLvdZFjWgXC2AXo/tyuf8gU
sqRHenuRmBE5cQk/4P5qb2M3KGv5CgSbRExNCxfAXK7gVzTDIItOJwECRpRtguvx
Hn0gUBHkmbiu4sgpMx3CDm7Ku8TRoQuuUrIuS0t7WWjCaGWzLuPDQdhr0L8+rU9R
3AP4NMW7Dyxu4PjPCArEILb53sSbQlm1ATEnk3VzxRouUxqWgZ3MFm6y/1cM6foh
9twC3NkC+AbXUA7K7iuGjyJCw5B8NZxHQauZgxSuXv65W+ijunBN/LXUARcb3IYJ
siJTu65a6vt/hV3jzdqO
=d0NM
-----END PGP SIGNATURE-----



--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to