<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sun May 26 02:10:02 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-7254/MB-7254.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-7254] error when launch cbdump-config or ebucketmigrator : /usr/bin/env: escript: No such file or directory </title>
                <link>http://www.couchbase.com/issues/browse/MB-7254</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>[&lt;a href=&apos;mailto:root@cen-2708&apos;&gt;root@cen-2708&lt;/a&gt; bin]# /opt/couchbase/bin/cbdump-config /opt/couchbase/var/lib/couchbase/config/config.dat&lt;br/&gt;
/usr/bin/env: escript: No such file or directory&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@cen-2708&apos;&gt;root@cen-2708&lt;/a&gt; bin]# ./ebucketmigrator &lt;br/&gt;
/usr/bin/env: escript: No such file or directory&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="20915">MB-7254</key>
            <summary>error when launch cbdump-config or ebucketmigrator : /usr/bin/env: escript: No such file or directory </summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="bcui">Bin Cui</assignee>
                                <reporter username="andreibaranouski">Andrei Baranouski</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Nov 2012 11:28:57 -0600</created>
                <updated>Thu, 3 Jan 2013 12:21:26 -0600</updated>
                    <resolved>Thu, 29 Nov 2012 16:00:43 -0600</resolved>
                            <version>2.0</version>
                                <fixVersion>2.0</fixVersion>
                                <component>tools</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44678" author="andreibaranouski" created="Thu, 22 Nov 2012 11:35:18 -0600"  >I guess usage section also should be updated&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
%% Examples:&lt;br/&gt;
%%   linux:&lt;br/&gt;
%%     ./bin/cbdump_config.escript var/lib/couchbase/config/config.dat&lt;br/&gt;
%%   windows:&lt;br/&gt;
%%     bin\erlang\escript bin\cbdump_config.escript var\lib\couchbase\config\config.dat&lt;br/&gt;
%%&lt;br/&gt;
%% Example of dumping info for a particular node...&lt;br/&gt;
%%   cbdump_config.escript config.dat node &lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;&lt;br/&gt;
%%&lt;br/&gt;
%% Example of dumping buckets names of type membase...&lt;br/&gt;
%%   cbdump_config.escript config.dat buckets membase&lt;br/&gt;
&lt;br/&gt;
./cbdump_config.escript: No such file or directory&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="44700" author="farshid" created="Fri, 23 Nov 2012 17:41:30 -0600"  >this script is i think invoked by cbcollect info</comment>
                    <comment id="44709" author="andreibaranouski" created="Sat, 24 Nov 2012 06:43:02 -0600"  >yes, the same error is in test logs:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
2012-11-21 01:30:23,451 - root - ERROR - memcached stats warmup (cbstats -a 127.0.0.1:11210 warmup -b _admin -p _admin) -  OK&lt;br/&gt;
2012-11-21 01:30:23,451 - root - ERROR - couchbase design docs - bucket:default (couch_dbdump &amp;quot;/opt/couchbase/var/lib/couchbase/data/default/master.couch.1&amp;quot;) -  OK&lt;br/&gt;
&lt;br/&gt;
escript: Failed to open file: cbdump-config&lt;br/&gt;
uname (uname -a) -  OK&lt;br/&gt;
Directory structure (ls -lR &amp;#39;/opt/couchbase&amp;#39; /opt/membase /var/membase /etc/opt/membase) -  Exit code 2</comment>
                    <comment id="44747" author="bcui" created="Mon, 26 Nov 2012 13:20:57 -0600"  >Root cause of the bug is reported on &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7225&quot; title=&quot;[system test] rebalance failed with erorr &amp;quot;wait_checkpoint_persisted_failed&amp;quot; due to sync_shutdown_many_i_am_trapping_exits&quot;&gt;MB-7225&lt;/a&gt; and also on Mb-7242: We change the current bin directory to a different one when extracting database_dir field from ini files.&lt;br/&gt;
&lt;br/&gt;
Fix is under &lt;a href=&quot;http://review.couchbase.org/#/c/22826/&quot;&gt;http://review.couchbase.org/#/c/22826/&lt;/a&gt;</comment>
                    <comment id="44929" author="andreibaranouski" created="Wed, 28 Nov 2012 09:56:21 -0600"  >build 1967, it&amp;#39;s still reproduced:&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@cen-2708&apos;&gt;root@cen-2708&lt;/a&gt; bin]# ./cbdump-config &lt;br/&gt;
/usr/bin/env: escript: No such file or directory&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
the issue is in directive of the scripts:&lt;br/&gt;
#!/usr/bin/env escript&lt;br/&gt;
&lt;br/&gt;
&amp;#39;escript&amp;#39; doesn&amp;#39;t exist in PATH&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@cen-2708&apos;&gt;root@cen-2708&lt;/a&gt; bin]# /usr/bin/env&lt;br/&gt;
HOSTNAME=cen-2708&lt;br/&gt;
TERM=xterm&lt;br/&gt;
SHELL=/bin/bash&lt;br/&gt;
HISTSIZE=1000&lt;br/&gt;
SSH_CLIENT=10.32.18.165 46385 22&lt;br/&gt;
OLDPWD=/opt/couchbase&lt;br/&gt;
SSH_TTY=/dev/pts/0&lt;br/&gt;
USER=root&lt;br/&gt;
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:&lt;br/&gt;
MAIL=/var/spool/mail/root&lt;br/&gt;
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin&lt;br/&gt;
INPUTRC=/etc/inputrc&lt;br/&gt;
PWD=/opt/couchbase/bin&lt;br/&gt;
LANG=en_US.UTF-8&lt;br/&gt;
SHLVL=1&lt;br/&gt;
HOME=/root&lt;br/&gt;
LOGNAME=root&lt;br/&gt;
SSH_CONNECTION=10.32.18.165 46385 10.3.121.63 22&lt;br/&gt;
LESSOPEN=|/usr/bin/lesspipe.sh %s&lt;br/&gt;
G_BROKEN_FILENAMES=1&lt;br/&gt;
_=/usr/bin/env&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@cen-2708&apos;&gt;root@cen-2708&lt;/a&gt; bin]# whereis escript &lt;br/&gt;
escript: /opt/couchbase/bin/escript&lt;br/&gt;
&lt;br/&gt;
Also note that the description is not accurate. see above&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="44939" author="bcui" created="Wed, 28 Nov 2012 12:14:32 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22887/&quot;&gt;http://review.couchbase.org/#/c/22887/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/22888/&quot;&gt;http://review.couchbase.org/#/c/22888/&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="44950" author="andreibaranouski" created="Wed, 28 Nov 2012 13:30:21 -0600"  >directive for ebucketmigrator also should be updated</comment>
                    <comment id="45038" author="steve" created="Thu, 29 Nov 2012 16:00:43 -0600"  >pushed through gerrit</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 23 Nov 2012 17:41:30 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3507</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>