failed to start mongod on linux

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Triage
    • ALL
    • Hide

      i tried all the commands. but not helping me.
      sudo systemctl start mongod
       1965  sudo systemctl status mongod
       1966  sudo systemctl daemon-reload
       1967  sudo systemctl status mongod
       1968  sudo systemctl enable mongod
       1969  sudo systemctl status mongod
       1970  sudo systemctl enable mongod
       1971  sudo systemctl status mongod
       1972  sudo systemctl stop mongod
       1973  sudo systemctl restart mongod

       

       

      installed by these commands

       sudo apt-get install gnupg curl
       1957  curl fsSL https://www.mongodb.org/static/pgp/server-7.0.asc |    sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg    -dearmor
       1958  echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list

      Show
      i tried all the commands. but not helping me. sudo systemctl start mongod  1965  sudo systemctl status mongod  1966  sudo systemctl daemon-reload  1967  sudo systemctl status mongod  1968  sudo systemctl enable mongod  1969  sudo systemctl status mongod  1970  sudo systemctl enable mongod  1971  sudo systemctl status mongod  1972  sudo systemctl stop mongod  1973  sudo systemctl restart mongod     installed by these commands  sudo apt-get install gnupg curl  1957  curl fsSL https://www.mongodb.org/static/pgp/server-7.0.asc |    sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg     -dearmor  1958  echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      system hardware/software details

       

       uname -a
      Linux r61 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun  3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

      cat /etc/lsb-release
      DISTRIB_ID=Ubuntu
      DISTRIB_RELEASE=22.04
      DISTRIB_CODENAME=jammy
      DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"

      sudo service mongod status
      × mongod.service - MongoDB Database Server
           Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
           Active: failed (Result: core-dump) since Tue 2024-07-09 18:19:17 IST; 10min ago
             Docs: https://docs.mongodb.org/manual
          Process: 5110 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=dumped, signal=ILL)
         Main PID: 5110 (code=dumped, signal=ILL)
              CPU: 30ms

      Jul 09 18:19:16 r61 systemd[1]: Started MongoDB Database Server.
      Jul 09 18:19:17 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 09 18:19:17 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.

       

       

       

      journalctl -u mongod
      Jul 08 19:16:19 r61 systemd[1]: Started MongoDB Database Server.
      Jul 08 19:16:19 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 08 19:16:19 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      Jul 08 19:18:15 r61 systemd[1]: Started MongoDB Database Server.
      Jul 08 19:18:16 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 08 19:18:16 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      – Boot 1875573dfca04720add3ee6617efd1d4 –
      Jul 08 19:45:10 r61 systemd[1]: Started MongoDB Database Server.
      Jul 08 19:45:18 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 08 19:45:18 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      Jul 09 17:28:52 r61 systemd[1]: Started MongoDB Database Server.
      Jul 09 17:28:53 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 09 17:28:53 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      Jul 09 17:37:46 r61 systemd[1]: Started MongoDB Database Server.
      Jul 09 17:37:47 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 09 17:37:47 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      Jul 09 17:38:56 r61 systemd[1]: Started MongoDB Database Server.
      Jul 09 17:38:56 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 09 17:38:56 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      Jul 09 17:53:17 r61 systemd[1]: Started MongoDB Database Server.
      Jul 09 17:53:17 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 09 17:53:17 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      Jul 09 17:53:22 r61 systemd[1]: Started MongoDB Database Server.
      Jul 09 17:53:22 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 09 17:53:22 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.
      Jul 09 18:19:16 r61 systemd[1]: Started MongoDB Database Server.
      Jul 09 18:19:17 r61 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
      Jul 09 18:19:17 r61 systemd[1]: mongod.service: Failed with result 'core-dump'.

            Assignee:
            Unassigned
            Reporter:
            Manpreet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: