Your message dated Sun, 23 Feb 2020 22:22:57 +0000 with message-id <[email protected]> and subject line Bug#947743: Removed package(s) from unstable has caused the Debian Bug report #704778, regarding mongodb-server: dpkg fails with error when insufficent diskspace to start to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 704778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704778 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: mongodb-server Version: 1:2.4.1-2 Severity: normal Dear Maintainer, I attempted to install mongodb-server while having not much free diskspace. Here is a transcript: ---- hobbes@metalbaby:~$ sudo apt-get install mongodb-server Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: mongodb-clients The following NEW packages will be installed: mongodb-clients mongodb-server 0 upgraded, 2 newly installed, 0 to remove and 103 not upgraded. Need to get 50.5 MB of archives. After this operation, 130 MB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://ftp.us.debian.org/debian/ sid/main mongodb-clients amd64 1:2.4.1-2 [39.7 MB] Get:2 http://ftp.us.debian.org/debian/ sid/main mongodb-server amd64 1:2.4.1-2 [10.8 MB] Fetched 50.5 MB in 20s (2,524 kB/s) Selecting previously unselected package mongodb-clients. (Reading database ... 121809 files and directories currently installed.) Unpacking mongodb-clients (from .../mongodb-clients_1%3a2.4.1-2_amd64.deb) ... Selecting previously unselected package mongodb-server. Unpacking mongodb-server (from .../mongodb-server_1%3a2.4.1-2_amd64.deb) ... Processing triggers for man-db ... Setting up mongodb-clients (1:2.4.1-2) ... Setting up mongodb-server (1:2.4.1-2) ... Adding system user `mongodb' (UID 108) ... Adding new user `mongodb' (UID 108) with group `nogroup' ... Not creating home directory `/home/mongodb'. Adding group `mongodb' (GID 113) ... Done. Adding user `mongodb' to group `mongodb' ... Adding user mongodb to group mongodb Done. [FAIL] Starting database: mongodb failed! invoke-rc.d: initscript mongodb, action "start" failed. dpkg: error processing mongodb-server (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: mongodb-server E: Sub-process /usr/bin/dpkg returned an error code (1) ---- Now, I figure out why: ---- hobbes@metalbaby:~$ cat /var/log/mongodb/mongodb.log Fri Apr 5 12:02:18.598 [initandlisten] MongoDB starting : pid=30843 port=27017 dbpath=/var/lib/mongodb 64-bit host=metalbaby Fri Apr 5 12:02:18.598 [initandlisten] db version v2.4.1 Fri Apr 5 12:02:18.598 [initandlisten] git version: nogitversion Fri Apr 5 12:02:18.598 [initandlisten] build info: Linux bob 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 BOOST_LIB_VERSION=1_49 Fri Apr 5 12:02:18.598 [initandlisten] allocator: tcmalloc Fri Apr 5 12:02:18.598 [initandlisten] options: { bind_ip: "127.0.0.1", command: [ "run" ], config: "/etc/mongodb.conf", dbpath: "/var/lib/mongodb", journal: "true", logappend: "true", logpath: "/var/log/mongodb/mongodb.log", unixSocketPrefix: "/var/run/mongodb" } Fri Apr 5 12:02:18.615 [initandlisten] journal dir=/var/lib/mongodb/journal Fri Apr 5 12:02:18.615 [initandlisten] recover : no journal files present, no recovery needed Fri Apr 5 12:02:18.615 [initandlisten] Fri Apr 5 12:02:18.615 [initandlisten] ERROR: Insufficient free space for journal files Fri Apr 5 12:02:18.615 [initandlisten] Please make at least 3379MB available in /var/lib/mongodb/journal or use --smallfiles Fri Apr 5 12:02:18.615 [initandlisten] Fri Apr 5 12:02:18.615 [initandlisten] exception in initAndListen: 15926 Insufficient free space for journals, terminating Fri Apr 5 12:02:18.615 dbexit: Fri Apr 5 12:02:18.615 [initandlisten] shutdown: going to close listening sockets... Fri Apr 5 12:02:18.615 [initandlisten] shutdown: going to flush diaglog... Fri Apr 5 12:02:18.615 [initandlisten] shutdown: going to close sockets... Fri Apr 5 12:02:18.616 [initandlisten] shutdown: waiting for fs preallocator... Fri Apr 5 12:02:18.616 [initandlisten] shutdown: lock for final commit... Fri Apr 5 12:02:18.616 [initandlisten] shutdown: final commit... Fri Apr 5 12:02:18.616 [initandlisten] shutdown: closing all files... Fri Apr 5 12:02:18.616 [initandlisten] closeAllFiles() finished Fri Apr 5 12:02:18.616 [initandlisten] journalCleanup... Fri Apr 5 12:02:18.616 [initandlisten] removeJournalFiles Fri Apr 5 12:02:18.617 [initandlisten] shutdown: removing fs lock... Fri Apr 5 12:02:18.617 dbexit: really exiting now ---- So, then I clear up some disk space and run "sudo apt-get install" and mongodb-server becomes properly installed, configured, and started. Great! So I'd recommend maybe changing the logic that starts the server to not break the package installation if the server fails to start. I am under the impression that many different things could cause the server to fail to start (ports in use, disk space as seen above, etc.) Hope this helps! Cheers, --Dave ...default output from reportbug(1) follows... -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mongodb-server depends on: ii adduser 3.113+nmu3 ii libc6 2.13-38 ii libgcc1 1:4.7.2-5 ii libstdc++6 4.7.2-5 ii mongodb-clients 1:2.4.1-2 mongodb-server recommends no packages. mongodb-server suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 1:3.4.18-2+rm Dear submitter, as the package mongodb has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/947743 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---

