Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9322

mongod failed to start on FreeBSD 9.x

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.4.1
    • None
    • OS: FreeBSD 9.0-RELEASE-p4/amd64
    • FreeBSD
    • Hide

      % cd /usr/ports/databases/mongodb
      % make config install clean
      % echo 'mongod_enable="YES"' >>/etc/rc.conf
      % /usr/local/etc/rc.d/mongod start

      Show
      % cd /usr/ports/databases/mongodb % make config install clean % echo 'mongod_enable="YES"' >>/etc/rc.conf % /usr/local/etc/rc.d/mongod start

    Description

      mongod failed to start.

      Symptoms:

      % /usr/local/etc/rc.d/mongod start
      Starting mongod.
      about to fork child process, waiting until server is ready for connections.
      forked process: 47523
      Thu Apr 11 12:03:50.167 terminate() called, printing stack (if implemented for platform):
      Thu Apr 11 12:03:50.168 Invalid access at address: 0x802c82fb5 from thread:
       
      Thu Apr 11 12:03:50.182 Got signal: 10 (Bus error: 10).
       
      Thu Apr 11 12:03:50.183 Backtrace:
      0x5959fc 0x5960ad 0x8035d457e
       0x5959fc <_ZN5mongo10abruptQuitEi+988> at /usr/local/bin/mongod
       0x5960ad <_ZN5mongo24abruptQuitWithAddrSignalEiP9__siginfoPv+669> at /usr/local/bin/mongod
       0x8035d457e <_pthread_sigmask+718> at /lib/libthr.so.3
       
      ERROR: child process failed, exited with error number 14
      /usr/local/etc/rc.d/mongod: WARNING: failed to start mongod

      User:

      % id mongodb
      uid=922(mongodb) gid=922(mongodb) groups=922(mongodb)

      Db directory:

      % ls /var/db |grep mongodb
      drwxr-xr-x   2 mongodb   mongodb    512  4 авг  2012 mongodb/

      Dependencies:

      % ldd /usr/local/bin/mongod
      /usr/local/bin/mongod:
              libv8.so => /usr/local/lib/libv8.so (0x801349000)
              libsnappy.so.2 => /usr/local/lib/libsnappy.so.2 (0x801c0e000)
              libpcre.so.3 => /usr/local/lib/libpcre.so.3 (0x801e14000)
              libpcrecpp.so.0 => /usr/local/lib/libpcrecpp.so.0 (0x802072000)
              libkvm.so.5 => /lib/libkvm.so.5 (0x80227b000)
              libssl.so.6 => /usr/lib/libssl.so.6 (0x802484000)
              libcrypto.so.6 => /lib/libcrypto.so.6 (0x8026d7000)
              librt.so.1 => /usr/lib/librt.so.1 (0x802a77000)
              libexecinfo.so.1 => /usr/local/lib/libexecinfo.so.1 (0x802c7c000)
              libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x802e8a000)
              libm.so.5 => /lib/libm.so.5 (0x80319a000)
              libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8033bb000)
              libthr.so.3 => /lib/libthr.so.3 (0x8035c8000)
              libc.so.7 => /lib/libc.so.7 (0x8037eb000)

      Packages:

      % pkg_info -r mongodb-2.4.1
      Information for mongodb-2.4.1:
       
      Depends on:
      Dependency: pcre-8.32
      Dependency: libexecinfo-1.1_3
      Dependency: libiconv-1.14_1
      Dependency: gettext-0.18.1.1_1
      Dependency: python27-2.7.3_6
      Dependency: v8-3.17.9
      Dependency: snappy-1.1.0

      Attachments

        Activity

          People

            Unassigned Unassigned
            chim Anton Gerasimov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: