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

On changing to user-defined ports, the sample bucket is going into a pending state and is unusable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 4.5.1
    • 4.5.1
    • documentation
    • None
    • 4.5.1, Single Node, Sample Bucket with user defined ports.
    • Untriaged
    • Unknown

    Description

      I am trying to set user-defined ports on a single node instance.

      Following instructions from http://developer.couchbase.com/documentation/server/current/install/install-ports.html

      1. Stop existing Couchbase server on the node
      2. Add the new user-defined ports to the /opt/couchbase/etc/couchbase/static_config file

        {rest_port, 9000}.                                   
        {mccouch_port, 8999}.                         
        {memcached_port, 12000}.
        {memcached_dedicated_port, 11999}.
        {moxi_port, 12001}.
        {short_name, "ns_1"}.
        {ssl_rest_port,11000}.                       
        {ssl_capi_port,11001}.
        {ssl_proxy_downstream_port,11002}.
        {ssl_proxy_upstream_port,11003}.
        

      3. delete the opt/couchbase/var/lib/couchbase/config/config.dat file to remove the old configuration
      4. start couchbase server back

      I setup the node which comes up as a fresh install and create a sample bucket - beer-sample on this node.

      Attached screenshots - I see this node is in pending state with a number of errors like below

      Compactor for view `beer-sample/_design/beer` (pid [{type,view},
                                                          {name,
                                                           <<"beer-sample/_design/beer">>},
                                                          {important,false},
                                                          {fa,
                                                           {#Fun<compaction_new_daemon.25.102846360>,
                                                            [<<"beer-sample">>,
                                                             <<"_design/beer">>,
                                                             {config,
                                                              {30,undefined},
                                                              {30,undefined},
                                                              undefined,false,false,
                                                              {daemon_config,30,
                                                               131072,20971520}},
                                                             false,
                                                             {[{type,bucket}]}]}}]) terminated unexpectedly (ignoring this): {badmatch,
                                                                                                                              {error,
                                                                                                                               {error,
                                                                                                                                {dcp_socket_connect_failed,
                                                                                                                                 econnrefused}}}
      

      Is there something missing in the above node port changes? Do I need to make any additional changes?

      Attachments

        Issue Links

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

          Activity

            People

              anil Anil Kumar (Inactive)
              ketaki Ketaki Gangal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty