In [4]:
python --version


Python 3.6.1

wrong version need to switch to python2


In [6]:
#switch to python2
cd /tmp
virtualenv -p /usr/bin/python2 env
source /tmp/env/bin/activate
/usr/bin/env python --version


Running virtualenv with interpreter /usr/bin/python2
New python executable in env/bin/python2
Also creating executable in env/bin/python
Installing setuptools, pip...done.
(env)Python 2.7.9
(env)


In [7]:
/opt/couchbase/bin/couchbase-cli


couchbase-cli - command-line cluster administration tool

CLUSTER:
  --cluster=HOST[:PORT] or -c HOST[:PORT]

OPTIONS:
  -u USERNAME, --user=USERNAME      admin username of the cluster
  -p PASSWORD, --password=PASSWORD  admin password of the cluster
  -o KIND, --output=KIND            KIND is json or standard
  -d, --debug
  -s, --ssl                         uses SSL for communication with secure servers

NOTE:
  USERNAME can be set in environment variable CB_REST_USERNAME and/or
  PASSWORD can be set in environment variable CB_REST_PASSWORD instead

usage: couchbase-cli COMMAND CLUSTER [OPTIONS]

COMMANDs include
  admin-role-manage     set access-control roles for users
  bucket-compact        compact database and index data
  bucket-create         add a new bucket to the cluster
  bucket-delete         delete an existing bucket
  bucket-edit           modify an existing bucket
  bucket-flush          flush all data from disk for a given bucket
  bucket-list           list all buckets in a cluster
  cluster-edit          modify cluster settings
  cluster-init          set the username,password and port of the cluster
  collect-logs-start    start a cluster-wide log collection
  collect-logs-status   show the status of cluster-wide log collection
  collect-logs-stop     stop a cluster-wide log collection
  failover              failover one or more servers
  group-manage          manage server groups
  help                  show longer usage/help and examples
  node-init             set node specific parameters
  rebalance             start a cluster rebalancing
  rebalance-status      show status of current cluster rebalancing
  rebalance-stop        stop current cluster rebalancing
  recovery              recover one or more servers
  server-add            add one or more servers to the cluster
  server-info           show details on one server
  server-list           list all servers in a cluster
  server-readd          readd a server that was failed over
  setting-alert         set email alert settings
  setting-audit         set audit settings
  setting-autofailover  set auto failover settings
  setting-cluster       set cluster settings
  setting-compaction    set auto compaction settings
  setting-index         set index settings
  setting-ldap          set ldap settings
  setting-notification  set notification settings
  setting-xdcr          set xdcr related settings
  ssl-manage            manage cluster certificate
  user-manage           manage read only user
  xdcr-replicate        xdcr operations
  xdcr-setup            set up XDCR connection

(env)


In [9]:
#setting the environment. Adapt to your own
export clusterIP="172.17.0.2"
export CB_REST_USERNAME="Administrator"
export CB_REST_PASSWORD="R2F-PJw-uVm-w9z"


(env)(env)(env)(env)


In [8]:
/opt/couchbase/bin/couchbase-cli server-list -c $clusterIP -u $CB_REST_USERNAME -p $CB_REST_PASSWORD


ns_1@172.17.0.2 172.17.0.2:8091 healthy active
ns_1@172.17.0.3 172.17.0.3:8091 healthy active
ns_1@172.17.0.4 172.17.0.4:8091 healthy active
(env)


In [9]:
/opt/couchbase/bin/couchbase-cli bucket-list -c $clusterIP


beer-sample
 bucketType: membase
 authType: sasl
 saslPassword: 
 numReplicas: 1
 ramQuota: 314572800
 ramUsed: 106578952
(env)


In [10]:
/opt/couchbase/bin/cbbackup http://$clusterIP /tmp/backup-full


  [####################] 100.0% (7304/estimated 7304 msgs)

bucket: beer-sample, msgs transferred...
       :                total |       last |    per sec
 byte  :              2541597 |    2541597 |  1171709.4
done
(env)


In [11]:
ls -ailh /tmp/backup-full


total 12K
44640 drwxr-xr-x 3 root root 4.0K Jul 26 17:14 .
 3347 drwxrwxrwt 4 root root 4.0K Jul 26 17:14 ..
44643 drwxr-xr-x 3 root root 4.0K Jul 26 17:14 2017-07-26T171454Z
(env)


In [15]:
ls /opt/couchbase/var/lib/couchbase/logs


babysitter.log	http_access.log		  metakv.log	  views.log
couchdb.log	http_access_internal.log  ns_couchdb.log  xdcr.log
debug.log	info.log		  reports.log	  xdcr_errors.log
error.log	mapreduce_errors.log	  start.log	  xdcr_trace.log
goxdcr.log	memcached.log.000000.txt  stats.log
(env)


In [17]:
cat /opt/couchbase/var/lib/couchbase/logs/babysitter.log


[ns_server:info,2017-07-26T16:45:23.018Z,babysitter_of_ns_1@127.0.0.1:<0.55.0>:ns_babysitter:init_logging:105]Brought up babysitter logging
[ns_server:info,2017-07-26T16:45:23.022Z,babysitter_of_ns_1@127.0.0.1:<0.55.0>:ns_babysitter:log_pending:70]Static config terms:
[{error_logger_mf_dir,"/opt/couchbase/var/lib/couchbase/logs"},
 {path_config_bindir,"/opt/couchbase/bin"},
 {path_config_etcdir,"/opt/couchbase/etc/couchbase"},
 {path_config_libdir,"/opt/couchbase/lib"},
 {path_config_datadir,"/opt/couchbase/var/lib/couchbase"},
 {path_config_tmpdir,"/opt/couchbase/var/lib/couchbase/tmp"},
 {path_config_secdir,"/opt/couchbase/etc/security"},
 {nodefile,"/opt/couchbase/var/lib/couchbase/couchbase-server.node"},
 {loglevel_default,debug},
 {loglevel_couchdb,info},
 {loglevel_ns_server,debug},
 {loglevel_error_logger,debug},
 {loglevel_user,debug},
 {loglevel_menelaus,debug},
 {loglevel_ns_doctor,debug},
 {loglevel_stats,debug},
 {loglevel_rebalance,debug},
 {loglevel_cluster,debug},
 {loglevel_views,debug},
 {loglevel_mapreduce_errors,debug},
 {loglevel_xdcr,debug},
 {loglevel_xdcr_trace,error},
 {loglevel_access,info},
 {disk_sink_opts,
     [{rotation,
          [{compress,true},
           {size,41943040},
           {num_files,10},
           {buffer_size_max,52428800}]}]},
 {disk_sink_opts_xdcr_trace,
     [{rotation,[{compress,false},{size,83886080},{num_files,5}]}]},
 {net_kernel_verbosity,10}]
[ns_server:debug,2017-07-26T16:45:23.024Z,babysitter_of_ns_1@127.0.0.1:<0.55.0>:dist_manager:configure_net_kernel:255]Set net_kernel vebosity to 10 -> 0
[ns_server:info,2017-07-26T16:45:23.026Z,babysitter_of_ns_1@127.0.0.1:<0.55.0>:ns_babysitter:start:54]babysitter cookie: aqvxplsbghhbanen

[ns_server:info,2017-07-26T16:45:23.031Z,babysitter_of_ns_1@127.0.0.1:<0.55.0>:ns_babysitter:start:58]Saved babysitter cookie to /opt/couchbase/var/lib/couchbase/couchbase-server.cookie
[ns_server:info,2017-07-26T16:45:23.038Z,babysitter_of_ns_1@127.0.0.1:ns_crash_log<0.63.0>:ns_crash_log:init:43]crash_log path: /opt/couchbase/var/lib/couchbase/logs/crash_log_v2.bin
[ns_server:warn,2017-07-26T16:45:23.038Z,babysitter_of_ns_1@127.0.0.1:ns_crash_log<0.63.0>:ns_crash_log:read_crash_log:135]Couldn't load crash_log from /opt/couchbase/var/lib/couchbase/logs/crash_log_v2.bin (perhaps it's first startup): {error,
                                                                                                                   enoent}
[error_logger:info,2017-07-26T16:45:23.038Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ns_babysitter_sup}
             started: [{pid,<0.63.0>},
                       {name,ns_crash_log},
                       {mfargs,{ns_crash_log,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,1000},
                       {child_type,worker}]

[ns_server:debug,2017-07-26T16:45:23.062Z,babysitter_of_ns_1@127.0.0.1:<0.66.0>:supervisor_cushion:init:39]starting ns_port_server with delay of 5000
[ns_server:debug,2017-07-26T16:45:23.069Z,babysitter_of_ns_1@127.0.0.1:<0.65.0>:restartable:start_child:98]Started child process <0.66.0>
  MFA: {supervisor_cushion,start_link,
                           [ns_server,5000,infinity,ns_port_server,start_link,
                            [#Fun<ns_child_ports_sup.2.49698737>]]}
[error_logger:info,2017-07-26T16:45:23.070Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,child_ns_server_sup}
             started: [{pid,<0.65.0>},
                       {name,
                           {ns_server,"/opt/couchbase/lib/erlang/bin/erl",
                               ["+A","16","-smp","enable","+sbt","u","+P",
                                "327680","+K","true","+swt","low","+MMmcs",
                                "30","+e102400","-setcookie","nocookie",
                                "-kernel","inet_dist_listen_min","21100",
                                "inet_dist_listen_max","21299","error_logger",
                                "false","-sasl","sasl_error_logger","false",
                                "-nouser","-run","child_erlang","child_start",
                                "ns_bootstrap","--","-smp","enable",
                                "-couch_ini",
                                "/opt/couchbase/etc/couchdb/default.ini",
                                "/opt/couchbase/etc/couchdb/default.d/capi.ini",
                                "/opt/couchbase/etc/couchdb/default.d/geocouch.ini",
                                "/opt/couchbase/etc/couchdb/local.ini"],
                               [{env,
                                    [{"NS_SERVER_BABYSITTER_COOKIE",
                                      "aqvxplsbghhbanen"},
                                     {"CHILD_ERLANG_ENV_ARGS",
                                      "[{kernel,\n     [{inet_dist_listen_min,21100},\n      {inet_dist_listen_max,21299},\n      {included_applications,[]},\n      {error_logger,false},\n      {global_enable_tracing,true}]},\n {sasl,\n     [{errlog_type,all},{included_applications,[]},{sasl_error_logger,false}]},\n {ns_babysitter,\n     [{included_applications,[]},\n      {cookiefile,\n          \"/opt/couchbase/var/lib/couchbase/couchbase-server.cookie\"}]},\n {ns_server,\n     [{pidfile,\"/opt/couchbase/var/lib/couchbase/couchbase-server.pid\"},\n      {max_t,10},\n      {cookiefile,\n          \"/opt/couchbase/var/lib/couchbase/couchbase-server.cookie-ns-server\"},\n      {included_applications,[]},\n      {loglevel_cluster,debug},\n      {path_config_libdir,\"/opt/couchbase/lib\"},\n      {path_config_tmpdir,\"/opt/couchbase/var/lib/couchbase/tmp\"},\n      {loglevel_ns_server,debug},\n      {loglevel_access,info},\n      {enable_mlockall,false},\n      {loglevel_error_logger,debug},\n      {loglevel_xdcr,debug},\n      {path_config_secdir,\"/opt/couchbase/etc/security\"},\n      {loglevel_mapreduce_errors,debug},\n      {loglevel_ns_doctor,debug},\n      {loglevel_default,debug},\n      {disk_sink_opts_xdcr_trace,\n          [{rotation,[{compress,false},{size,83886080},{num_files,5}]}]},\n      {loglevel_stats,debug},\n      {config_path,\"/opt/couchbase/etc/couchbase/static_config\"},\n      {loglevel_user,debug},\n      {error_logger_mf_dir,\"/opt/couchbase/var/lib/couchbase/logs\"},\n      {path_config_etcdir,\"/opt/couchbase/etc/couchbase\"},\n      {nodefile,\"/opt/couchbase/var/lib/couchbase/couchbase-server.node\"},\n      {path_config_bindir,\"/opt/couchbase/bin\"},\n      {net_kernel_verbosity,10},\n      {max_r,20},\n      {loglevel_rebalance,debug},\n      {loglevel_menelaus,debug},\n      {disk_sink_opts,\n          [{rotation,\n               [{compress,true},\n                {size,41943040},\n                {num_files,10},\n                {buffer_size_max,52428800}]}]},\n      {loglevel_views,debug},\n      {path_config_datadir,\"/opt/couchbase/var/lib/couchbase\"},\n      {loglevel_xdcr_trace,error},\n      {loglevel_couchdb,info}]}]"},
                                     {"ERL_CRASH_DUMP",
                                      "erl_crash.dump.1501087521.111.ns_server"}]},
                                exit_status,use_stdio,stream,eof]}},
                       {mfargs,
                           {restartable,start_link,
                               [{supervisor_cushion,start_link,
                                    [ns_server,5000,infinity,ns_port_server,
                                     start_link,
                                     [#Fun<ns_child_ports_sup.2.49698737>]]},
                                86400000]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,worker}]

[error_logger:info,2017-07-26T16:45:23.070Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ns_babysitter_sup}
             started: [{pid,<0.64.0>},
                       {name,child_ns_server_sup},
                       {mfargs,{child_ns_server_sup,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

[error_logger:info,2017-07-26T16:45:23.070Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ns_babysitter_sup}
             started: [{pid,<0.68.0>},
                       {name,ns_child_ports_sup},
                       {mfargs,{ns_child_ports_sup,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

[error_logger:info,2017-07-26T16:45:23.072Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ns_babysitter_sup}
             started: [{pid,<0.69.0>},
                       {name,ns_ports_manager},
                       {mfargs,{ns_ports_manager,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,1000},
                       {child_type,worker}]

[error_logger:info,2017-07-26T16:45:23.072Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
         application: ns_babysitter
          started_at: 'babysitter_of_ns_1@127.0.0.1'

[ns_server:info,2017-07-26T16:45:23.072Z,babysitter_of_ns_1@127.0.0.1:<0.2.0>:ns_babysitter_bootstrap:start:12]157: babysitter has started
[error_logger:info,2017-07-26T16:45:27.134Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,kernel_safe_sup}
             started: [{pid,<0.72.0>},
                       {name,timer2_server},
                       {mfargs,{timer2,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,1000},
                       {child_type,worker}]

[ns_server:info,2017-07-26T16:45:27.335Z,babysitter_of_ns_1@127.0.0.1:<0.67.0>:ns_port_server:log:210]ns_server<0.67.0>: working as port

[ns_server:debug,2017-07-26T16:45:28.379Z,babysitter_of_ns_1@127.0.0.1:ns_ports_manager<0.69.0>:ns_ports_manager:handle_call:88]New list of children is received: [memcached,saslauthd_port]
[ns_server:info,2017-07-26T16:45:28.379Z,babysitter_of_ns_1@127.0.0.1:ns_ports_manager<0.69.0>:ns_child_ports_sup:launch_port:83]supervising port: {memcached,"/opt/couchbase/bin/memcached",
                             ["-C",
                              "/opt/couchbase/var/lib/couchbase/config/memcached.json"],
                             [{env,[{"EVENT_NOSELECT","1"},
                                    {"MEMCACHED_TOP_KEYS","5"},
                                    {"ISASL_PWFILE",
                                     "/opt/couchbase/var/lib/couchbase/isasl.pw"}]},
                              use_stdio,stderr_to_stdout,exit_status,
                              port_server_dont_start,stream]}
[ns_server:debug,2017-07-26T16:45:28.379Z,babysitter_of_ns_1@127.0.0.1:<0.74.0>:supervisor_cushion:init:39]starting ns_port_server with delay of 5000
[ns_server:debug,2017-07-26T16:45:28.379Z,babysitter_of_ns_1@127.0.0.1:<0.73.0>:restartable:start_child:98]Started child process <0.74.0>
  MFA: {supervisor_cushion,start_link,
                           [memcached,5000,infinity,ns_port_server,start_link,
                            [#Fun<ns_child_ports_sup.2.49698737>]]}
[ns_server:info,2017-07-26T16:45:28.380Z,babysitter_of_ns_1@127.0.0.1:ns_ports_manager<0.69.0>:ns_child_ports_sup:launch_port:83]supervising port: {saslauthd_port,"/opt/couchbase/bin/saslauthd-port",[],
                      [use_stdio,exit_status,stderr_to_stdout,stream,
                       {env,
                           [{"GOTRACEBACK","crash"},
                            {"CBAUTH_REVRPC_URL",
                             "http://%40:4edf28506fd589b20ebee1aeb82c2187@127.0.0.1:8091/saslauthd"}]}]}
[ns_server:debug,2017-07-26T16:45:28.380Z,babysitter_of_ns_1@127.0.0.1:<0.77.0>:supervisor_cushion:init:39]starting ns_port_server with delay of 5000
[error_logger:info,2017-07-26T16:45:28.380Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ns_child_ports_sup}
             started: [{pid,<0.73.0>},
                       {name,
                           {memcached,"/opt/couchbase/bin/memcached",
                               ["-C",
                                "/opt/couchbase/var/lib/couchbase/config/memcached.json"],
                               [{env,
                                    [{"EVENT_NOSELECT","1"},
                                     {"MEMCACHED_TOP_KEYS","5"},
                                     {"ISASL_PWFILE",
                                      "/opt/couchbase/var/lib/couchbase/isasl.pw"}]},
                                use_stdio,stderr_to_stdout,exit_status,
                                port_server_dont_start,stream]}},
                       {mfargs,
                           {restartable,start_link,
                               [{supervisor_cushion,start_link,
                                    [memcached,5000,infinity,ns_port_server,
                                     start_link,
                                     [#Fun<ns_child_ports_sup.2.49698737>]]},
                                86400000]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,worker}]

[ns_server:debug,2017-07-26T16:45:28.380Z,babysitter_of_ns_1@127.0.0.1:<0.76.0>:restartable:start_child:98]Started child process <0.77.0>
  MFA: {supervisor_cushion,start_link,
                           [saslauthd_port,5000,infinity,ns_port_server,
                            start_link,
                            [#Fun<ns_child_ports_sup.2.49698737>]]}
[error_logger:info,2017-07-26T16:45:28.380Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ns_child_ports_sup}
             started: [{pid,<0.76.0>},
                       {name,
                           {saslauthd_port,
                               "/opt/couchbase/bin/saslauthd-port",[],
                               [use_stdio,exit_status,stderr_to_stdout,stream,
                                {env,
                                    [{"GOTRACEBACK","crash"},
                                     {"CBAUTH_REVRPC_URL",
                                      "http://%40:4edf28506fd589b20ebee1aeb82c2187@127.0.0.1:8091/saslauthd"}]}]}},
                       {mfargs,
                           {restartable,start_link,
                               [{supervisor_cushion,start_link,
                                    [saslauthd_port,5000,infinity,
                                     ns_port_server,start_link,
                                     [#Fun<ns_child_ports_sup.2.49698737>]]},
                                86400000]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,worker}]

[ns_server:info,2017-07-26T16:45:28.685Z,babysitter_of_ns_1@127.0.0.1:<0.75.0>:ns_port_server:log:210]memcached<0.75.0>: set_mempolicy: Operation not permitted
memcached<0.75.0>: Setting SSL minimum protocol to: tlsv1
memcached<0.75.0>: 2017-07-26T16:45:28.506674Z NOTICE Couchbase version 4.5.1-2844 starting.
memcached<0.75.0>: 2017-07-26T16:45:28.506913Z NOTICE NUMA: Set memory allocation policy to 'interleave'.
memcached<0.75.0>: 2017-07-26T16:45:28.506924Z WARNING Restarting file logging
memcached<0.75.0>: 2017-07-26T16:45:28.602030Z NOTICE Create bucket with engine: Disconnect engine v1.0.
memcached<0.75.0>: 2017-07-26T16:45:28.625504Z NOTICE Enable management port(s)
memcached<0.75.0>: 2017-07-26T16:45:28.625542Z NOTICE Enable user port(s)
memcached<0.75.0>: 2017-07-26T16:45:28.626550Z NOTICE 36 Listen on 0.0.0.0:11210
memcached<0.75.0>: 2017-07-26T16:45:28.628199Z NOTICE 37 Listen on [::]:11210
memcached<0.75.0>: 2017-07-26T16:45:28.628409Z NOTICE 38 Listen on 0.0.0.0:11209
memcached<0.75.0>: 2017-07-26T16:45:28.628457Z NOTICE 39 Listen on [::]:11209
memcached<0.75.0>: 2017-07-26T16:45:28.628639Z NOTICE Initialization complete. Accepting clients.

[ns_server:debug,2017-07-26T16:45:28.723Z,babysitter_of_ns_1@127.0.0.1:ns_ports_manager<0.69.0>:ns_ports_manager:handle_call:88]New list of children is received: [memcached,saslauthd_port,goxdcr]
[ns_server:info,2017-07-26T16:45:28.723Z,babysitter_of_ns_1@127.0.0.1:ns_ports_manager<0.69.0>:ns_child_ports_sup:launch_port:83]supervising port: {goxdcr,"/opt/couchbase/bin/goport",[],
                          [use_stdio,exit_status,stderr_to_stdout,stream,
                           {log,"goxdcr.log"},
                           {env,[{"GOPORT_ARGS",
                                  "[\"/opt/couchbase/bin/goxdcr\",\"-sourceKVAdminPort=8091\",\"-xdcrRestPort=9998\",\"-isEnterprise=false\"]"},
                                 {"GOTRACEBACK","crash"},
                                 {"CBAUTH_REVRPC_URL",
                                  "http://%40:4edf28506fd589b20ebee1aeb82c2187@127.0.0.1:8091/goxdcr"}]}]}
[ns_server:debug,2017-07-26T16:45:28.723Z,babysitter_of_ns_1@127.0.0.1:<0.80.0>:supervisor_cushion:init:39]starting ns_port_server with delay of 5000
[error_logger:info,2017-07-26T16:45:28.729Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ale_dynamic_sup}
             started: [{pid,<0.82.0>},
                       {name,'sink-goxdcr'},
                       {mfargs,
                           {ale_disk_sink,start_link,
                               ['sink-goxdcr',
                                "/opt/couchbase/var/lib/couchbase/logs/goxdcr.log",
                                [{rotation,
                                     [{compress,true},
                                      {size,41943040},
                                      {num_files,10},
                                      {buffer_size_max,52428800}]}]]}},
                       {restart_type,permanent},
                       {shutdown,5000},
                       {child_type,worker}]

[ns_server:debug,2017-07-26T16:45:28.784Z,babysitter_of_ns_1@127.0.0.1:<0.79.0>:restartable:start_child:98]Started child process <0.80.0>
  MFA: {supervisor_cushion,start_link,
                           [goxdcr,5000,infinity,ns_port_server,start_link,
                            [#Fun<ns_child_ports_sup.2.49698737>]]}
[error_logger:info,2017-07-26T16:45:28.784Z,babysitter_of_ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do_log:203]
=========================PROGRESS REPORT=========================
          supervisor: {local,ns_child_ports_sup}
             started: [{pid,<0.79.0>},
                       {name,
                           {goxdcr,"/opt/couchbase/bin/goport",[],
                               [use_stdio,exit_status,stderr_to_stdout,stream,
                                {log,"goxdcr.log"},
                                {env,
                                    [{"GOPORT_ARGS",
                                      "[\"/opt/couchbase/bin/goxdcr\",\"-sourceKVAdminPort=8091\",\"-xdcrRestPort=9998\",\"-isEnterprise=false\"]"},
                                     {"GOTRACEBACK","crash"},
                                     {"CBAUTH_REVRPC_URL",
                                      "http://%40:4edf28506fd589b20ebee1aeb82c2187@127.0.0.1:8091/goxdcr"}]}]}},
                       {mfargs,
                           {restartable,start_link,
                               [{supervisor_cushion,start_link,
                                    [goxdcr,5000,infinity,ns_port_server,
                                     start_link,
                                     [#Fun<ns_child_ports_sup.2.49698737>]]},
                                86400000]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,worker}]

[ns_server:info,2017-07-26T16:45:28.912Z,babysitter_of_ns_1@127.0.0.1:<0.67.0>:ns_port_server:log:210]ns_server<0.67.0>: 181: Booted. Waiting for shutdown request

(env)


In [ ]: