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

Illegal option supplied to couchbase-server command tries to start the server and lands user in erlang shell

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Came across this while verifying MB-38890:

      [nonroot@node1-mad-hatter-testing-centos7 bin]$ ./couchbase-server --s
      ./couchbase-server: illegal option -- -
       
      The maximum number of processes for the couchbase user is set too low (4096).
      It must be at least 10000.
       
      Normally this can be increased by adding the following lines to
      /etc/security/limits.conf:
       
      couchbase              soft    nproc                  <value>
      couchbase              hard    nproc                  <value>
       
      Where <value> is greater than 10000. The procedure may be totally
      different if you're running so called "non-root/non-sudo install" or
      if you've built Couchbase Server from source.
       
       
      The maximum number of open files for the couchbase user is set too low (1024).
      It must be at least 70000.
       
      Normally this can be increased by adding the following lines to
      /etc/security/limits.conf:
       
      couchbase              soft    nofile                  <value>
      couchbase              hard    nofile                  <value>
       
      Where <value> is greater than 70000. The procedure may be totally
      different if you're running so called "non-root/non-sudo install" or
      if you've built Couchbase Server from source.
       
      Erlang/OTP 20 [erts-9.3.3.9] [source-e321575] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:16] [kernel-poll:false]
       
      Eshell V9.3.3.9  (abort with ^G)
      (babysitter_of_ns_1@cb.local)1>
      

      Expected: ./couchbase-server: illegal option – - and exit gracefully

      Attachments

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

        Activity

          People

            sam.cramer Sam Cramer (Inactive)
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty