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

Mongo init.d scripts not working on ubuntu

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.0.7, 2.4.5
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
      ubuntu 11.10
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Linux

      Description

      Hi,

      I installed mongodb20-10gen and it installs fine and starts the service but the problem I am seeing is after it is installed the init.d/mongodb service script seems some what broken. The status script returns a fail even though the service is running. After investigating it seems something is storing the wrong pid in the pidfile causing the status to not work correctly. This also breaks the "stop" command. Updating the pidfile with the correct pid after doing a "ps aux" fixes things but this is not an ideal solution. It may be because something is being forked that the pid is being stored at the wrong time. Let me know if you need any other information. Please investigate.

      Thanks,
      Jay

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: