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

mongod service fails to start if log and data directories do not exist for Debian

    • Server Development Platform
    • ALL
    • Hide

      The steps are given for community but enterprise should be same except different repo.

      Install community packages for Debian from the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/
      sudo service mongod stop
      sudo mv /var/log/mongodb /var/log/mongodb.bak
      sudo mv /var/lib/mongodb /var/lib/mongodb.bak
      sudo service mongod start

      mongod fails to start.

      Show
      The steps are given for community but enterprise should be same except different repo. Install community packages for Debian from the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/ sudo service mongod stop sudo mv /var/log/mongodb /var/log/mongodb.bak sudo mv /var/lib/mongodb /var/lib/mongodb.bak sudo service mongod start mongod fails to start.

      The use case is mentioned in SERVER-9985, where mongod service fails to start if log and data directories do not exist for Debian.

      The issue is for sysvinit init script for Debian.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            jalpa.trivedi@mongodb.com Jalpa Trivedi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: