Bug#634484: /etc/mongodb.conf ignored
Hi Joep, * Joep van Delft meka...@xs4all.nl [2011-07-20 20:40] wrote: mongodb uses database /data/db despite database path being configured in /etc/mongodb.conf. Obviously, cannot connect to database with /usr/bin/mongo. Yeap, I can see, where the problem is. The init.d script is actually forcing the dbpath by running mongodb as /usr/bin/mongod --dbpath /var/lib/mongodb --logpath /var/log/mongodb/mongodb.log --config /etc/mongodb.conf run I have to dig a bit into history, but I think that this was actually added to prevent basic misconfigurations. This is definitely veritable in /etc/default. I'll describe it in README or take value from config file. Also, mysteriously, dpkg -L mongodb outputs only files in /usr/share/doc tree. Let me know if I should file another bug report for this (or, in what new way I am being an idiot here). This is actually correct behavior as the actual server resides in mongodb-server package: root@bob:~# dpkg -L mongodb-server | wc -l 27 root@bob:~# Cheers, Antonin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#634484: /etc/mongodb.conf ignored
Package: mongodb Version: 1:1.4.4-3 Severity: normal mongodb uses database /data/db despite database path being configured in /etc/mongodb.conf. Obviously, cannot connect to database with /usr/bin/mongo. Using mongod --config /etc/mongodb.conf, or mongod --dbpath DBPATH works as expected. Also, mysteriously, dpkg -L mongodb outputs only files in /usr/share/doc tree. Let me know if I should file another bug report for this (or, in what new way I am being an idiot here). -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (100, 'stable'), (80, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.36-2.dmz.5-liquorix-686 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mongodb depends on: ii mongodb-dev 1:1.4.4-3 An object/document-oriented databa ii mongodb-server1:1.4.4-3 An object/document-oriented databa mongodb recommends no packages. mongodb suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org