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

unable to start server after installation on centos6(erlang crash)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.0
    • 3.0
    • installer, ns_server
    • Security Level: Public
    • None
    • 3.0.0-653
    • Untriaged
    • Unknown

    Description

      [root@cen-1602 tmp]# rpm -i couchbase-server-community_centos6_x86_64_3.0.0-653-rel.rpm
      Minimum RAM required : 4 GB
      System RAM configured : 3.74 GB

      Minimum number of processors required : 4 cores
      Number of processors on the system : 4 cores

      Starting couchbase-server[ OK ]

      You have successfully installed Couchbase Server.
      Please browse to http://cen-1602:8091/ to configure your server.
      Please refer to http://couchbase.com for additional resources.

      Please note that you have to update your firewall configuration to
      allow connections to the following ports: 11211, 11210, 11209, 4369,
      8091, 8092 and from 21100 to 21299.

      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.

      [root@cen-1602 tmp]# /etc/init.d/couchbase-server status
      couchbase-server is not running
      [root@cen-1602 tmp]# /etc/init.d/couchbase-server start
      Starting couchbase-server^[[A [ OK ]
      [root@cen-1602 tmp]# /etc/init.d/couchbase-server status
      couchbase-server is not running

      [ns_server:info,2014-05-07T3:37:15.503,nonode@nohost:dist_manager<0.277.0>:dist_manager:read_address_config_from_path:83]Reading ip config from "/opt/couchbase/var/lib/couchbase/ip_start"
      [ns_server:info,2014-05-07T3:37:15.504,nonode@nohost:dist_manager<0.277.0>:dist_manager:read_address_config_from_path:83]Reading ip config from "/opt/couchbase/var/lib/couchbase/ip"
      [ns_server:info,2014-05-07T3:37:15.504,nonode@nohost:dist_manager<0.277.0>:dist_manager:init:159]ip config not found. Looks like we're brand new node
      [error_logger:info,2014-05-07T3:37:15.505,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================PROGRESS REPORT=========================
      supervisor:

      {local,inet_gethost_native_sup}

      started: [

      {pid,<0.279.0>}

      ,{mfa,{inet_gethost_native,init,[[]]}}]

      [error_logger:info,2014-05-07T3:37:15.505,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================PROGRESS REPORT=========================
      supervisor:

      {local,kernel_safe_sup}

      started: [

      {pid,<0.278.0>}

      ,

      {name,inet_gethost_native_sup}

      ,
      {mfargs,{inet_gethost_native,start_link,[]}},

      {restart_type,temporary}

      ,

      {shutdown,1000},
      {child_type,worker}]

      [ns_server:info,2014-05-07T3:37:15.517,nonode@nohost:dist_manager<0.277.0>:dist_manager:bringup:225]Attempting to bring up net_kernel with name 'ns_1@127.0.0.1'
      [error_logger:error,2014-05-07T3:37:18.526,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================CRASH REPORT=========================
      crasher:
      initial call: dist_manager:init/1
      pid: <0.277.0>
      registered_name: []
      exception exit: badmatch,{error,address,
      [{dist_manager,is_free_nodename,1},
      {dist_manager,wait_for_nodename,2},
      {dist_manager,bringup,2},
      {dist_manager,init,1},
      {gen_server,init_it,6},
      {proc_lib,init_p_do_apply,3}]}
      in function gen_server:init_it/6
      ancestors: [ns_server_cluster_sup,<0.59.0>]
      messages: []
      links: [<0.173.0>]
      dictionary: []
      trap_exit: false
      status: running
      heap_size: 1597
      stack_size: 24
      reductions: 3859
      neighbours:

      [error_logger:error,2014-05-07T3:37:18.526,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================SUPERVISOR REPORT=========================
      Supervisor: {local,ns_server_cluster_sup}
      Context: start_error
      Reason: badmatch,{error,address,
      [{dist_manager,is_free_nodename,1},
      {dist_manager,wait_for_nodename,2},
      {dist_manager,bringup,2},
      {dist_manager,init,1},
      {gen_server,init_it,6},
      {proc_lib,init_p_do_apply,3}]}
      Offender: [{pid,undefined},
      {name,dist_manager},
      {mfargs,{dist_manager,start_link,[]}},
      {restart_type,permanent},
      {shutdown,1000}

      ,

      {child_type,worker}

      ]

      [error_logger:info,2014-05-07T3:37:18.527,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================INFO REPORT=========================
      application: ns_server
      exited: {shutdown,{ns_server,start,[normal,[]]}}
      type: permanent

      [error_logger:error,2014-05-07T3:37:18.527,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================CRASH REPORT=========================
      crasher:
      initial call: couch_file:spawn_writer/2
      pid: <0.237.0>
      registered_name: []
      exception exit: {noproc,
      {gen_server,call,
      [couch_file_write_guard,

      {remove,<0.237.0>}

      ,
      infinity]}}
      in function gen_server:call/3
      in call from couch_file:writer_loop/4
      ancestors: [<0.235.0>,couch_server,couch_primary_services,
      couch_server_sup,cb_couch_sup,ns_server_cluster_sup,
      <0.59.0>]
      messages: []
      links: []
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 377
      stack_size: 24
      reductions: 652
      neighbours:

      [error_logger:error,2014-05-07T3:37:18.527,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]** Generic server <0.238.0> terminating

        • Last message in was {'EXIT',<0.224.0>,killed}
        • When Server state == {db,<0.238.0>,<0.239.0>,nil,<<"1399459035333907">>,
          <0.235.0>,<0.240.0>,
          {db_header,11,1, <<0,0,0,0,13,103,0,0,0,0,0,51,0,0,0,0,1,0,0,0, 0,0,0,0,0,0,13,69>>, <<0,0,0,0,13,154,0,0,0,0,0,49,0,0,0,0,1>>, nil,0,nil,nil}

          ,
          1,

          Unknown macro: {btree,<0.235.0>, {3431, <<0,0,0,0,1,0,0,0,0,0,0,0,0,0,13,69>>, 51}, #Fun<couch_db_updater.7.67590787>, #Fun<couch_db_updater.8.42281793>, #Fun<couch_btree.1.34546481>, #Fun<couch_db_updater.9.53950798>,1279,2558, true}

          ,

          Unknown macro: {btree,<0.235.0>, {3482,<<0,0,0,0,1>>,49}, #Fun<couch_db_updater.10.116730991>, #Fun<couch_db_updater.11.18253466>, #Fun<couch_db_updater.6.36261938>, #Fun<couch_db_updater.12.31105373>,1279,2558, true}

          ,

          {btree,<0.235.0>,nil,identity,identity, #Fun<couch_btree.1.34546481>,nil,1279,2558, true}

          ,
          1,<<"_users">>,
          "/opt/couchbase/var/lib/couchbase/data/_users.couch.1",
          [],nil,

          {user_ctx,null,[],undefined}

          ,
          nil,
          [before_header,after_header,on_file_open],
          [{user_ctx,
          {user_ctx,null,[<<"_admin">>],undefined}},
          sys_db]}

        • Reason for termination ==
        • killed

      [error_logger:error,2014-05-07T3:37:18.528,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================CRASH REPORT=========================
      crasher:
      initial call: couch_db:init/1
      pid: <0.238.0>
      registered_name: []
      exception exit: killed
      in function gen_server:terminate/6
      ancestors: [couch_server,couch_primary_services,couch_server_sup,
      cb_couch_sup,ns_server_cluster_sup,<0.59.0>]
      messages: []
      links: []
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 610
      stack_size: 24
      reductions: 230
      neighbours:

      [ns_server:info,2014-05-07T3:37:21.847,nonode@nohost:<0.59.0>:ns_server:init_logging:248]Started & configured logging
      [ns_server:info,2014-05-07T3:37:21.851,nonode@nohost:<0.59.0>:ns_server:log_pending:30]Static config terms:
      [

      {error_logger_mf_dir,"/opt/couchbase/var/lib/couchbase/logs"}

      ,

      {error_logger_mf_maxbytes,10485760}

      ,

      {error_logger_mf_maxfiles,20}

      ,

      {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"}

      ,

      {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}

      ]
      [ns_server:warn,2014-05-07T3:37:21.851,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter error_logger_mf_dir, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.851,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter error_logger_mf_maxbytes, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.851,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter error_logger_mf_maxfiles, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter path_config_bindir, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter path_config_etcdir, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter path_config_libdir, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter path_config_datadir, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter path_config_tmpdir, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter nodefile, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_default, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_couchdb, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_ns_server, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_error_logger, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.852,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_user, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_menelaus, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_ns_doctor, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_stats, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_rebalance, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_cluster, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_views, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_mapreduce_errors, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_xdcr, which is given from command line
      [ns_server:warn,2014-05-07T3:37:21.853,nonode@nohost:<0.59.0>:ns_server:log_pending:30]not overriding parameter loglevel_xdcr_trace, which is given from command line
      [error_logger:info,2014-05-07T3:37:21.895,nonode@nohost:error_logger<0.6.0>:ale_error_logger_handler:do_log:207]
      =========================PROGRESS REPORT=========================

      ["<?xml version=\"1.0\" encoding=\"UTF-8\"?>","<manifest>",
      " <remote name=\"couchbase\" fetch=\"git://github.com/couchbase/\"/>",
      " <remote name=\"membase\" fetch=\"git://github.com/membase/\"/>",
      " <remote name=\"erlang\" fetch=\"git://github.com/erlang/\"/>",
      " <default remote=\"couchbase\" revision=\"master\"/>",
      " <project name=\"couchbase-cli\" path=\"couchbase-cli\" revision=\"95545a0b239295c481d9f62d29d588c853401810\"/>",
      " <project name=\"couchbase-examples\" path=\"couchbase-examples\" revision=\"f8fe3567bcec2c55ebd9aba3e652f11307b69ddc\"/>",
      " <project name=\"couchbase-python-client\" path=\"couchbase-python-client\" revision=\"ba49b75d4bbb02ff6dbac314ad0944d14809cdd5\"/>",
      " <project name=\"couchdb\" path=\"couchdb\" revision=\"8ec4fd6a7c091ff26b49b3dccdb1d964b55f0923\"/>",
      " <project name=\"couchdbx-app\" path=\"couchdbx-app\" revision=\"a575171f942835dda02e73d151abb0b671ca98de\"/>",
      " <project name=\"couchstore\" path=\"couchstore\" revision=\"38a4c08ac628f98637a11e0ffd18df3b693faf48\"/>",
      " <project name=\"ep-engine\" path=\"ep-engine\" revision=\"48c65cba318d261569836c75a642fd2a3fa3e6b8\"/>",
      " <project name=\"geocouch\" path=\"geocouch\" revision=\"78873365fda50fa23055ef7a0782e31aaac1e101\"/>",
      " <project name=\"healthchecker\" path=\"healthchecker\" revision=\"1ee71ca6a46e2a8cb096ae98f3bcb948402add9e\"/>",
      " <project name=\"memcached\" path=\"memcached\" revision=\"10efd82e74d07e1a78264478b5d065c829962e55\"",
      " remote=\"membase\"/>",
      " <project name=\"moxi\" path=\"moxi\" revision=\"2f74397cb28b93192db947c7ab9a3bc6bda0443b\"/>",
      " <project name=\"ns_server\" path=\"ns_server\" revision=\"b553fb77adfcc55f25741c02e403056ba17025bb\"/>",
      " <project name=\"platform\" path=\"platform\" revision=\"0367eff7984f75ac67565a78c505a4beb5215af4\"/>",
      " <project name=\"sigar\" path=\"sigar\" revision=\"bfecbe715d4192bec29ada814ca300ed681c2cf5\"/>",
      " <project name=\"testrunner\" path=\"testrunner\" revision=\"eb5e2ccb599af51aac73399b1446b77f33225727\"/>",
      " <project name=\"tlm\" path=\"tlm\" revision=\"5b8fc77f3f063702cb7e165b2a2e6948b311d1ee\">",
      " <copyfile src='GNUmakefile' dest='GNUmakefile'/>",
      " <copyfile src='Makefile' dest='Makefile'/>",
      " <copyfile src='CMakeLists.txt' dest='CMakeLists.txt'/>"," </project>",
      " <project name=\"otp\" path=\"otp\" revision=\"b6dc1a844eab061d0a7153d46e7e68296f15a504\"",
      " remote=\"erlang\"/>",
      " <project name=\"icu4c\" path=\"icu4c\" revision=\"26359393672c378f41f2103a8699c4357c894be7\"",
      " remote=\"couchbase\"/>",
      " <project name=\"snappy\" path=\"snappy\" revision=\"009c4325f40e04700ca7956e866ad342f020e214\"",
      " remote=\"couchbase\"/>",
      " <project name=\"gperftools\" path=\"gperftools\" revision=\"674fcd94a8a0a3595f64e13762ba3a6529e09926\"",
      " remote=\"couchbase\"/>",
      " <project name=\"pysqlite\" path=\"pysqlite\" revision=\"0ff6e32ea05037fddef1eb41a648f2a2141009ea\"",
      " remote=\"couchbase\"/>",
      " <project name=\"v8\" path=\"v8\" revision=\"05120013843918f7e3712159c03b509d3e328cf7\"",
      " remote=\"couchbase\"/>",
      " <project name=\"gyp\" path=\"v8/build/gyp\" revision=\"7c819b84a9a9484154d7584b7795f607e3178b3f\"",
      " remote=\"couchbase\"/>",
      " <project name=\"icu46\" path=\"v8/third_party/icu\" revision=\"73170776491a3e38f68ab0367f3121256a3cc289\"",
      " remote=\"couchbase\"/>"," <!--",
      " <project name=\"voltron\" path=\"voltron\" revision=\"d6f3004e23d0df000549aeb8d74d3f63369160ba\" />",
      " --></manifest>"]

      Attachments

        For Gerrit Dashboard: MB-11063
        # Subject Branch Project Status CR V

        Activity

          People

            andreibaranouski Andrei Baranouski
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty