Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-4994

cbbrowse_logs does not run on MacOS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.0-beta
    • 2.0-developer-preview-4
    • tools
    • Security Level: Public
    • None
    • MacOS X

    Description

      I had an occasion to try to run cbbrowse_logs and find that it does not run properly. I have no doubt this could be due to spaces in the path (a poor excuse), so I peeked into the shell script to see about fixing it.

      It's filled with cruft from it's build environment that has NO place at all on my install.

      For example:

      #!/bin/sh

      1. Copyright (c) 2011, Couchbase, Inc.
      2. All rights reserved.

      PATH="/Users/buildbot/mini64/couchdbxapp-2.0.0dp4_mini64/build/install/bin":$PATH
      export PATH

      ERL_LIBS="/Users/buildbot/mini64/couchdbxapp-2.0.0dp4_mini64/build/install/lib/couchdb/erlang/lib:/Users/buildbot/mini64/couchdbxapp-2.0.0dp4_mini64/build/install/lib/ns_server/erlang/lib"
      export ERL_LIBS

      if [ x"$1" != "x" ]
      then
      extra_args="-log $1"
      fi

      exec erl -pa ebin -noshell -run ns_log_browser \
      -report_dir "/Users/buildbot/mini64/couchdbxapp-2.0.0dp4_mini64/build/install/var/lib/couchbase/logs" ${extra_args} \
      -run init stop – "$@"

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            farshid Farshid Ghods (Inactive)
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty