[SERVER-14844] 2.6.4 Debian 7 configuration errors Created: 09/Aug/14  Updated: 10/Dec/14  Resolved: 12/Aug/14

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Patrick Perroud Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 3.2 x86/64
Debian 7 wheezy distribution


Issue Links:
Duplicate
duplicates SERVER-14786 Mongodb installation on debian Closed
Operating System: Linux
Steps To Reproduce:

deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen

Participants:

 Description   

Depedency problems: "Package mongodb-org-server is not configured yet".
Mongo shell works but how do I know about server usability if it was not installed properly? See below:

  1. apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be upgraded:
    mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
    5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 115 MB of archives.
    After this operation, 736 kB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Get:1 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-org-shell amd64 2.6.4 [4,457 kB]
    Get:2 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-org-server amd64 2.6.4 [9,440 kB]
    Get:3 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-org-mongos amd64 2.6.4 [7,171 kB]
    Get:4 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-org-tools amd64 2.6.4 [93.6 MB]
    Get:5 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-org amd64 2.6.4 [3,648 B]
    Fetched 115 MB in 28s (3,995 kB/s)
    (Reading database ... 33091 files and directories currently installed.)
    Preparing to replace mongodb-org-shell 2.6.3 (using .../mongodb-org-shell_2.6.4_amd64.deb) ...
    Unpacking replacement mongodb-org-shell ...
    Preparing to replace mongodb-org-server 2.6.3 (using .../mongodb-org-server_2.6.4_amd64.deb) ...
    [ ok ] Stopping database: mongod apparently not running.
    Unpacking replacement mongodb-org-server ...
    Preparing to replace mongodb-org-mongos 2.6.3 (using .../mongodb-org-mongos_2.6.4_amd64.deb) ...
    Unpacking replacement mongodb-org-mongos ...
    Preparing to replace mongodb-org-tools 2.6.3 (using .../mongodb-org-tools_2.6.4_amd64.deb) ...
    Unpacking replacement mongodb-org-tools ...
    Preparing to replace mongodb-org 2.6.3 (using .../mongodb-org_2.6.4_amd64.deb) ...
    arg: upgrade
    Unpacking replacement mongodb-org ...
    Processing triggers for man-db ...
    Setting up mongodb-org-shell (2.6.4) ...
    Setting up mongodb-org-server (2.6.4) ...
    Installing new version of config file /etc/mongod.conf ...
    [FAIL] Starting database: mongod failed!
    invoke-rc.d: initscript mongod, action "start" failed.
    dpkg: error processing mongodb-org-server (--configure):
    subprocess installed post-installation script returned error exit status 1
    Setting up mongodb-org-mongos (2.6.4) ...
    Setting up mongodb-org-tools (2.6.4) ...
    dpkg: dependency problems prevent configuration of mongodb-org:
    mongodb-org depends on mongodb-org-server; however:
    Package mongodb-org-server is not configured yet.


 Comments   
Comment by Ramon Fernandez Marina [ 12/Aug/14 ]

Closing this issue as a duplicate of SERVER-14786.

Comment by Patrick Perroud [ 09/Aug/14 ]

(the end of the error trace)

dpkg: error processing mongodb-org (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mongodb-org-server
mongodb-org
E: Sub-process /usr/bin/dpkg returned an error code (1)

Generated at Thu Feb 08 03:36:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.